Test duration : 45.670s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.768s |
2021-10-12 22:30:03 |
2021-10-12 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-12 22:30:03 | ------------------------------------ 2021-10-12 22:30:03 | [Mutex] isItemNotified: node_8pclci0203:exists :: false 2021-10-12 22:30:03 | [Mutex] waiting for: [node_8pclci0203:create_node] 2021-10-12 22:30:03 | [Mutex] received everything. 2021-10-12 22:30:03 | [Mutex] isItemNotified: node_8pclci0203:create_node:success :: true 2021-10-12 22:30:03 | [Mutex] waiting for: [node_8pclci0203:subscribe_node] 2021-10-12 22:30:03 | [Mutex] received everything. 2021-10-12 22:30:03 | [Mutex] isItemNotified: node_8pclci0203:subscribe_node:success :: true 2021-10-12 22:30:03 | ===== publishing normal message (to online) 2021-10-12 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 22:30:03 | command: <data><node>node_8pclci0203</node><entry><content>content_3fteb90204</content></entry></data> 2021-10-12 22:30:03 | target: http://localhost:8088 2021-10-12 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-12 22:30:03 | entity: <data><node>node_8pclci0203</node><entry><content>content_3fteb90204</content></entry></data> 2021-10-12 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8a2ac939-0b75-4e05-8264-edc7bbd6a74d</value></item-id></result> 2021-10-12 22:30:03 | contains: true 2021-10-12 22:30:03 | [Mutex] received everything. 2021-10-12 22:30:03 | [Mutex] isItemNotified: user_regulari4xb840202@test-domain.com:message:received:content_3fteb90204 :: true 2021-10-12 22:30:03 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-12 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 22:30:03 | command: <data><node>node_8pclci0203</node><expire-at>2021-10-13T05:29:58Z</expire-at><entry><content>content_hf3gkj0205</content></entry></data> 2021-10-12 22:30:03 | target: http://localhost:8088 2021-10-12 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-12 22:30:03 | entity: <data><node>node_8pclci0203</node><expire-at>2021-10-13T05:29:58Z</expire-at><entry><content>content_hf3gkj0205</content></entry></data> 2021-10-12 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>687eb3b2-c125-42aa-ad01-3f560079667b</value></item-id></result> 2021-10-12 22:30:03 | contains: true 2021-10-12 22:30:03 | [Mutex] waiting for: [user_regulari4xb840202@test-domain.com:message:received:content_hf3gkj0205] 2021-10-12 22:30:18 | [Mutex] timeout. Not received [user_regulari4xb840202@test-domain.com:message:received:content_hf3gkj0205] 2021-10-12 22:30:18 | [Mutex] isItemNotified: user_regulari4xb840202@test-domain.com:message:received:content_hf3gkj0205 :: false 2021-10-12 22:30:18 | ===== publishing normal message (to offline) 2021-10-12 22:30:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 22:30:18 | command: <data><node>node_8pclci0203</node><entry><content>content_nxvtoi0206</content></entry></data> 2021-10-12 22:30:18 | target: http://localhost:8088 2021-10-12 22:30:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-12 22:30:18 | entity: <data><node>node_8pclci0203</node><entry><content>content_nxvtoi0206</content></entry></data> 2021-10-12 22:30:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:30:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 22:30:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>080c58a4-f2bc-4c93-a8a2-d43b6af5af6f</value></item-id></result> 2021-10-12 22:30:18 | contains: true 2021-10-12 22:30:23 | [Mutex] waiting for: [user_regulari4xb840202@test-domain.com:message:received:content_nxvtoi0206] 2021-10-12 22:30:23 | [Mutex] received everything. 2021-10-12 22:30:23 | [Mutex] isItemNotified: user_regulari4xb840202@test-domain.com:message:received:content_nxvtoi0206 :: true 2021-10-12 22:30:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-12 22:30:23 | [Mutex] received everything. 2021-10-12 22:30:23 | [Mutex] isItemNotified: node_8pclci0203:subscribe_node:success :: true 2021-10-12 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 22:30:23 | command: <data><node>node_8pclci0203</node><expire-at>2021-10-13T05:30:28Z</expire-at><entry><content>content_yhkfof0207</content></entry></data> 2021-10-12 22:30:23 | target: http://localhost:8088 2021-10-12 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-12 22:30:23 | entity: <data><node>node_8pclci0203</node><expire-at>2021-10-13T05:30:28Z</expire-at><entry><content>content_yhkfof0207</content></entry></data> 2021-10-12 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be8119b6-9b9a-4373-9797-4420186ff86d</value></item-id></result> 2021-10-12 22:30:23 | contains: true 2021-10-12 22:30:31 | [Mutex] waiting for: [user_regulari4xb840202@test-domain.com:message:received:content_yhkfof0207] 2021-10-12 22:30:46 | [Mutex] timeout. Not received [user_regulari4xb840202@test-domain.com:message:received:content_yhkfof0207] 2021-10-12 22:30:46 | [Mutex] received everything. 2021-10-12 22:30:46 | [Mutex] isItemNotified: user_regulari4xb840202@test-domain.com:message:received:content_yhkfof0207 :: false 2021-10-12 22:30:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yhkfof0207 :: true |