Test duration : 45.397s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.730s |
2022-02-09 21:56:24 |
2022-02-09 21:56:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-09 21:56:24 | ------------------------------------ 2022-02-09 21:56:24 | [Mutex] isItemNotified: node_8y6k8q0203:exists :: false 2022-02-09 21:56:24 | [Mutex] waiting for: [node_8y6k8q0203:create_node] 2022-02-09 21:56:24 | [Mutex] received everything. 2022-02-09 21:56:24 | [Mutex] isItemNotified: node_8y6k8q0203:create_node:success :: true 2022-02-09 21:56:24 | [Mutex] waiting for: [node_8y6k8q0203:subscribe_node] 2022-02-09 21:56:24 | [Mutex] waiting for: [node_8y6k8q0203:subscribe_node] 2022-02-09 21:56:24 | [Mutex] received everything. 2022-02-09 21:56:24 | [Mutex] isItemNotified: node_8y6k8q0203:subscribe_node:success :: true 2022-02-09 21:56:24 | ===== publishing normal message (to online) 2022-02-09 21:56:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:56:24 | command: <data><node>node_8y6k8q0203</node><entry><content>content_ch7ptz0204</content></entry></data> 2022-02-09 21:56:24 | target: http://localhost:8088 2022-02-09 21:56:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 21:56:24 | entity: <data><node>node_8y6k8q0203</node><entry><content>content_ch7ptz0204</content></entry></data> 2022-02-09 21:56:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:56:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:56:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>775b9129-00d7-4e61-9c54-ed3b2011ceb3</value></item-id></result> 2022-02-09 21:56:24 | contains: true 2022-02-09 21:56:24 | [Mutex] received everything. 2022-02-09 21:56:24 | [Mutex] isItemNotified: user_regularmzt6bd0202@test-domain.com:message:received:content_ch7ptz0204 :: true 2022-02-09 21:56:24 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-09 21:56:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:56:24 | command: <data><node>node_8y6k8q0203</node><expire-at>2022-02-10T05:56:19Z</expire-at><entry><content>content_n424ux0205</content></entry></data> 2022-02-09 21:56:24 | target: http://localhost:8088 2022-02-09 21:56:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 21:56:24 | entity: <data><node>node_8y6k8q0203</node><expire-at>2022-02-10T05:56:19Z</expire-at><entry><content>content_n424ux0205</content></entry></data> 2022-02-09 21:56:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:56:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:56:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c2e94cc-808d-4220-96a3-35e5b2ce237c</value></item-id></result> 2022-02-09 21:56:24 | contains: true 2022-02-09 21:56:24 | [Mutex] waiting for: [user_regularmzt6bd0202@test-domain.com:message:received:content_n424ux0205] 2022-02-09 21:56:39 | [Mutex] timeout. Not received [user_regularmzt6bd0202@test-domain.com:message:received:content_n424ux0205] 2022-02-09 21:56:39 | [Mutex] isItemNotified: user_regularmzt6bd0202@test-domain.com:message:received:content_n424ux0205 :: false 2022-02-09 21:56:39 | ===== publishing normal message (to offline) 2022-02-09 21:56:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:56:39 | command: <data><node>node_8y6k8q0203</node><entry><content>content_b78na10206</content></entry></data> 2022-02-09 21:56:39 | target: http://localhost:8088 2022-02-09 21:56:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 21:56:39 | entity: <data><node>node_8y6k8q0203</node><entry><content>content_b78na10206</content></entry></data> 2022-02-09 21:56:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:56:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:56:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>750e01ff-0918-4534-9a55-a3c32044a333</value></item-id></result> 2022-02-09 21:56:39 | contains: true 2022-02-09 21:56:44 | [Mutex] waiting for: [user_regularmzt6bd0202@test-domain.com:message:received:content_b78na10206] 2022-02-09 21:56:44 | [Mutex] waiting for: [user_regularmzt6bd0202@test-domain.com:message:received:content_b78na10206] 2022-02-09 21:56:44 | [Mutex] received everything. 2022-02-09 21:56:44 | [Mutex] isItemNotified: user_regularmzt6bd0202@test-domain.com:message:received:content_b78na10206 :: true 2022-02-09 21:56:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-09 21:56:44 | [Mutex] received everything. 2022-02-09 21:56:44 | [Mutex] isItemNotified: node_8y6k8q0203:subscribe_node:success :: true 2022-02-09 21:56:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:56:44 | command: <data><node>node_8y6k8q0203</node><expire-at>2022-02-10T05:56:49Z</expire-at><entry><content>content_vcubpt0207</content></entry></data> 2022-02-09 21:56:44 | target: http://localhost:8088 2022-02-09 21:56:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 21:56:44 | entity: <data><node>node_8y6k8q0203</node><expire-at>2022-02-10T05:56:49Z</expire-at><entry><content>content_vcubpt0207</content></entry></data> 2022-02-09 21:56:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:56:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:56:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d0e9506-0ccf-4bcb-b68a-2a5fca60010f</value></item-id></result> 2022-02-09 21:56:44 | contains: true 2022-02-09 21:56:53 | [Mutex] waiting for: [user_regularmzt6bd0202@test-domain.com:message:received:content_vcubpt0207] 2022-02-09 21:56:53 | [Mutex] waiting for: [user_regularmzt6bd0202@test-domain.com:message:received:content_vcubpt0207] 2022-02-09 21:57:08 | [Mutex] timeout. Not received [user_regularmzt6bd0202@test-domain.com:message:received:content_vcubpt0207] 2022-02-09 21:57:08 | [Mutex] received everything. 2022-02-09 21:57:08 | [Mutex] isItemNotified: user_regularmzt6bd0202@test-domain.com:message:received:content_vcubpt0207 :: false 2022-02-09 21:57:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vcubpt0207 :: true |