Test duration : 44.781s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2022-08-24 22:34:25 |
2022-08-24 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-24 22:34:25 | ------------------------------------ 2022-08-24 22:34:25 | [Mutex] isItemNotified: node_klxi2c0204:exists :: false 2022-08-24 22:34:25 | [Mutex] waiting for: [node_klxi2c0204:create_node] 2022-08-24 22:34:25 | [Mutex] received everything. 2022-08-24 22:34:25 | [Mutex] isItemNotified: node_klxi2c0204:create_node:success :: true 2022-08-24 22:34:25 | [Mutex] waiting for: [node_klxi2c0204:subscribe_node] 2022-08-24 22:34:25 | [Mutex] received everything. 2022-08-24 22:34:25 | [Mutex] isItemNotified: node_klxi2c0204:subscribe_node:success :: true 2022-08-24 22:34:25 | ===== publishing normal message (to online) 2022-08-24 22:34:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-24 22:34:25 | command: <data><node>node_klxi2c0204</node><entry><content>content_uu2gg70205</content></entry></data> 2022-08-24 22:34:25 | target: http://localhost:8088 2022-08-24 22:34:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-24 22:34:25 | entity: <data><node>node_klxi2c0204</node><entry><content>content_uu2gg70205</content></entry></data> 2022-08-24 22:34:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-24 22:34:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a911ba6e-9f59-46e4-8edc-e7c50a40a76d</value></item-id></result> 2022-08-24 22:34:25 | contains: true 2022-08-24 22:34:25 | [Mutex] received everything. 2022-08-24 22:34:25 | [Mutex] isItemNotified: user_regulary8u6s50203@test-domain.com:message:received:content_uu2gg70205 :: true 2022-08-24 22:34:25 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-24 22:34:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-24 22:34:25 | command: <data><node>node_klxi2c0204</node><expire-at>2022-08-25T05:34:20Z</expire-at><entry><content>content_axov370206</content></entry></data> 2022-08-24 22:34:25 | target: http://localhost:8088 2022-08-24 22:34:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-24 22:34:25 | entity: <data><node>node_klxi2c0204</node><expire-at>2022-08-25T05:34:20Z</expire-at><entry><content>content_axov370206</content></entry></data> 2022-08-24 22:34:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-24 22:34:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>522e3ff9-2303-4813-aa73-d774ba626514</value></item-id></result> 2022-08-24 22:34:25 | contains: true 2022-08-24 22:34:25 | [Mutex] waiting for: [user_regulary8u6s50203@test-domain.com:message:received:content_axov370206] 2022-08-24 22:34:40 | [Mutex] timeout. Not received [user_regulary8u6s50203@test-domain.com:message:received:content_axov370206] 2022-08-24 22:34:40 | [Mutex] isItemNotified: user_regulary8u6s50203@test-domain.com:message:received:content_axov370206 :: false 2022-08-24 22:34:40 | ===== publishing normal message (to offline) 2022-08-24 22:34:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-24 22:34:40 | command: <data><node>node_klxi2c0204</node><entry><content>content_n1ip4i0207</content></entry></data> 2022-08-24 22:34:40 | target: http://localhost:8088 2022-08-24 22:34:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-24 22:34:40 | entity: <data><node>node_klxi2c0204</node><entry><content>content_n1ip4i0207</content></entry></data> 2022-08-24 22:34:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-24 22:34:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e8fd2908-e934-4d03-b945-8c280f4c301d</value></item-id></result> 2022-08-24 22:34:40 | contains: true 2022-08-24 22:34:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-24 22:34:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-24 22:34:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-24 22:34:45 | [Mutex] waiting for: [user_regulary8u6s50203@test-domain.com:message:received:content_n1ip4i0207] 2022-08-24 22:34:45 | [Mutex] received everything. 2022-08-24 22:34:45 | [Mutex] isItemNotified: user_regulary8u6s50203@test-domain.com:message:received:content_n1ip4i0207 :: true 2022-08-24 22:34:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-24 22:34:45 | [Mutex] received everything. 2022-08-24 22:34:45 | [Mutex] isItemNotified: node_klxi2c0204:subscribe_node:success :: true 2022-08-24 22:34:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-24 22:34:45 | command: <data><node>node_klxi2c0204</node><expire-at>2022-08-25T05:34:50Z</expire-at><entry><content>content_oowlzk0208</content></entry></data> 2022-08-24 22:34:45 | target: http://localhost:8088 2022-08-24 22:34:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-24 22:34:45 | entity: <data><node>node_klxi2c0204</node><expire-at>2022-08-25T05:34:50Z</expire-at><entry><content>content_oowlzk0208</content></entry></data> 2022-08-24 22:34:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-24 22:34:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>676b621f-05c2-4882-b508-4561e7134442</value></item-id></result> 2022-08-24 22:34:45 | contains: true 2022-08-24 22:34:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-24 22:34:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-24 22:34:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-24 22:34:54 | [Mutex] waiting for: [user_regulary8u6s50203@test-domain.com:message:received:content_oowlzk0208] 2022-08-24 22:34:54 | [Mutex] waiting for: [user_regulary8u6s50203@test-domain.com:message:received:content_oowlzk0208] 2022-08-24 22:34:54 | [Mutex] waiting for: [user_regulary8u6s50203@test-domain.com:message:received:content_oowlzk0208] 2022-08-24 22:35:09 | [Mutex] timeout. Not received [user_regulary8u6s50203@test-domain.com:message:received:content_oowlzk0208] 2022-08-24 22:35:09 | [Mutex] received everything. 2022-08-24 22:35:09 | [Mutex] isItemNotified: user_regulary8u6s50203@test-domain.com:message:received:content_oowlzk0208 :: false 2022-08-24 22:35:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oowlzk0208 :: true |