Test duration : 45.313s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.765s |
2020-09-15 23:17:02 |
2020-09-15 23:17:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-15 23:17:02 | ------------------------------------ 2020-09-15 23:17:02 | [Mutex] isItemNotified: node_mrv9qs0203:exists :: false 2020-09-15 23:17:02 | [Mutex] waiting for: [node_mrv9qs0203:create_node] 2020-09-15 23:17:02 | [Mutex] received everything. 2020-09-15 23:17:02 | [Mutex] isItemNotified: node_mrv9qs0203:create_node:success :: true 2020-09-15 23:17:02 | [Mutex] waiting for: [node_mrv9qs0203:subscribe_node] 2020-09-15 23:17:02 | [Mutex] waiting for: [node_mrv9qs0203:subscribe_node] 2020-09-15 23:17:02 | [Mutex] received everything. 2020-09-15 23:17:02 | [Mutex] isItemNotified: node_mrv9qs0203:subscribe_node:success :: true 2020-09-15 23:17:02 | ===== publishing normal message (to online) 2020-09-15 23:17:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 23:17:02 | command: <data><node>node_mrv9qs0203</node><entry><content>content_xcii9t0204</content></entry></data> 2020-09-15 23:17:02 | target: http://localhost:8088 2020-09-15 23:17:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 23:17:02 | entity: <data><node>node_mrv9qs0203</node><entry><content>content_xcii9t0204</content></entry></data> 2020-09-15 23:17:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:17:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 23:17:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9ce8128c-97f4-4db0-9b2d-bdd0b8e8b9a8</value></item-id></result> 2020-09-15 23:17:02 | contains: true 2020-09-15 23:17:02 | [Mutex] received everything. 2020-09-15 23:17:02 | [Mutex] isItemNotified: user_regularn8r89y0202@test-domain.com:message:received:content_xcii9t0204 :: true 2020-09-15 23:17:02 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-15 23:17:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 23:17:02 | command: <data><node>node_mrv9qs0203</node><expire-at>2020-09-16T06:16:57Z</expire-at><entry><content>content_1amg2g0205</content></entry></data> 2020-09-15 23:17:02 | target: http://localhost:8088 2020-09-15 23:17:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 23:17:02 | entity: <data><node>node_mrv9qs0203</node><expire-at>2020-09-16T06:16:57Z</expire-at><entry><content>content_1amg2g0205</content></entry></data> 2020-09-15 23:17:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:17:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 23:17:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1a2f87a-02de-457f-934a-5ae937395868</value></item-id></result> 2020-09-15 23:17:03 | contains: true 2020-09-15 23:17:03 | [Mutex] waiting for: [user_regularn8r89y0202@test-domain.com:message:received:content_1amg2g0205] 2020-09-15 23:17:18 | [Mutex] timeout. Not received [user_regularn8r89y0202@test-domain.com:message:received:content_1amg2g0205] 2020-09-15 23:17:18 | [Mutex] isItemNotified: user_regularn8r89y0202@test-domain.com:message:received:content_1amg2g0205 :: false 2020-09-15 23:17:18 | ===== publishing normal message (to offline) 2020-09-15 23:17:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 23:17:18 | command: <data><node>node_mrv9qs0203</node><entry><content>content_cplhfq0206</content></entry></data> 2020-09-15 23:17:18 | target: http://localhost:8088 2020-09-15 23:17:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 23:17:18 | entity: <data><node>node_mrv9qs0203</node><entry><content>content_cplhfq0206</content></entry></data> 2020-09-15 23:17:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:17:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 23:17:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a59a534-ca60-420a-8013-e51beb6f295c</value></item-id></result> 2020-09-15 23:17:18 | contains: true 2020-09-15 23:17:23 | [Mutex] waiting for: [user_regularn8r89y0202@test-domain.com:message:received:content_cplhfq0206] 2020-09-15 23:17:23 | [Mutex] waiting for: [user_regularn8r89y0202@test-domain.com:message:received:content_cplhfq0206] 2020-09-15 23:17:23 | [Mutex] received everything. 2020-09-15 23:17:23 | [Mutex] isItemNotified: user_regularn8r89y0202@test-domain.com:message:received:content_cplhfq0206 :: true 2020-09-15 23:17:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-15 23:17:23 | [Mutex] received everything. 2020-09-15 23:17:23 | [Mutex] isItemNotified: node_mrv9qs0203:subscribe_node:success :: true 2020-09-15 23:17:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 23:17:23 | command: <data><node>node_mrv9qs0203</node><expire-at>2020-09-16T06:17:28Z</expire-at><entry><content>content_c7rd380207</content></entry></data> 2020-09-15 23:17:23 | target: http://localhost:8088 2020-09-15 23:17:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 23:17:23 | entity: <data><node>node_mrv9qs0203</node><expire-at>2020-09-16T06:17:28Z</expire-at><entry><content>content_c7rd380207</content></entry></data> 2020-09-15 23:17:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:17:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 23:17:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>350f389b-cad3-4415-a569-7ef8bc9ee1ee</value></item-id></result> 2020-09-15 23:17:23 | contains: true 2020-09-15 23:17:31 | [Mutex] waiting for: [user_regularn8r89y0202@test-domain.com:message:received:content_c7rd380207] 2020-09-15 23:17:31 | [Mutex] waiting for: [user_regularn8r89y0202@test-domain.com:message:received:content_c7rd380207] 2020-09-15 23:17:46 | [Mutex] timeout. Not received [user_regularn8r89y0202@test-domain.com:message:received:content_c7rd380207] 2020-09-15 23:17:46 | [Mutex] received everything. 2020-09-15 23:17:46 | [Mutex] isItemNotified: user_regularn8r89y0202@test-domain.com:message:received:content_c7rd380207 :: false 2020-09-15 23:17:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c7rd380207 :: true |