Test duration : 44.454s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.538s |
2022-09-26 22:35:11 |
2022-09-26 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-26 22:35:11 | ------------------------------------ 2022-09-26 22:35:11 | [Mutex] isItemNotified: node_j3hshd0204:exists :: false 2022-09-26 22:35:11 | [Mutex] waiting for: [node_j3hshd0204:create_node] 2022-09-26 22:35:11 | [Mutex] received everything. 2022-09-26 22:35:11 | [Mutex] isItemNotified: node_j3hshd0204:create_node:success :: true 2022-09-26 22:35:11 | [Mutex] waiting for: [node_j3hshd0204:subscribe_node] 2022-09-26 22:35:11 | [Mutex] received everything. 2022-09-26 22:35:11 | [Mutex] isItemNotified: node_j3hshd0204:subscribe_node:success :: true 2022-09-26 22:35:11 | ===== publishing normal message (to online) 2022-09-26 22:35:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:11 | command: <data><node>node_j3hshd0204</node><entry><content>content_wug87z0205</content></entry></data> 2022-09-26 22:35:11 | target: http://localhost:8088 2022-09-26 22:35:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 22:35:11 | entity: <data><node>node_j3hshd0204</node><entry><content>content_wug87z0205</content></entry></data> 2022-09-26 22:35:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd3acc8a-3673-483a-b07f-d4d5bd0cfc9b</value></item-id></result> 2022-09-26 22:35:11 | contains: true 2022-09-26 22:35:11 | [Mutex] received everything. 2022-09-26 22:35:11 | [Mutex] isItemNotified: user_regularysg7at0203@test-domain.com:message:received:content_wug87z0205 :: true 2022-09-26 22:35:11 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-26 22:35:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:11 | command: <data><node>node_j3hshd0204</node><expire-at>2022-09-27T05:35:06Z</expire-at><entry><content>content_2p3mcp0206</content></entry></data> 2022-09-26 22:35:11 | target: http://localhost:8088 2022-09-26 22:35:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 22:35:11 | entity: <data><node>node_j3hshd0204</node><expire-at>2022-09-27T05:35:06Z</expire-at><entry><content>content_2p3mcp0206</content></entry></data> 2022-09-26 22:35:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b640c368-5771-4e46-97fd-77e3d4632dc2</value></item-id></result> 2022-09-26 22:35:11 | contains: true 2022-09-26 22:35:11 | [Mutex] waiting for: [user_regularysg7at0203@test-domain.com:message:received:content_2p3mcp0206] 2022-09-26 22:35:26 | [Mutex] timeout. Not received [user_regularysg7at0203@test-domain.com:message:received:content_2p3mcp0206] 2022-09-26 22:35:26 | [Mutex] isItemNotified: user_regularysg7at0203@test-domain.com:message:received:content_2p3mcp0206 :: false 2022-09-26 22:35:26 | ===== publishing normal message (to offline) 2022-09-26 22:35:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:26 | command: <data><node>node_j3hshd0204</node><entry><content>content_pyxzgw0207</content></entry></data> 2022-09-26 22:35:26 | target: http://localhost:8088 2022-09-26 22:35:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 22:35:26 | entity: <data><node>node_j3hshd0204</node><entry><content>content_pyxzgw0207</content></entry></data> 2022-09-26 22:35:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>19425408-5898-4642-9d15-ce758db05a11</value></item-id></result> 2022-09-26 22:35:26 | contains: true 2022-09-26 22:35:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 22:35:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 22:35:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 22:35:31 | [Mutex] waiting for: [user_regularysg7at0203@test-domain.com:message:received:content_pyxzgw0207] 2022-09-26 22:35:31 | [Mutex] received everything. 2022-09-26 22:35:31 | [Mutex] isItemNotified: user_regularysg7at0203@test-domain.com:message:received:content_pyxzgw0207 :: true 2022-09-26 22:35:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-26 22:35:31 | [Mutex] received everything. 2022-09-26 22:35:31 | [Mutex] isItemNotified: node_j3hshd0204:subscribe_node:success :: true 2022-09-26 22:35:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:31 | command: <data><node>node_j3hshd0204</node><expire-at>2022-09-27T05:35:36Z</expire-at><entry><content>content_gcwal90208</content></entry></data> 2022-09-26 22:35:31 | target: http://localhost:8088 2022-09-26 22:35:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 22:35:31 | entity: <data><node>node_j3hshd0204</node><expire-at>2022-09-27T05:35:36Z</expire-at><entry><content>content_gcwal90208</content></entry></data> 2022-09-26 22:35:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ceee4803-89f5-475b-a448-6b3db2b86406</value></item-id></result> 2022-09-26 22:35:31 | contains: true 2022-09-26 22:35:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 22:35:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 22:35:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 22:35:39 | [Mutex] waiting for: [user_regularysg7at0203@test-domain.com:message:received:content_gcwal90208] 2022-09-26 22:35:39 | [Mutex] waiting for: [user_regularysg7at0203@test-domain.com:message:received:content_gcwal90208] 2022-09-26 22:35:54 | [Mutex] timeout. Not received [user_regularysg7at0203@test-domain.com:message:received:content_gcwal90208] 2022-09-26 22:35:54 | [Mutex] received everything. 2022-09-26 22:35:54 | [Mutex] isItemNotified: user_regularysg7at0203@test-domain.com:message:received:content_gcwal90208 :: false 2022-09-26 22:35:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gcwal90208 :: true |