Test duration : 44.706s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.541s |
2022-12-30 08:16:23 |
2022-12-30 08:16:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 08:16:23 | ------------------------------------ 2022-12-30 08:16:23 | [Mutex] isItemNotified: node_dmzhve0204:exists :: false 2022-12-30 08:16:23 | [Mutex] waiting for: [node_dmzhve0204:create_node] 2022-12-30 08:16:23 | [Mutex] received everything. 2022-12-30 08:16:23 | [Mutex] isItemNotified: node_dmzhve0204:create_node:success :: true 2022-12-30 08:16:23 | [Mutex] waiting for: [node_dmzhve0204:subscribe_node] 2022-12-30 08:16:23 | [Mutex] waiting for: [node_dmzhve0204:subscribe_node] 2022-12-30 08:16:23 | [Mutex] received everything. 2022-12-30 08:16:23 | [Mutex] isItemNotified: node_dmzhve0204:subscribe_node:success :: true 2022-12-30 08:16:23 | ===== publishing normal message (to online) 2022-12-30 08:16:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:16:23 | command: <data><node>node_dmzhve0204</node><entry><content>content_fydxhw0205</content></entry></data> 2022-12-30 08:16:23 | target: http://localhost:8088 2022-12-30 08:16:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 08:16:23 | entity: <data><node>node_dmzhve0204</node><entry><content>content_fydxhw0205</content></entry></data> 2022-12-30 08:16:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:16:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:16:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3adb6e6-5adb-46fc-b374-3eac3f9e4ae3</value></item-id></result> 2022-12-30 08:16:23 | contains: true 2022-12-30 08:16:23 | [Mutex] received everything. 2022-12-30 08:16:23 | [Mutex] isItemNotified: user_regularilonk20203@test-domain.com:message:received:content_fydxhw0205 :: true 2022-12-30 08:16:23 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 08:16:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:16:23 | command: <data><node>node_dmzhve0204</node><expire-at>2022-12-30T16:16:18Z</expire-at><entry><content>content_b0uqaj0206</content></entry></data> 2022-12-30 08:16:23 | target: http://localhost:8088 2022-12-30 08:16:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 08:16:23 | entity: <data><node>node_dmzhve0204</node><expire-at>2022-12-30T16:16:18Z</expire-at><entry><content>content_b0uqaj0206</content></entry></data> 2022-12-30 08:16:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:16:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:16:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0a19d3bb-18c0-40c7-b673-5d5b52080771</value></item-id></result> 2022-12-30 08:16:23 | contains: true 2022-12-30 08:16:23 | [Mutex] waiting for: [user_regularilonk20203@test-domain.com:message:received:content_b0uqaj0206] 2022-12-30 08:16:38 | [Mutex] timeout. Not received [user_regularilonk20203@test-domain.com:message:received:content_b0uqaj0206] 2022-12-30 08:16:38 | [Mutex] isItemNotified: user_regularilonk20203@test-domain.com:message:received:content_b0uqaj0206 :: false 2022-12-30 08:16:38 | ===== publishing normal message (to offline) 2022-12-30 08:16:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:16:38 | command: <data><node>node_dmzhve0204</node><entry><content>content_v3ixgw0207</content></entry></data> 2022-12-30 08:16:38 | target: http://localhost:8088 2022-12-30 08:16:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 08:16:38 | entity: <data><node>node_dmzhve0204</node><entry><content>content_v3ixgw0207</content></entry></data> 2022-12-30 08:16:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:16:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:16:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abf4213d-752c-4d5d-b965-0f43532aad37</value></item-id></result> 2022-12-30 08:16:38 | contains: true 2022-12-30 08:16:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 08:16:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 08:16:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 08:16:44 | [Mutex] waiting for: [user_regularilonk20203@test-domain.com:message:received:content_v3ixgw0207] 2022-12-30 08:16:44 | [Mutex] received everything. 2022-12-30 08:16:44 | [Mutex] isItemNotified: user_regularilonk20203@test-domain.com:message:received:content_v3ixgw0207 :: true 2022-12-30 08:16:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 08:16:44 | [Mutex] received everything. 2022-12-30 08:16:44 | [Mutex] isItemNotified: node_dmzhve0204:subscribe_node:success :: true 2022-12-30 08:16:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:16:44 | command: <data><node>node_dmzhve0204</node><expire-at>2022-12-30T16:16:49Z</expire-at><entry><content>content_iqtf6d0208</content></entry></data> 2022-12-30 08:16:44 | target: http://localhost:8088 2022-12-30 08:16:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 08:16:44 | entity: <data><node>node_dmzhve0204</node><expire-at>2022-12-30T16:16:49Z</expire-at><entry><content>content_iqtf6d0208</content></entry></data> 2022-12-30 08:16:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:16:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:16:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cde774ee-87a5-457f-9fcd-1ff8f1c3664a</value></item-id></result> 2022-12-30 08:16:44 | contains: true 2022-12-30 08:16:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 08:16:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 08:16:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 08:16:52 | [Mutex] waiting for: [user_regularilonk20203@test-domain.com:message:received:content_iqtf6d0208] 2022-12-30 08:17:07 | [Mutex] timeout. Not received [user_regularilonk20203@test-domain.com:message:received:content_iqtf6d0208] 2022-12-30 08:17:07 | [Mutex] received everything. 2022-12-30 08:17:07 | [Mutex] isItemNotified: user_regularilonk20203@test-domain.com:message:received:content_iqtf6d0208 :: false 2022-12-30 08:17:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iqtf6d0208 :: true |