Test duration : 45.616s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.727s |
2020-11-11 21:58:48 |
2020-11-11 21:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-11 21:58:48 | ------------------------------------ 2020-11-11 21:58:48 | [Mutex] isItemNotified: node_z0eyf20203:exists :: false 2020-11-11 21:58:48 | [Mutex] waiting for: [node_z0eyf20203:create_node] 2020-11-11 21:58:48 | [Mutex] received everything. 2020-11-11 21:58:48 | [Mutex] isItemNotified: node_z0eyf20203:create_node:success :: true 2020-11-11 21:58:48 | [Mutex] waiting for: [node_z0eyf20203:subscribe_node] 2020-11-11 21:58:48 | [Mutex] waiting for: [node_z0eyf20203:subscribe_node] 2020-11-11 21:58:48 | [Mutex] received everything. 2020-11-11 21:58:48 | [Mutex] isItemNotified: node_z0eyf20203:subscribe_node:success :: true 2020-11-11 21:58:48 | ===== publishing normal message (to online) 2020-11-11 21:58:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:58:48 | command: <data><node>node_z0eyf20203</node><entry><content>content_uz2tyw0204</content></entry></data> 2020-11-11 21:58:48 | target: http://localhost:8088 2020-11-11 21:58:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-11 21:58:48 | entity: <data><node>node_z0eyf20203</node><entry><content>content_uz2tyw0204</content></entry></data> 2020-11-11 21:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:58:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:58:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1d32d649-f9bc-4f1a-8d2b-9f4b76c81785</value></item-id></result> 2020-11-11 21:58:48 | contains: true 2020-11-11 21:58:48 | [Mutex] received everything. 2020-11-11 21:58:48 | [Mutex] isItemNotified: user_regularthbzgr0202@test-domain.com:message:received:content_uz2tyw0204 :: true 2020-11-11 21:58:48 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-11 21:58:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:58:48 | command: <data><node>node_z0eyf20203</node><expire-at>2020-11-12T05:58:43Z</expire-at><entry><content>content_vkq2mj0205</content></entry></data> 2020-11-11 21:58:48 | target: http://localhost:8088 2020-11-11 21:58:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-11 21:58:48 | entity: <data><node>node_z0eyf20203</node><expire-at>2020-11-12T05:58:43Z</expire-at><entry><content>content_vkq2mj0205</content></entry></data> 2020-11-11 21:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:58:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:58:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af727625-e887-4dc4-bfc4-145781a9942c</value></item-id></result> 2020-11-11 21:58:48 | contains: true 2020-11-11 21:58:48 | [Mutex] waiting for: [user_regularthbzgr0202@test-domain.com:message:received:content_vkq2mj0205] 2020-11-11 21:59:03 | [Mutex] timeout. Not received [user_regularthbzgr0202@test-domain.com:message:received:content_vkq2mj0205] 2020-11-11 21:59:03 | [Mutex] isItemNotified: user_regularthbzgr0202@test-domain.com:message:received:content_vkq2mj0205 :: false 2020-11-11 21:59:03 | ===== publishing normal message (to offline) 2020-11-11 21:59:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:59:03 | command: <data><node>node_z0eyf20203</node><entry><content>content_nqowlt0206</content></entry></data> 2020-11-11 21:59:03 | target: http://localhost:8088 2020-11-11 21:59:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-11 21:59:03 | entity: <data><node>node_z0eyf20203</node><entry><content>content_nqowlt0206</content></entry></data> 2020-11-11 21:59:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:59:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:59:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7eb9791-1b1c-417f-af46-f6ceab558ba2</value></item-id></result> 2020-11-11 21:59:03 | contains: true 2020-11-11 21:59:09 | [Mutex] waiting for: [user_regularthbzgr0202@test-domain.com:message:received:content_nqowlt0206] 2020-11-11 21:59:09 | [Mutex] waiting for: [user_regularthbzgr0202@test-domain.com:message:received:content_nqowlt0206] 2020-11-11 21:59:09 | [Mutex] received everything. 2020-11-11 21:59:09 | [Mutex] isItemNotified: user_regularthbzgr0202@test-domain.com:message:received:content_nqowlt0206 :: true 2020-11-11 21:59:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-11 21:59:09 | [Mutex] received everything. 2020-11-11 21:59:09 | [Mutex] isItemNotified: node_z0eyf20203:subscribe_node:success :: true 2020-11-11 21:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:59:09 | command: <data><node>node_z0eyf20203</node><expire-at>2020-11-12T05:59:14Z</expire-at><entry><content>content_mx3b9v0207</content></entry></data> 2020-11-11 21:59:09 | target: http://localhost:8088 2020-11-11 21:59:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-11 21:59:09 | entity: <data><node>node_z0eyf20203</node><expire-at>2020-11-12T05:59:14Z</expire-at><entry><content>content_mx3b9v0207</content></entry></data> 2020-11-11 21:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7fe4d84-7292-43b4-8f53-9d66d258cfb4</value></item-id></result> 2020-11-11 21:59:09 | contains: true 2020-11-11 21:59:17 | [Mutex] waiting for: [user_regularthbzgr0202@test-domain.com:message:received:content_mx3b9v0207] 2020-11-11 21:59:32 | [Mutex] timeout. Not received [user_regularthbzgr0202@test-domain.com:message:received:content_mx3b9v0207] 2020-11-11 21:59:32 | [Mutex] received everything. 2020-11-11 21:59:32 | [Mutex] isItemNotified: user_regularthbzgr0202@test-domain.com:message:received:content_mx3b9v0207 :: false 2020-11-11 21:59:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mx3b9v0207 :: true |