Test duration : 45.184s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.717s |
2020-08-27 22:48:32 |
2020-08-27 22:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-27 22:48:32 | ------------------------------------ 2020-08-27 22:48:32 | [Mutex] isItemNotified: node_3yxe810203:exists :: false 2020-08-27 22:48:32 | [Mutex] waiting for: [node_3yxe810203:create_node] 2020-08-27 22:48:32 | [Mutex] received everything. 2020-08-27 22:48:32 | [Mutex] isItemNotified: node_3yxe810203:create_node:success :: true 2020-08-27 22:48:32 | [Mutex] waiting for: [node_3yxe810203:subscribe_node] 2020-08-27 22:48:32 | [Mutex] received everything. 2020-08-27 22:48:32 | [Mutex] isItemNotified: node_3yxe810203:subscribe_node:success :: true 2020-08-27 22:48:32 | ===== publishing normal message (to online) 2020-08-27 22:48:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:32 | command: <data><node>node_3yxe810203</node><entry><content>content_84k5x30204</content></entry></data> 2020-08-27 22:48:32 | target: http://localhost:8088 2020-08-27 22:48:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:48:32 | entity: <data><node>node_3yxe810203</node><entry><content>content_84k5x30204</content></entry></data> 2020-08-27 22:48:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3455c11f-7996-4c14-90df-33a601e70c9f</value></item-id></result> 2020-08-27 22:48:32 | contains: true 2020-08-27 22:48:32 | [Mutex] received everything. 2020-08-27 22:48:32 | [Mutex] isItemNotified: user_regular9igwhk0202@test-domain.com:message:received:content_84k5x30204 :: true 2020-08-27 22:48:32 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-27 22:48:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:32 | command: <data><node>node_3yxe810203</node><expire-at>2020-08-28T05:48:27Z</expire-at><entry><content>content_n8vhvh0205</content></entry></data> 2020-08-27 22:48:32 | target: http://localhost:8088 2020-08-27 22:48:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:48:32 | entity: <data><node>node_3yxe810203</node><expire-at>2020-08-28T05:48:27Z</expire-at><entry><content>content_n8vhvh0205</content></entry></data> 2020-08-27 22:48:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f41f4398-40f0-4779-8590-9466a2dee1a0</value></item-id></result> 2020-08-27 22:48:32 | contains: true 2020-08-27 22:48:32 | [Mutex] waiting for: [user_regular9igwhk0202@test-domain.com:message:received:content_n8vhvh0205] 2020-08-27 22:48:47 | [Mutex] timeout. Not received [user_regular9igwhk0202@test-domain.com:message:received:content_n8vhvh0205] 2020-08-27 22:48:47 | [Mutex] isItemNotified: user_regular9igwhk0202@test-domain.com:message:received:content_n8vhvh0205 :: false 2020-08-27 22:48:47 | ===== publishing normal message (to offline) 2020-08-27 22:48:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:47 | command: <data><node>node_3yxe810203</node><entry><content>content_r28q180206</content></entry></data> 2020-08-27 22:48:47 | target: http://localhost:8088 2020-08-27 22:48:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:48:47 | entity: <data><node>node_3yxe810203</node><entry><content>content_r28q180206</content></entry></data> 2020-08-27 22:48:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d236bff5-06a6-40ab-bb46-0f76498dac70</value></item-id></result> 2020-08-27 22:48:47 | contains: true 2020-08-27 22:48:53 | [Mutex] waiting for: [user_regular9igwhk0202@test-domain.com:message:received:content_r28q180206] 2020-08-27 22:48:53 | [Mutex] received everything. 2020-08-27 22:48:53 | [Mutex] isItemNotified: user_regular9igwhk0202@test-domain.com:message:received:content_r28q180206 :: true 2020-08-27 22:48:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-27 22:48:53 | [Mutex] received everything. 2020-08-27 22:48:53 | [Mutex] isItemNotified: node_3yxe810203:subscribe_node:success :: true 2020-08-27 22:48:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:53 | command: <data><node>node_3yxe810203</node><expire-at>2020-08-28T05:48:58Z</expire-at><entry><content>content_74nnhr0207</content></entry></data> 2020-08-27 22:48:53 | target: http://localhost:8088 2020-08-27 22:48:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:48:53 | entity: <data><node>node_3yxe810203</node><expire-at>2020-08-28T05:48:58Z</expire-at><entry><content>content_74nnhr0207</content></entry></data> 2020-08-27 22:48:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d002dbb-f6ae-4c42-890e-3d32590a4eda</value></item-id></result> 2020-08-27 22:48:53 | contains: true 2020-08-27 22:49:01 | [Mutex] waiting for: [user_regular9igwhk0202@test-domain.com:message:received:content_74nnhr0207] 2020-08-27 22:49:16 | [Mutex] timeout. Not received [user_regular9igwhk0202@test-domain.com:message:received:content_74nnhr0207] 2020-08-27 22:49:16 | [Mutex] received everything. 2020-08-27 22:49:16 | [Mutex] isItemNotified: user_regular9igwhk0202@test-domain.com:message:received:content_74nnhr0207 :: false 2020-08-27 22:49:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_74nnhr0207 :: true |