Test duration : 45.220s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.726s |
2021-04-23 10:31:31 |
2021-04-23 10:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-23 10:31:31 | ------------------------------------ 2021-04-23 10:31:31 | [Mutex] isItemNotified: node_k1esqh0203:exists :: false 2021-04-23 10:31:31 | [Mutex] waiting for: [node_k1esqh0203:create_node] 2021-04-23 10:31:31 | [Mutex] received everything. 2021-04-23 10:31:31 | [Mutex] isItemNotified: node_k1esqh0203:create_node:success :: true 2021-04-23 10:31:31 | [Mutex] waiting for: [node_k1esqh0203:subscribe_node] 2021-04-23 10:31:31 | [Mutex] waiting for: [node_k1esqh0203:subscribe_node] 2021-04-23 10:31:31 | [Mutex] received everything. 2021-04-23 10:31:31 | [Mutex] isItemNotified: node_k1esqh0203:subscribe_node:success :: true 2021-04-23 10:31:31 | ===== publishing normal message (to online) 2021-04-23 10:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:31:31 | command: <data><node>node_k1esqh0203</node><entry><content>content_48fy0p0204</content></entry></data> 2021-04-23 10:31:31 | target: http://localhost:8088 2021-04-23 10:31:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-23 10:31:31 | entity: <data><node>node_k1esqh0203</node><entry><content>content_48fy0p0204</content></entry></data> 2021-04-23 10:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>261f7b96-7268-4a95-bd91-f9e94652c97b</value></item-id></result> 2021-04-23 10:31:31 | contains: true 2021-04-23 10:31:31 | [Mutex] received everything. 2021-04-23 10:31:31 | [Mutex] isItemNotified: user_regularoj4hgf0202@test-domain.com:message:received:content_48fy0p0204 :: true 2021-04-23 10:31:31 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-23 10:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:31:31 | command: <data><node>node_k1esqh0203</node><expire-at>2021-04-23T17:31:26Z</expire-at><entry><content>content_580bzr0205</content></entry></data> 2021-04-23 10:31:31 | target: http://localhost:8088 2021-04-23 10:31:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-23 10:31:31 | entity: <data><node>node_k1esqh0203</node><expire-at>2021-04-23T17:31:26Z</expire-at><entry><content>content_580bzr0205</content></entry></data> 2021-04-23 10:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f10830d7-249d-44c0-b0da-174a331e996a</value></item-id></result> 2021-04-23 10:31:31 | contains: true 2021-04-23 10:31:31 | [Mutex] waiting for: [user_regularoj4hgf0202@test-domain.com:message:received:content_580bzr0205] 2021-04-23 10:31:46 | [Mutex] timeout. Not received [user_regularoj4hgf0202@test-domain.com:message:received:content_580bzr0205] 2021-04-23 10:31:46 | [Mutex] isItemNotified: user_regularoj4hgf0202@test-domain.com:message:received:content_580bzr0205 :: false 2021-04-23 10:31:46 | ===== publishing normal message (to offline) 2021-04-23 10:31:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:31:46 | command: <data><node>node_k1esqh0203</node><entry><content>content_7pdyu40206</content></entry></data> 2021-04-23 10:31:46 | target: http://localhost:8088 2021-04-23 10:31:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-23 10:31:46 | entity: <data><node>node_k1esqh0203</node><entry><content>content_7pdyu40206</content></entry></data> 2021-04-23 10:31:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:31:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:31:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>393d76f5-d043-44d2-90b6-d6a658d6c9d3</value></item-id></result> 2021-04-23 10:31:46 | contains: true 2021-04-23 10:31:51 | [Mutex] waiting for: [user_regularoj4hgf0202@test-domain.com:message:received:content_7pdyu40206] 2021-04-23 10:31:51 | [Mutex] received everything. 2021-04-23 10:31:51 | [Mutex] isItemNotified: user_regularoj4hgf0202@test-domain.com:message:received:content_7pdyu40206 :: true 2021-04-23 10:31:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-23 10:31:51 | [Mutex] received everything. 2021-04-23 10:31:51 | [Mutex] isItemNotified: node_k1esqh0203:subscribe_node:success :: true 2021-04-23 10:31:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:31:51 | command: <data><node>node_k1esqh0203</node><expire-at>2021-04-23T17:31:56Z</expire-at><entry><content>content_k8sjbf0207</content></entry></data> 2021-04-23 10:31:51 | target: http://localhost:8088 2021-04-23 10:31:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-23 10:31:51 | entity: <data><node>node_k1esqh0203</node><expire-at>2021-04-23T17:31:56Z</expire-at><entry><content>content_k8sjbf0207</content></entry></data> 2021-04-23 10:31:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:31:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:31:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4b3b8a55-8b20-4ef9-acaa-1263fbbc4c0c</value></item-id></result> 2021-04-23 10:31:51 | contains: true 2021-04-23 10:32:00 | [Mutex] waiting for: [user_regularoj4hgf0202@test-domain.com:message:received:content_k8sjbf0207] 2021-04-23 10:32:00 | [Mutex] waiting for: [user_regularoj4hgf0202@test-domain.com:message:received:content_k8sjbf0207] 2021-04-23 10:32:15 | [Mutex] timeout. Not received [user_regularoj4hgf0202@test-domain.com:message:received:content_k8sjbf0207] 2021-04-23 10:32:15 | [Mutex] received everything. 2021-04-23 10:32:15 | [Mutex] isItemNotified: user_regularoj4hgf0202@test-domain.com:message:received:content_k8sjbf0207 :: false 2021-04-23 10:32:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k8sjbf0207 :: true |