Test duration : 45.219s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.652s |
2021-04-28 22:30:49 |
2021-04-28 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-28 22:30:49 | ------------------------------------ 2021-04-28 22:30:49 | [Mutex] isItemNotified: node_j0eb2f0203:exists :: false 2021-04-28 22:30:49 | [Mutex] waiting for: [node_j0eb2f0203:create_node] 2021-04-28 22:30:49 | [Mutex] received everything. 2021-04-28 22:30:49 | [Mutex] isItemNotified: node_j0eb2f0203:create_node:success :: true 2021-04-28 22:30:49 | [Mutex] waiting for: [node_j0eb2f0203:subscribe_node] 2021-04-28 22:30:49 | [Mutex] waiting for: [node_j0eb2f0203:subscribe_node] 2021-04-28 22:30:49 | [Mutex] received everything. 2021-04-28 22:30:49 | [Mutex] isItemNotified: node_j0eb2f0203:subscribe_node:success :: true 2021-04-28 22:30:49 | ===== publishing normal message (to online) 2021-04-28 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:30:49 | command: <data><node>node_j0eb2f0203</node><entry><content>content_ekna8k0204</content></entry></data> 2021-04-28 22:30:49 | target: http://localhost:8088 2021-04-28 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 22:30:49 | entity: <data><node>node_j0eb2f0203</node><entry><content>content_ekna8k0204</content></entry></data> 2021-04-28 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c437c8ec-4029-4c19-a0b5-546e803b1f29</value></item-id></result> 2021-04-28 22:30:49 | contains: true 2021-04-28 22:30:49 | [Mutex] received everything. 2021-04-28 22:30:49 | [Mutex] isItemNotified: user_regularu6y9nu0202@test-domain.com:message:received:content_ekna8k0204 :: true 2021-04-28 22:30:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-28 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:30:49 | command: <data><node>node_j0eb2f0203</node><expire-at>2021-04-29T05:30:44Z</expire-at><entry><content>content_4wr0sm0205</content></entry></data> 2021-04-28 22:30:49 | target: http://localhost:8088 2021-04-28 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 22:30:49 | entity: <data><node>node_j0eb2f0203</node><expire-at>2021-04-29T05:30:44Z</expire-at><entry><content>content_4wr0sm0205</content></entry></data> 2021-04-28 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d0669e8-5e0a-4cb3-9231-0f2b0ccc96ef</value></item-id></result> 2021-04-28 22:30:49 | contains: true 2021-04-28 22:30:49 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_4wr0sm0205] 2021-04-28 22:31:04 | [Mutex] timeout. Not received [user_regularu6y9nu0202@test-domain.com:message:received:content_4wr0sm0205] 2021-04-28 22:31:04 | [Mutex] isItemNotified: user_regularu6y9nu0202@test-domain.com:message:received:content_4wr0sm0205 :: false 2021-04-28 22:31:04 | ===== publishing normal message (to offline) 2021-04-28 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:31:04 | command: <data><node>node_j0eb2f0203</node><entry><content>content_lw3xfg0206</content></entry></data> 2021-04-28 22:31:04 | target: http://localhost:8088 2021-04-28 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 22:31:04 | entity: <data><node>node_j0eb2f0203</node><entry><content>content_lw3xfg0206</content></entry></data> 2021-04-28 22:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ddcfcbfd-e49a-4977-84dd-fd596eaa9c08</value></item-id></result> 2021-04-28 22:31:04 | contains: true 2021-04-28 22:31:09 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_lw3xfg0206] 2021-04-28 22:31:09 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_lw3xfg0206] 2021-04-28 22:31:09 | [Mutex] received everything. 2021-04-28 22:31:09 | [Mutex] isItemNotified: user_regularu6y9nu0202@test-domain.com:message:received:content_lw3xfg0206 :: true 2021-04-28 22:31:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-28 22:31:09 | [Mutex] received everything. 2021-04-28 22:31:09 | [Mutex] isItemNotified: node_j0eb2f0203:subscribe_node:success :: true 2021-04-28 22:31:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:31:09 | command: <data><node>node_j0eb2f0203</node><expire-at>2021-04-29T05:31:14Z</expire-at><entry><content>content_l9jx7i0207</content></entry></data> 2021-04-28 22:31:09 | target: http://localhost:8088 2021-04-28 22:31:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 22:31:09 | entity: <data><node>node_j0eb2f0203</node><expire-at>2021-04-29T05:31:14Z</expire-at><entry><content>content_l9jx7i0207</content></entry></data> 2021-04-28 22:31:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:31:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:31:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2573f12d-568b-4d70-8109-e3b11d7ba0c3</value></item-id></result> 2021-04-28 22:31:09 | contains: true 2021-04-28 22:31:17 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_l9jx7i0207] 2021-04-28 22:31:17 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_l9jx7i0207] 2021-04-28 22:31:17 | [Mutex] waiting for: [user_regularu6y9nu0202@test-domain.com:message:received:content_l9jx7i0207] 2021-04-28 22:31:32 | [Mutex] timeout. Not received [user_regularu6y9nu0202@test-domain.com:message:received:content_l9jx7i0207] 2021-04-28 22:31:32 | [Mutex] received everything. 2021-04-28 22:31:32 | [Mutex] isItemNotified: user_regularu6y9nu0202@test-domain.com:message:received:content_l9jx7i0207 :: false 2021-04-28 22:31:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l9jx7i0207 :: true |