Test duration : 45.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.748s |
2020-10-11 22:29:08 |
2020-10-11 22:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-11 22:29:08 | ------------------------------------ 2020-10-11 22:29:08 | [Mutex] isItemNotified: node_sq390p0203:exists :: false 2020-10-11 22:29:08 | [Mutex] waiting for: [node_sq390p0203:create_node] 2020-10-11 22:29:08 | [Mutex] received everything. 2020-10-11 22:29:08 | [Mutex] isItemNotified: node_sq390p0203:create_node:success :: true 2020-10-11 22:29:08 | [Mutex] waiting for: [node_sq390p0203:subscribe_node] 2020-10-11 22:29:08 | [Mutex] waiting for: [node_sq390p0203:subscribe_node] 2020-10-11 22:29:08 | [Mutex] received everything. 2020-10-11 22:29:08 | [Mutex] isItemNotified: node_sq390p0203:subscribe_node:success :: true 2020-10-11 22:29:08 | ===== publishing normal message (to online) 2020-10-11 22:29:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-11 22:29:08 | command: <data><node>node_sq390p0203</node><entry><content>content_8ykloj0204</content></entry></data> 2020-10-11 22:29:08 | target: http://localhost:8088 2020-10-11 22:29:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-11 22:29:08 | entity: <data><node>node_sq390p0203</node><entry><content>content_8ykloj0204</content></entry></data> 2020-10-11 22:29:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:29:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-11 22:29:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>087de127-925f-4727-b78f-af77ae0a9564</value></item-id></result> 2020-10-11 22:29:08 | contains: true 2020-10-11 22:29:08 | [Mutex] received everything. 2020-10-11 22:29:08 | [Mutex] isItemNotified: user_regularmzqwrf0202@test-domain.com:message:received:content_8ykloj0204 :: true 2020-10-11 22:29:08 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-11 22:29:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-11 22:29:08 | command: <data><node>node_sq390p0203</node><expire-at>2020-10-12T05:29:03Z</expire-at><entry><content>content_tvrgvk0205</content></entry></data> 2020-10-11 22:29:08 | target: http://localhost:8088 2020-10-11 22:29:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-11 22:29:08 | entity: <data><node>node_sq390p0203</node><expire-at>2020-10-12T05:29:03Z</expire-at><entry><content>content_tvrgvk0205</content></entry></data> 2020-10-11 22:29:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:29:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-11 22:29:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>323e4322-0644-48c2-a1e8-42bba721b902</value></item-id></result> 2020-10-11 22:29:08 | contains: true 2020-10-11 22:29:08 | [Mutex] waiting for: [user_regularmzqwrf0202@test-domain.com:message:received:content_tvrgvk0205] 2020-10-11 22:29:23 | [Mutex] timeout. Not received [user_regularmzqwrf0202@test-domain.com:message:received:content_tvrgvk0205] 2020-10-11 22:29:23 | [Mutex] isItemNotified: user_regularmzqwrf0202@test-domain.com:message:received:content_tvrgvk0205 :: false 2020-10-11 22:29:23 | ===== publishing normal message (to offline) 2020-10-11 22:29:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-11 22:29:23 | command: <data><node>node_sq390p0203</node><entry><content>content_lyl8m20206</content></entry></data> 2020-10-11 22:29:23 | target: http://localhost:8088 2020-10-11 22:29:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-11 22:29:23 | entity: <data><node>node_sq390p0203</node><entry><content>content_lyl8m20206</content></entry></data> 2020-10-11 22:29:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:29:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-11 22:29:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>59a3291d-14e7-42f5-9e93-dda92b924eb2</value></item-id></result> 2020-10-11 22:29:23 | contains: true 2020-10-11 22:29:29 | [Mutex] waiting for: [user_regularmzqwrf0202@test-domain.com:message:received:content_lyl8m20206] 2020-10-11 22:29:29 | [Mutex] received everything. 2020-10-11 22:29:29 | [Mutex] isItemNotified: user_regularmzqwrf0202@test-domain.com:message:received:content_lyl8m20206 :: true 2020-10-11 22:29:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-11 22:29:29 | [Mutex] received everything. 2020-10-11 22:29:29 | [Mutex] isItemNotified: node_sq390p0203:subscribe_node:success :: true 2020-10-11 22:29:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-11 22:29:29 | command: <data><node>node_sq390p0203</node><expire-at>2020-10-12T05:29:34Z</expire-at><entry><content>content_ssznfb0207</content></entry></data> 2020-10-11 22:29:29 | target: http://localhost:8088 2020-10-11 22:29:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-11 22:29:29 | entity: <data><node>node_sq390p0203</node><expire-at>2020-10-12T05:29:34Z</expire-at><entry><content>content_ssznfb0207</content></entry></data> 2020-10-11 22:29:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:29:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-11 22:29:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad86336d-661d-4d7c-a5a3-a6d565bd7868</value></item-id></result> 2020-10-11 22:29:29 | contains: true 2020-10-11 22:29:37 | [Mutex] waiting for: [user_regularmzqwrf0202@test-domain.com:message:received:content_ssznfb0207] 2020-10-11 22:29:37 | [Mutex] waiting for: [user_regularmzqwrf0202@test-domain.com:message:received:content_ssznfb0207] 2020-10-11 22:29:52 | [Mutex] timeout. Not received [user_regularmzqwrf0202@test-domain.com:message:received:content_ssznfb0207] 2020-10-11 22:29:52 | [Mutex] received everything. 2020-10-11 22:29:52 | [Mutex] isItemNotified: user_regularmzqwrf0202@test-domain.com:message:received:content_ssznfb0207 :: false 2020-10-11 22:29:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ssznfb0207 :: true |