Test duration : 44.680s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2022-07-05 22:32:11 |
2022-07-05 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-05 22:32:11 | ------------------------------------ 2022-07-05 22:32:11 | [Mutex] isItemNotified: node_8r2lxr0204:exists :: false 2022-07-05 22:32:11 | [Mutex] waiting for: [node_8r2lxr0204:create_node] 2022-07-05 22:32:11 | [Mutex] received everything. 2022-07-05 22:32:11 | [Mutex] isItemNotified: node_8r2lxr0204:create_node:success :: true 2022-07-05 22:32:11 | [Mutex] waiting for: [node_8r2lxr0204:subscribe_node] 2022-07-05 22:32:11 | [Mutex] received everything. 2022-07-05 22:32:11 | [Mutex] isItemNotified: node_8r2lxr0204:subscribe_node:success :: true 2022-07-05 22:32:11 | ===== publishing normal message (to online) 2022-07-05 22:32:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 22:32:11 | command: <data><node>node_8r2lxr0204</node><entry><content>content_lny0ku0205</content></entry></data> 2022-07-05 22:32:11 | target: http://localhost:8088 2022-07-05 22:32:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-05 22:32:11 | entity: <data><node>node_8r2lxr0204</node><entry><content>content_lny0ku0205</content></entry></data> 2022-07-05 22:32:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 05:32:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 22:32:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc921644-0524-4402-ad34-807751980d3c</value></item-id></result> 2022-07-05 22:32:12 | contains: true 2022-07-05 22:32:12 | [Mutex] received everything. 2022-07-05 22:32:12 | [Mutex] isItemNotified: user_regulartz5n640203@test-domain.com:message:received:content_lny0ku0205 :: true 2022-07-05 22:32:12 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-05 22:32:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 22:32:12 | command: <data><node>node_8r2lxr0204</node><expire-at>2022-07-06T05:32:07Z</expire-at><entry><content>content_9bbmh70206</content></entry></data> 2022-07-05 22:32:12 | target: http://localhost:8088 2022-07-05 22:32:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-05 22:32:12 | entity: <data><node>node_8r2lxr0204</node><expire-at>2022-07-06T05:32:07Z</expire-at><entry><content>content_9bbmh70206</content></entry></data> 2022-07-05 22:32:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 05:32:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 22:32:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a158ba7-aee0-4a9d-a759-1147184bb48a</value></item-id></result> 2022-07-05 22:32:12 | contains: true 2022-07-05 22:32:12 | [Mutex] waiting for: [user_regulartz5n640203@test-domain.com:message:received:content_9bbmh70206] 2022-07-05 22:32:27 | [Mutex] timeout. Not received [user_regulartz5n640203@test-domain.com:message:received:content_9bbmh70206] 2022-07-05 22:32:27 | [Mutex] isItemNotified: user_regulartz5n640203@test-domain.com:message:received:content_9bbmh70206 :: false 2022-07-05 22:32:27 | ===== publishing normal message (to offline) 2022-07-05 22:32:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 22:32:27 | command: <data><node>node_8r2lxr0204</node><entry><content>content_ncyu100207</content></entry></data> 2022-07-05 22:32:27 | target: http://localhost:8088 2022-07-05 22:32:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-05 22:32:27 | entity: <data><node>node_8r2lxr0204</node><entry><content>content_ncyu100207</content></entry></data> 2022-07-05 22:32:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 05:32:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 22:32:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d52c6a3e-e1c4-46e6-978d-4b004f1d22d5</value></item-id></result> 2022-07-05 22:32:27 | contains: true 2022-07-05 22:32:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-05 22:32:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-05 22:32:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-05 22:32:32 | [Mutex] waiting for: [user_regulartz5n640203@test-domain.com:message:received:content_ncyu100207] 2022-07-05 22:32:32 | [Mutex] received everything. 2022-07-05 22:32:32 | [Mutex] isItemNotified: user_regulartz5n640203@test-domain.com:message:received:content_ncyu100207 :: true 2022-07-05 22:32:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-05 22:32:32 | [Mutex] received everything. 2022-07-05 22:32:32 | [Mutex] isItemNotified: node_8r2lxr0204:subscribe_node:success :: true 2022-07-05 22:32:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 22:32:32 | command: <data><node>node_8r2lxr0204</node><expire-at>2022-07-06T05:32:37Z</expire-at><entry><content>content_7kbc1f0208</content></entry></data> 2022-07-05 22:32:32 | target: http://localhost:8088 2022-07-05 22:32:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-05 22:32:32 | entity: <data><node>node_8r2lxr0204</node><expire-at>2022-07-06T05:32:37Z</expire-at><entry><content>content_7kbc1f0208</content></entry></data> 2022-07-05 22:32:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 05:32:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 22:32:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>428cfbbe-866e-4e25-bfe1-b96c25e7bcf0</value></item-id></result> 2022-07-05 22:32:32 | contains: true 2022-07-05 22:32:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-05 22:32:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-05 22:32:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-05 22:32:40 | [Mutex] waiting for: [user_regulartz5n640203@test-domain.com:message:received:content_7kbc1f0208] 2022-07-05 22:32:40 | [Mutex] waiting for: [user_regulartz5n640203@test-domain.com:message:received:content_7kbc1f0208] 2022-07-05 22:32:40 | [Mutex] waiting for: [user_regulartz5n640203@test-domain.com:message:received:content_7kbc1f0208] 2022-07-05 22:32:55 | [Mutex] timeout. Not received [user_regulartz5n640203@test-domain.com:message:received:content_7kbc1f0208] 2022-07-05 22:32:55 | [Mutex] received everything. 2022-07-05 22:32:55 | [Mutex] isItemNotified: user_regulartz5n640203@test-domain.com:message:received:content_7kbc1f0208 :: false 2022-07-05 22:32:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7kbc1f0208 :: true |