Test duration : 45.629s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.687s |
2021-03-21 22:44:23 |
2021-03-21 22:44:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-21 22:44:23 | ------------------------------------ 2021-03-21 22:44:23 | [Mutex] isItemNotified: node_esdh560203:exists :: false 2021-03-21 22:44:23 | [Mutex] waiting for: [node_esdh560203:create_node] 2021-03-21 22:44:23 | [Mutex] received everything. 2021-03-21 22:44:23 | [Mutex] isItemNotified: node_esdh560203:create_node:success :: true 2021-03-21 22:44:23 | [Mutex] waiting for: [node_esdh560203:subscribe_node] 2021-03-21 22:44:23 | [Mutex] received everything. 2021-03-21 22:44:23 | [Mutex] isItemNotified: node_esdh560203:subscribe_node:success :: true 2021-03-21 22:44:23 | ===== publishing normal message (to online) 2021-03-21 22:44:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:44:23 | command: <data><node>node_esdh560203</node><entry><content>content_41os4r0204</content></entry></data> 2021-03-21 22:44:23 | target: http://localhost:8088 2021-03-21 22:44:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:44:23 | entity: <data><node>node_esdh560203</node><entry><content>content_41os4r0204</content></entry></data> 2021-03-21 22:44:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:44:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:44:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>388dcb20-0408-4a1c-b926-794890af6b0a</value></item-id></result> 2021-03-21 22:44:23 | contains: true 2021-03-21 22:44:23 | [Mutex] received everything. 2021-03-21 22:44:23 | [Mutex] isItemNotified: user_regularj01ltx0202@test-domain.com:message:received:content_41os4r0204 :: true 2021-03-21 22:44:23 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-21 22:44:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:44:23 | command: <data><node>node_esdh560203</node><expire-at>2021-03-22T05:44:18Z</expire-at><entry><content>content_jq2g7n0205</content></entry></data> 2021-03-21 22:44:23 | target: http://localhost:8088 2021-03-21 22:44:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:44:23 | entity: <data><node>node_esdh560203</node><expire-at>2021-03-22T05:44:18Z</expire-at><entry><content>content_jq2g7n0205</content></entry></data> 2021-03-21 22:44:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:44:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:44:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d12254d4-9bfa-4041-ad4e-d00b765a49a9</value></item-id></result> 2021-03-21 22:44:23 | contains: true 2021-03-21 22:44:23 | [Mutex] waiting for: [user_regularj01ltx0202@test-domain.com:message:received:content_jq2g7n0205] 2021-03-21 22:44:38 | [Mutex] timeout. Not received [user_regularj01ltx0202@test-domain.com:message:received:content_jq2g7n0205] 2021-03-21 22:44:38 | [Mutex] isItemNotified: user_regularj01ltx0202@test-domain.com:message:received:content_jq2g7n0205 :: false 2021-03-21 22:44:38 | ===== publishing normal message (to offline) 2021-03-21 22:44:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:44:38 | command: <data><node>node_esdh560203</node><entry><content>content_qe5xy80206</content></entry></data> 2021-03-21 22:44:38 | target: http://localhost:8088 2021-03-21 22:44:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:44:38 | entity: <data><node>node_esdh560203</node><entry><content>content_qe5xy80206</content></entry></data> 2021-03-21 22:44:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:44:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:44:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>98d04f48-1a91-4b3c-b18d-400ecc4556af</value></item-id></result> 2021-03-21 22:44:38 | contains: true 2021-03-21 22:44:43 | [Mutex] waiting for: [user_regularj01ltx0202@test-domain.com:message:received:content_qe5xy80206] 2021-03-21 22:44:43 | [Mutex] waiting for: [user_regularj01ltx0202@test-domain.com:message:received:content_qe5xy80206] 2021-03-21 22:44:43 | [Mutex] received everything. 2021-03-21 22:44:43 | [Mutex] isItemNotified: user_regularj01ltx0202@test-domain.com:message:received:content_qe5xy80206 :: true 2021-03-21 22:44:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-21 22:44:43 | [Mutex] received everything. 2021-03-21 22:44:43 | [Mutex] isItemNotified: node_esdh560203:subscribe_node:success :: true 2021-03-21 22:44:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:44:43 | command: <data><node>node_esdh560203</node><expire-at>2021-03-22T05:44:48Z</expire-at><entry><content>content_arl4c60207</content></entry></data> 2021-03-21 22:44:43 | target: http://localhost:8088 2021-03-21 22:44:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:44:43 | entity: <data><node>node_esdh560203</node><expire-at>2021-03-22T05:44:48Z</expire-at><entry><content>content_arl4c60207</content></entry></data> 2021-03-21 22:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:44:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:44:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>77959ced-ce04-4b95-83cf-80f72e6d6457</value></item-id></result> 2021-03-21 22:44:43 | contains: true 2021-03-21 22:44:51 | [Mutex] waiting for: [user_regularj01ltx0202@test-domain.com:message:received:content_arl4c60207] 2021-03-21 22:44:51 | [Mutex] waiting for: [user_regularj01ltx0202@test-domain.com:message:received:content_arl4c60207] 2021-03-21 22:45:06 | [Mutex] timeout. Not received [user_regularj01ltx0202@test-domain.com:message:received:content_arl4c60207] 2021-03-21 22:45:06 | [Mutex] received everything. 2021-03-21 22:45:06 | [Mutex] isItemNotified: user_regularj01ltx0202@test-domain.com:message:received:content_arl4c60207 :: false 2021-03-21 22:45:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_arl4c60207 :: true |