Test duration : 44.551s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.618s |
2022-05-01 22:37:07 |
2022-05-01 22:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-01 22:37:07 | ------------------------------------ 2022-05-01 22:37:07 | [Mutex] isItemNotified: node_x8gxdi0204:exists :: false 2022-05-01 22:37:07 | [Mutex] waiting for: [node_x8gxdi0204:create_node] 2022-05-01 22:37:07 | [Mutex] waiting for: [node_x8gxdi0204:create_node] 2022-05-01 22:37:07 | [Mutex] received everything. 2022-05-01 22:37:07 | [Mutex] isItemNotified: node_x8gxdi0204:create_node:success :: true 2022-05-01 22:37:07 | [Mutex] waiting for: [node_x8gxdi0204:subscribe_node] 2022-05-01 22:37:07 | [Mutex] waiting for: [node_x8gxdi0204:subscribe_node] 2022-05-01 22:37:07 | [Mutex] received everything. 2022-05-01 22:37:07 | [Mutex] isItemNotified: node_x8gxdi0204:subscribe_node:success :: true 2022-05-01 22:37:07 | ===== publishing normal message (to online) 2022-05-01 22:37:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 22:37:07 | command: <data><node>node_x8gxdi0204</node><entry><content>content_8h9kj80205</content></entry></data> 2022-05-01 22:37:07 | target: http://localhost:8088 2022-05-01 22:37:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-01 22:37:07 | entity: <data><node>node_x8gxdi0204</node><entry><content>content_8h9kj80205</content></entry></data> 2022-05-01 22:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 22:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>261fe390-eb56-4805-a318-b9788ce7850f</value></item-id></result> 2022-05-01 22:37:07 | contains: true 2022-05-01 22:37:07 | [Mutex] received everything. 2022-05-01 22:37:07 | [Mutex] isItemNotified: user_regularvznquj0203@test-domain.com:message:received:content_8h9kj80205 :: true 2022-05-01 22:37:07 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-01 22:37:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 22:37:07 | command: <data><node>node_x8gxdi0204</node><expire-at>2022-05-02T05:37:02Z</expire-at><entry><content>content_lsg9mn0206</content></entry></data> 2022-05-01 22:37:07 | target: http://localhost:8088 2022-05-01 22:37:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-01 22:37:07 | entity: <data><node>node_x8gxdi0204</node><expire-at>2022-05-02T05:37:02Z</expire-at><entry><content>content_lsg9mn0206</content></entry></data> 2022-05-01 22:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 22:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b21b22de-36eb-46b9-842c-81bdc8bc5f23</value></item-id></result> 2022-05-01 22:37:07 | contains: true 2022-05-01 22:37:07 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_lsg9mn0206] 2022-05-01 22:37:22 | [Mutex] timeout. Not received [user_regularvznquj0203@test-domain.com:message:received:content_lsg9mn0206] 2022-05-01 22:37:22 | [Mutex] isItemNotified: user_regularvznquj0203@test-domain.com:message:received:content_lsg9mn0206 :: false 2022-05-01 22:37:22 | ===== publishing normal message (to offline) 2022-05-01 22:37:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 22:37:22 | command: <data><node>node_x8gxdi0204</node><entry><content>content_k588t80207</content></entry></data> 2022-05-01 22:37:22 | target: http://localhost:8088 2022-05-01 22:37:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-01 22:37:22 | entity: <data><node>node_x8gxdi0204</node><entry><content>content_k588t80207</content></entry></data> 2022-05-01 22:37:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 22:37:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3f7638cd-3873-4494-8ab1-3932a92627e8</value></item-id></result> 2022-05-01 22:37:22 | contains: true 2022-05-01 22:37:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-01 22:37:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-01 22:37:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-01 22:37:27 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_k588t80207] 2022-05-01 22:37:27 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_k588t80207] 2022-05-01 22:37:27 | [Mutex] received everything. 2022-05-01 22:37:27 | [Mutex] isItemNotified: user_regularvznquj0203@test-domain.com:message:received:content_k588t80207 :: true 2022-05-01 22:37:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-01 22:37:27 | [Mutex] received everything. 2022-05-01 22:37:27 | [Mutex] isItemNotified: node_x8gxdi0204:subscribe_node:success :: true 2022-05-01 22:37:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 22:37:28 | command: <data><node>node_x8gxdi0204</node><expire-at>2022-05-02T05:37:33Z</expire-at><entry><content>content_hxm4qp0208</content></entry></data> 2022-05-01 22:37:28 | target: http://localhost:8088 2022-05-01 22:37:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-01 22:37:28 | entity: <data><node>node_x8gxdi0204</node><expire-at>2022-05-02T05:37:33Z</expire-at><entry><content>content_hxm4qp0208</content></entry></data> 2022-05-01 22:37:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 22:37:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b4bdaa9-cfb7-407c-b9c5-f47d59b11f42</value></item-id></result> 2022-05-01 22:37:28 | contains: true 2022-05-01 22:37:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-01 22:37:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-01 22:37:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-01 22:37:36 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_hxm4qp0208] 2022-05-01 22:37:36 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_hxm4qp0208] 2022-05-01 22:37:36 | [Mutex] waiting for: [user_regularvznquj0203@test-domain.com:message:received:content_hxm4qp0208] 2022-05-01 22:37:51 | [Mutex] timeout. Not received [user_regularvznquj0203@test-domain.com:message:received:content_hxm4qp0208] 2022-05-01 22:37:51 | [Mutex] received everything. 2022-05-01 22:37:51 | [Mutex] isItemNotified: user_regularvznquj0203@test-domain.com:message:received:content_hxm4qp0208 :: false 2022-05-01 22:37:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hxm4qp0208 :: true |