Test duration : 45.216s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.693s |
2020-09-18 09:38:44 |
2020-09-18 09:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 09:38:44 | ------------------------------------ 2020-09-18 09:38:44 | [Mutex] isItemNotified: node_17su740203:exists :: false 2020-09-18 09:38:44 | [Mutex] waiting for: [node_17su740203:create_node] 2020-09-18 09:38:44 | [Mutex] received everything. 2020-09-18 09:38:44 | [Mutex] isItemNotified: node_17su740203:create_node:success :: true 2020-09-18 09:38:44 | [Mutex] waiting for: [node_17su740203:subscribe_node] 2020-09-18 09:38:44 | [Mutex] waiting for: [node_17su740203:subscribe_node] 2020-09-18 09:38:44 | [Mutex] received everything. 2020-09-18 09:38:44 | [Mutex] isItemNotified: node_17su740203:subscribe_node:success :: true 2020-09-18 09:38:44 | ===== publishing normal message (to online) 2020-09-18 09:38:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 09:38:44 | command: <data><node>node_17su740203</node><entry><content>content_agmqyc0204</content></entry></data> 2020-09-18 09:38:44 | target: http://localhost:8088 2020-09-18 09:38:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 09:38:44 | entity: <data><node>node_17su740203</node><entry><content>content_agmqyc0204</content></entry></data> 2020-09-18 09:38:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 16:38:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 09:38:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b516f895-f542-454a-8aff-f2eb2fd8ef49</value></item-id></result> 2020-09-18 09:38:44 | contains: true 2020-09-18 09:38:44 | [Mutex] received everything. 2020-09-18 09:38:44 | [Mutex] isItemNotified: user_regularbxvt230202@test-domain.com:message:received:content_agmqyc0204 :: true 2020-09-18 09:38:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 09:38:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 09:38:44 | command: <data><node>node_17su740203</node><expire-at>2020-09-18T16:38:39Z</expire-at><entry><content>content_9dy5qg0205</content></entry></data> 2020-09-18 09:38:44 | target: http://localhost:8088 2020-09-18 09:38:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 09:38:44 | entity: <data><node>node_17su740203</node><expire-at>2020-09-18T16:38:39Z</expire-at><entry><content>content_9dy5qg0205</content></entry></data> 2020-09-18 09:38:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 16:38:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 09:38:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>168d3b69-e7ef-4019-9320-3e8f7bac4062</value></item-id></result> 2020-09-18 09:38:44 | contains: true 2020-09-18 09:38:44 | [Mutex] waiting for: [user_regularbxvt230202@test-domain.com:message:received:content_9dy5qg0205] 2020-09-18 09:38:59 | [Mutex] timeout. Not received [user_regularbxvt230202@test-domain.com:message:received:content_9dy5qg0205] 2020-09-18 09:38:59 | [Mutex] isItemNotified: user_regularbxvt230202@test-domain.com:message:received:content_9dy5qg0205 :: false 2020-09-18 09:38:59 | ===== publishing normal message (to offline) 2020-09-18 09:38:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 09:38:59 | command: <data><node>node_17su740203</node><entry><content>content_n7zpby0206</content></entry></data> 2020-09-18 09:38:59 | target: http://localhost:8088 2020-09-18 09:38:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 09:38:59 | entity: <data><node>node_17su740203</node><entry><content>content_n7zpby0206</content></entry></data> 2020-09-18 09:38:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 16:38:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 09:38:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4d489725-b111-4b61-9713-307eb6232461</value></item-id></result> 2020-09-18 09:38:59 | contains: true 2020-09-18 09:39:04 | [Mutex] waiting for: [user_regularbxvt230202@test-domain.com:message:received:content_n7zpby0206] 2020-09-18 09:39:04 | [Mutex] waiting for: [user_regularbxvt230202@test-domain.com:message:received:content_n7zpby0206] 2020-09-18 09:39:04 | [Mutex] received everything. 2020-09-18 09:39:04 | [Mutex] isItemNotified: user_regularbxvt230202@test-domain.com:message:received:content_n7zpby0206 :: true 2020-09-18 09:39:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 09:39:04 | [Mutex] received everything. 2020-09-18 09:39:04 | [Mutex] isItemNotified: node_17su740203:subscribe_node:success :: true 2020-09-18 09:39:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 09:39:04 | command: <data><node>node_17su740203</node><expire-at>2020-09-18T16:39:09Z</expire-at><entry><content>content_kasblg0207</content></entry></data> 2020-09-18 09:39:04 | target: http://localhost:8088 2020-09-18 09:39:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 09:39:04 | entity: <data><node>node_17su740203</node><expire-at>2020-09-18T16:39:09Z</expire-at><entry><content>content_kasblg0207</content></entry></data> 2020-09-18 09:39:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 16:39:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 09:39:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a98eace6-603a-440a-a510-09007203ad0a</value></item-id></result> 2020-09-18 09:39:04 | contains: true 2020-09-18 09:39:12 | [Mutex] waiting for: [user_regularbxvt230202@test-domain.com:message:received:content_kasblg0207] 2020-09-18 09:39:12 | [Mutex] waiting for: [user_regularbxvt230202@test-domain.com:message:received:content_kasblg0207] 2020-09-18 09:39:27 | [Mutex] timeout. Not received [user_regularbxvt230202@test-domain.com:message:received:content_kasblg0207] 2020-09-18 09:39:27 | [Mutex] received everything. 2020-09-18 09:39:27 | [Mutex] isItemNotified: user_regularbxvt230202@test-domain.com:message:received:content_kasblg0207 :: false 2020-09-18 09:39:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kasblg0207 :: true |