Test duration : 44.940s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.660s |
2021-10-05 22:28:28 |
2021-10-05 22:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-05 22:28:28 | ------------------------------------ 2021-10-05 22:28:28 | [Mutex] isItemNotified: node_g2emxh0203:exists :: false 2021-10-05 22:28:28 | [Mutex] waiting for: [node_g2emxh0203:create_node] 2021-10-05 22:28:28 | [Mutex] received everything. 2021-10-05 22:28:28 | [Mutex] isItemNotified: node_g2emxh0203:create_node:success :: true 2021-10-05 22:28:28 | [Mutex] waiting for: [node_g2emxh0203:subscribe_node] 2021-10-05 22:28:28 | [Mutex] received everything. 2021-10-05 22:28:28 | [Mutex] isItemNotified: node_g2emxh0203:subscribe_node:success :: true 2021-10-05 22:28:28 | ===== publishing normal message (to online) 2021-10-05 22:28:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:28:28 | command: <data><node>node_g2emxh0203</node><entry><content>content_ywjwul0204</content></entry></data> 2021-10-05 22:28:28 | target: http://localhost:8088 2021-10-05 22:28:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 22:28:28 | entity: <data><node>node_g2emxh0203</node><entry><content>content_ywjwul0204</content></entry></data> 2021-10-05 22:28:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:28:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:28:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>673ac2fc-c409-4bac-b62c-90a649f707c4</value></item-id></result> 2021-10-05 22:28:28 | contains: true 2021-10-05 22:28:28 | [Mutex] received everything. 2021-10-05 22:28:28 | [Mutex] isItemNotified: user_regular4dt5dh0202@test-domain.com:message:received:content_ywjwul0204 :: true 2021-10-05 22:28:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-05 22:28:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:28:28 | command: <data><node>node_g2emxh0203</node><expire-at>2021-10-06T05:28:23Z</expire-at><entry><content>content_i6lq5t0205</content></entry></data> 2021-10-05 22:28:28 | target: http://localhost:8088 2021-10-05 22:28:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 22:28:28 | entity: <data><node>node_g2emxh0203</node><expire-at>2021-10-06T05:28:23Z</expire-at><entry><content>content_i6lq5t0205</content></entry></data> 2021-10-05 22:28:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:28:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:28:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3cdd1ee5-34fe-49a7-87dc-35396b2cbddc</value></item-id></result> 2021-10-05 22:28:28 | contains: true 2021-10-05 22:28:28 | [Mutex] waiting for: [user_regular4dt5dh0202@test-domain.com:message:received:content_i6lq5t0205] 2021-10-05 22:28:43 | [Mutex] timeout. Not received [user_regular4dt5dh0202@test-domain.com:message:received:content_i6lq5t0205] 2021-10-05 22:28:43 | [Mutex] isItemNotified: user_regular4dt5dh0202@test-domain.com:message:received:content_i6lq5t0205 :: false 2021-10-05 22:28:43 | ===== publishing normal message (to offline) 2021-10-05 22:28:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:28:43 | command: <data><node>node_g2emxh0203</node><entry><content>content_6ffv090206</content></entry></data> 2021-10-05 22:28:43 | target: http://localhost:8088 2021-10-05 22:28:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 22:28:43 | entity: <data><node>node_g2emxh0203</node><entry><content>content_6ffv090206</content></entry></data> 2021-10-05 22:28:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:28:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:28:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>836288bd-1ae2-4373-a02c-a4a259607e4b</value></item-id></result> 2021-10-05 22:28:44 | contains: true 2021-10-05 22:28:49 | [Mutex] waiting for: [user_regular4dt5dh0202@test-domain.com:message:received:content_6ffv090206] 2021-10-05 22:28:49 | [Mutex] waiting for: [user_regular4dt5dh0202@test-domain.com:message:received:content_6ffv090206] 2021-10-05 22:28:49 | [Mutex] received everything. 2021-10-05 22:28:49 | [Mutex] isItemNotified: user_regular4dt5dh0202@test-domain.com:message:received:content_6ffv090206 :: true 2021-10-05 22:28:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-05 22:28:49 | [Mutex] received everything. 2021-10-05 22:28:49 | [Mutex] isItemNotified: node_g2emxh0203:subscribe_node:success :: true 2021-10-05 22:28:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:28:49 | command: <data><node>node_g2emxh0203</node><expire-at>2021-10-06T05:28:54Z</expire-at><entry><content>content_c6resr0207</content></entry></data> 2021-10-05 22:28:49 | target: http://localhost:8088 2021-10-05 22:28:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 22:28:49 | entity: <data><node>node_g2emxh0203</node><expire-at>2021-10-06T05:28:54Z</expire-at><entry><content>content_c6resr0207</content></entry></data> 2021-10-05 22:28:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:28:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:28:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e99ef259-ae7d-4619-9644-f37bc3111086</value></item-id></result> 2021-10-05 22:28:49 | contains: true 2021-10-05 22:28:57 | [Mutex] waiting for: [user_regular4dt5dh0202@test-domain.com:message:received:content_c6resr0207] 2021-10-05 22:28:57 | [Mutex] waiting for: [user_regular4dt5dh0202@test-domain.com:message:received:content_c6resr0207] 2021-10-05 22:29:12 | [Mutex] timeout. Not received [user_regular4dt5dh0202@test-domain.com:message:received:content_c6resr0207] 2021-10-05 22:29:12 | [Mutex] received everything. 2021-10-05 22:29:12 | [Mutex] isItemNotified: user_regular4dt5dh0202@test-domain.com:message:received:content_c6resr0207 :: false 2021-10-05 22:29:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c6resr0207 :: true |