Test duration : 44.686s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.605s |
2023-10-27 23:00:17 |
2023-10-27 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-27 23:00:17 | ------------------------------------ 2023-10-27 23:00:17 | [Mutex] isItemNotified: node_dnvq2v0208:exists :: false 2023-10-27 23:00:17 | [Mutex] waiting for: [node_dnvq2v0208:create_node] 2023-10-27 23:00:17 | [Mutex] waiting for: [node_dnvq2v0208:create_node] 2023-10-27 23:00:17 | [Mutex] received everything. 2023-10-27 23:00:17 | [Mutex] isItemNotified: node_dnvq2v0208:create_node:success :: true 2023-10-27 23:00:17 | [Mutex] waiting for: [node_dnvq2v0208:subscribe_node] 2023-10-27 23:00:17 | [Mutex] waiting for: [node_dnvq2v0208:subscribe_node] 2023-10-27 23:00:17 | [Mutex] received everything. 2023-10-27 23:00:17 | [Mutex] isItemNotified: node_dnvq2v0208:subscribe_node:success :: true 2023-10-27 23:00:17 | ===== publishing normal message (to online) 2023-10-27 23:00:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:00:17 | command: <data><node>node_dnvq2v0208</node><entry><content>content_xjkmo00209</content></entry></data> 2023-10-27 23:00:17 | target: http://localhost:8088 2023-10-27 23:00:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-27 23:00:17 | entity: <data><node>node_dnvq2v0208</node><entry><content>content_xjkmo00209</content></entry></data> 2023-10-27 23:00:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:00:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:00:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4e70860d-6e24-4339-8cf9-84c4a2cceef2</value></item-id></result> 2023-10-27 23:00:17 | contains: true 2023-10-27 23:00:17 | [Mutex] waiting for: [user_regularncd71f0207@test-domain.com:message:received:content_xjkmo00209] 2023-10-27 23:00:17 | [Mutex] received everything. 2023-10-27 23:00:17 | [Mutex] isItemNotified: user_regularncd71f0207@test-domain.com:message:received:content_xjkmo00209 :: true 2023-10-27 23:00:17 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-27 23:00:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:00:17 | command: <data><node>node_dnvq2v0208</node><expire-at>2023-10-28T06:00:12Z</expire-at><entry><content>content_tiz08v0210</content></entry></data> 2023-10-27 23:00:17 | target: http://localhost:8088 2023-10-27 23:00:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-27 23:00:17 | entity: <data><node>node_dnvq2v0208</node><expire-at>2023-10-28T06:00:12Z</expire-at><entry><content>content_tiz08v0210</content></entry></data> 2023-10-27 23:00:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:00:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:00:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3b232611-f577-400b-8748-b99653ea21e4</value></item-id></result> 2023-10-27 23:00:17 | contains: true 2023-10-27 23:00:17 | [Mutex] waiting for: [user_regularncd71f0207@test-domain.com:message:received:content_tiz08v0210] 2023-10-27 23:00:32 | [Mutex] timeout. Not received [user_regularncd71f0207@test-domain.com:message:received:content_tiz08v0210] 2023-10-27 23:00:32 | [Mutex] isItemNotified: user_regularncd71f0207@test-domain.com:message:received:content_tiz08v0210 :: false 2023-10-27 23:00:32 | ===== publishing normal message (to offline) 2023-10-27 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:00:32 | command: <data><node>node_dnvq2v0208</node><entry><content>content_yq2h510211</content></entry></data> 2023-10-27 23:00:32 | target: http://localhost:8088 2023-10-27 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-27 23:00:32 | entity: <data><node>node_dnvq2v0208</node><entry><content>content_yq2h510211</content></entry></data> 2023-10-27 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fd7549d6-8316-42a2-ae30-01a635cdc1fc</value></item-id></result> 2023-10-27 23:00:32 | contains: true 2023-10-27 23:00:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-27 23:00:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-27 23:00:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-27 23:00:37 | [Mutex] received everything. 2023-10-27 23:00:37 | [Mutex] isItemNotified: user_regularncd71f0207@test-domain.com:message:received:content_yq2h510211 :: true 2023-10-27 23:00:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-27 23:00:37 | [Mutex] received everything. 2023-10-27 23:00:37 | [Mutex] isItemNotified: node_dnvq2v0208:subscribe_node:success :: true 2023-10-27 23:00:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:00:37 | command: <data><node>node_dnvq2v0208</node><expire-at>2023-10-28T06:00:42Z</expire-at><entry><content>content_pmukly0212</content></entry></data> 2023-10-27 23:00:37 | target: http://localhost:8088 2023-10-27 23:00:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-27 23:00:37 | entity: <data><node>node_dnvq2v0208</node><expire-at>2023-10-28T06:00:42Z</expire-at><entry><content>content_pmukly0212</content></entry></data> 2023-10-27 23:00:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:00:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:00:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6dd45d7-b4dd-4f37-93ed-6db715b6bc5c</value></item-id></result> 2023-10-27 23:00:37 | contains: true 2023-10-27 23:00:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-27 23:00:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-27 23:00:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-27 23:00:45 | [Mutex] waiting for: [user_regularncd71f0207@test-domain.com:message:received:content_pmukly0212] 2023-10-27 23:01:00 | [Mutex] timeout. Not received [user_regularncd71f0207@test-domain.com:message:received:content_pmukly0212] 2023-10-27 23:01:00 | [Mutex] received everything. 2023-10-27 23:01:00 | [Mutex] isItemNotified: user_regularncd71f0207@test-domain.com:message:received:content_pmukly0212 :: false 2023-10-27 23:01:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pmukly0212 :: true |