Test duration : 45.023s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.692s |
2021-03-21 22:59:02 |
2021-03-21 22:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-21 22:59:02 | ------------------------------------ 2021-03-21 22:59:02 | [Mutex] isItemNotified: node_j3dycp0203:exists :: false 2021-03-21 22:59:02 | [Mutex] waiting for: [node_j3dycp0203:create_node] 2021-03-21 22:59:02 | [Mutex] received everything. 2021-03-21 22:59:02 | [Mutex] isItemNotified: node_j3dycp0203:create_node:success :: true 2021-03-21 22:59:02 | [Mutex] waiting for: [node_j3dycp0203:subscribe_node] 2021-03-21 22:59:02 | [Mutex] waiting for: [node_j3dycp0203:subscribe_node] 2021-03-21 22:59:02 | [Mutex] received everything. 2021-03-21 22:59:02 | [Mutex] isItemNotified: node_j3dycp0203:subscribe_node:success :: true 2021-03-21 22:59:02 | ===== publishing normal message (to online) 2021-03-21 22:59:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:59:02 | command: <data><node>node_j3dycp0203</node><entry><content>content_oxan1s0204</content></entry></data> 2021-03-21 22:59:02 | target: http://localhost:8088 2021-03-21 22:59:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:59:02 | entity: <data><node>node_j3dycp0203</node><entry><content>content_oxan1s0204</content></entry></data> 2021-03-21 22:59:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:59:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:59:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>49d885db-ca39-45a3-aeea-9a2ef6a53414</value></item-id></result> 2021-03-21 22:59:02 | contains: true 2021-03-21 22:59:02 | [Mutex] received everything. 2021-03-21 22:59:02 | [Mutex] isItemNotified: user_regularg8kn3z0202@test-domain.com:message:received:content_oxan1s0204 :: true 2021-03-21 22:59:02 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-21 22:59:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:59:02 | command: <data><node>node_j3dycp0203</node><expire-at>2021-03-22T05:58:57Z</expire-at><entry><content>content_cncoa50205</content></entry></data> 2021-03-21 22:59:02 | target: http://localhost:8088 2021-03-21 22:59:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:59:02 | entity: <data><node>node_j3dycp0203</node><expire-at>2021-03-22T05:58:57Z</expire-at><entry><content>content_cncoa50205</content></entry></data> 2021-03-21 22:59:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:59:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:59:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f74f5eb0-88dc-425f-9fa0-b397dcff7aba</value></item-id></result> 2021-03-21 22:59:02 | contains: true 2021-03-21 22:59:02 | [Mutex] waiting for: [user_regularg8kn3z0202@test-domain.com:message:received:content_cncoa50205] 2021-03-21 22:59:17 | [Mutex] timeout. Not received [user_regularg8kn3z0202@test-domain.com:message:received:content_cncoa50205] 2021-03-21 22:59:17 | [Mutex] isItemNotified: user_regularg8kn3z0202@test-domain.com:message:received:content_cncoa50205 :: false 2021-03-21 22:59:17 | ===== publishing normal message (to offline) 2021-03-21 22:59:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:59:17 | command: <data><node>node_j3dycp0203</node><entry><content>content_mszva30206</content></entry></data> 2021-03-21 22:59:17 | target: http://localhost:8088 2021-03-21 22:59:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:59:17 | entity: <data><node>node_j3dycp0203</node><entry><content>content_mszva30206</content></entry></data> 2021-03-21 22:59:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:59:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:59:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>930db2a2-ecb8-4289-a8df-7b9515e1a1a5</value></item-id></result> 2021-03-21 22:59:17 | contains: true 2021-03-21 22:59:23 | [Mutex] waiting for: [user_regularg8kn3z0202@test-domain.com:message:received:content_mszva30206] 2021-03-21 22:59:23 | [Mutex] waiting for: [user_regularg8kn3z0202@test-domain.com:message:received:content_mszva30206] 2021-03-21 22:59:23 | [Mutex] received everything. 2021-03-21 22:59:23 | [Mutex] isItemNotified: user_regularg8kn3z0202@test-domain.com:message:received:content_mszva30206 :: true 2021-03-21 22:59:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-21 22:59:23 | [Mutex] received everything. 2021-03-21 22:59:23 | [Mutex] isItemNotified: node_j3dycp0203:subscribe_node:success :: true 2021-03-21 22:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:59:23 | command: <data><node>node_j3dycp0203</node><expire-at>2021-03-22T05:59:28Z</expire-at><entry><content>content_hnn7i30207</content></entry></data> 2021-03-21 22:59:23 | target: http://localhost:8088 2021-03-21 22:59:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:59:23 | entity: <data><node>node_j3dycp0203</node><expire-at>2021-03-22T05:59:28Z</expire-at><entry><content>content_hnn7i30207</content></entry></data> 2021-03-21 22:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8effea0e-2de1-421f-95cb-e163b12d28e3</value></item-id></result> 2021-03-21 22:59:23 | contains: true 2021-03-21 22:59:31 | [Mutex] waiting for: [user_regularg8kn3z0202@test-domain.com:message:received:content_hnn7i30207] 2021-03-21 22:59:46 | [Mutex] timeout. Not received [user_regularg8kn3z0202@test-domain.com:message:received:content_hnn7i30207] 2021-03-21 22:59:46 | [Mutex] received everything. 2021-03-21 22:59:46 | [Mutex] isItemNotified: user_regularg8kn3z0202@test-domain.com:message:received:content_hnn7i30207 :: false 2021-03-21 22:59:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hnn7i30207 :: true |