Test duration : 45.176s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.762s |
2020-10-23 23:00:02 |
2020-10-23 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-23 23:00:02 | ------------------------------------ 2020-10-23 23:00:02 | [Mutex] isItemNotified: node_b4tnh10203:exists :: false 2020-10-23 23:00:02 | [Mutex] waiting for: [node_b4tnh10203:create_node] 2020-10-23 23:00:02 | [Mutex] received everything. 2020-10-23 23:00:02 | [Mutex] isItemNotified: node_b4tnh10203:create_node:success :: true 2020-10-23 23:00:02 | [Mutex] waiting for: [node_b4tnh10203:subscribe_node] 2020-10-23 23:00:02 | [Mutex] waiting for: [node_b4tnh10203:subscribe_node] 2020-10-23 23:00:02 | [Mutex] received everything. 2020-10-23 23:00:02 | [Mutex] isItemNotified: node_b4tnh10203:subscribe_node:success :: true 2020-10-23 23:00:02 | ===== publishing normal message (to online) 2020-10-23 23:00:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 23:00:02 | command: <data><node>node_b4tnh10203</node><entry><content>content_r7c85u0204</content></entry></data> 2020-10-23 23:00:02 | target: http://localhost:8088 2020-10-23 23:00:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 23:00:02 | entity: <data><node>node_b4tnh10203</node><entry><content>content_r7c85u0204</content></entry></data> 2020-10-23 23:00:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 06:00:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 23:00:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aee827e8-c312-4772-8e88-73bd665c3f98</value></item-id></result> 2020-10-23 23:00:02 | contains: true 2020-10-23 23:00:02 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_r7c85u0204] 2020-10-23 23:00:02 | [Mutex] received everything. 2020-10-23 23:00:02 | [Mutex] isItemNotified: user_regularnhwkvr0202@test-domain.com:message:received:content_r7c85u0204 :: true 2020-10-23 23:00:02 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-23 23:00:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 23:00:02 | command: <data><node>node_b4tnh10203</node><expire-at>2020-10-24T05:59:57Z</expire-at><entry><content>content_pu2ynl0205</content></entry></data> 2020-10-23 23:00:02 | target: http://localhost:8088 2020-10-23 23:00:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 23:00:02 | entity: <data><node>node_b4tnh10203</node><expire-at>2020-10-24T05:59:57Z</expire-at><entry><content>content_pu2ynl0205</content></entry></data> 2020-10-23 23:00:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 06:00:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 23:00:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8ebc236-332a-4ab3-8c7e-8fe30495d137</value></item-id></result> 2020-10-23 23:00:02 | contains: true 2020-10-23 23:00:02 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_pu2ynl0205] 2020-10-23 23:00:17 | [Mutex] timeout. Not received [user_regularnhwkvr0202@test-domain.com:message:received:content_pu2ynl0205] 2020-10-23 23:00:17 | [Mutex] isItemNotified: user_regularnhwkvr0202@test-domain.com:message:received:content_pu2ynl0205 :: false 2020-10-23 23:00:17 | ===== publishing normal message (to offline) 2020-10-23 23:00:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 23:00:18 | command: <data><node>node_b4tnh10203</node><entry><content>content_7mzm5y0206</content></entry></data> 2020-10-23 23:00:18 | target: http://localhost:8088 2020-10-23 23:00:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 23:00:18 | entity: <data><node>node_b4tnh10203</node><entry><content>content_7mzm5y0206</content></entry></data> 2020-10-23 23:00:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 06:00:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 23:00:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>34227263-d75e-4cb1-9b62-7210d9f4b6d2</value></item-id></result> 2020-10-23 23:00:18 | contains: true 2020-10-23 23:00:23 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_7mzm5y0206] 2020-10-23 23:00:23 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_7mzm5y0206] 2020-10-23 23:00:23 | [Mutex] received everything. 2020-10-23 23:00:23 | [Mutex] isItemNotified: user_regularnhwkvr0202@test-domain.com:message:received:content_7mzm5y0206 :: true 2020-10-23 23:00:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-23 23:00:23 | [Mutex] received everything. 2020-10-23 23:00:23 | [Mutex] isItemNotified: node_b4tnh10203:subscribe_node:success :: true 2020-10-23 23:00:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 23:00:23 | command: <data><node>node_b4tnh10203</node><expire-at>2020-10-24T06:00:28Z</expire-at><entry><content>content_s5n6kw0207</content></entry></data> 2020-10-23 23:00:23 | target: http://localhost:8088 2020-10-23 23:00:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 23:00:23 | entity: <data><node>node_b4tnh10203</node><expire-at>2020-10-24T06:00:28Z</expire-at><entry><content>content_s5n6kw0207</content></entry></data> 2020-10-23 23:00:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 06:00:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 23:00:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2726d6c5-2ccb-463c-9023-444542fa2ccd</value></item-id></result> 2020-10-23 23:00:23 | contains: true 2020-10-23 23:00:31 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_s5n6kw0207] 2020-10-23 23:00:31 | [Mutex] waiting for: [user_regularnhwkvr0202@test-domain.com:message:received:content_s5n6kw0207] 2020-10-23 23:00:46 | [Mutex] timeout. Not received [user_regularnhwkvr0202@test-domain.com:message:received:content_s5n6kw0207] 2020-10-23 23:00:46 | [Mutex] received everything. 2020-10-23 23:00:46 | [Mutex] isItemNotified: user_regularnhwkvr0202@test-domain.com:message:received:content_s5n6kw0207 :: false 2020-10-23 23:00:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s5n6kw0207 :: true |