Test duration : 45.614s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.714s |
2021-05-12 23:00:14 |
2021-05-12 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-12 23:00:14 | ------------------------------------ 2021-05-12 23:00:14 | [Mutex] isItemNotified: node_vcy5zr0203:exists :: false 2021-05-12 23:00:14 | [Mutex] waiting for: [node_vcy5zr0203:create_node] 2021-05-12 23:00:14 | [Mutex] received everything. 2021-05-12 23:00:14 | [Mutex] isItemNotified: node_vcy5zr0203:create_node:success :: true 2021-05-12 23:00:14 | [Mutex] waiting for: [node_vcy5zr0203:subscribe_node] 2021-05-12 23:00:14 | [Mutex] received everything. 2021-05-12 23:00:14 | [Mutex] isItemNotified: node_vcy5zr0203:subscribe_node:success :: true 2021-05-12 23:00:14 | ===== publishing normal message (to online) 2021-05-12 23:00:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 23:00:14 | command: <data><node>node_vcy5zr0203</node><entry><content>content_hor5200204</content></entry></data> 2021-05-12 23:00:14 | target: http://localhost:8088 2021-05-12 23:00:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 23:00:14 | entity: <data><node>node_vcy5zr0203</node><entry><content>content_hor5200204</content></entry></data> 2021-05-12 23:00:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 06:00:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 23:00:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dfe93d80-b5be-47e6-9325-fd11721555f5</value></item-id></result> 2021-05-12 23:00:14 | contains: true 2021-05-12 23:00:14 | [Mutex] waiting for: [user_regularo51v0u0202@test-domain.com:message:received:content_hor5200204] 2021-05-12 23:00:14 | [Mutex] received everything. 2021-05-12 23:00:14 | [Mutex] isItemNotified: user_regularo51v0u0202@test-domain.com:message:received:content_hor5200204 :: true 2021-05-12 23:00:14 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-12 23:00:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 23:00:14 | command: <data><node>node_vcy5zr0203</node><expire-at>2021-05-13T06:00:09Z</expire-at><entry><content>content_57l8fl0205</content></entry></data> 2021-05-12 23:00:14 | target: http://localhost:8088 2021-05-12 23:00:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 23:00:14 | entity: <data><node>node_vcy5zr0203</node><expire-at>2021-05-13T06:00:09Z</expire-at><entry><content>content_57l8fl0205</content></entry></data> 2021-05-12 23:00:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 06:00:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 23:00:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8fe91cc5-9e89-4f41-9843-52b47893176b</value></item-id></result> 2021-05-12 23:00:15 | contains: true 2021-05-12 23:00:15 | [Mutex] waiting for: [user_regularo51v0u0202@test-domain.com:message:received:content_57l8fl0205] 2021-05-12 23:00:30 | [Mutex] timeout. Not received [user_regularo51v0u0202@test-domain.com:message:received:content_57l8fl0205] 2021-05-12 23:00:30 | [Mutex] isItemNotified: user_regularo51v0u0202@test-domain.com:message:received:content_57l8fl0205 :: false 2021-05-12 23:00:30 | ===== publishing normal message (to offline) 2021-05-12 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 23:00:30 | command: <data><node>node_vcy5zr0203</node><entry><content>content_p33yxl0206</content></entry></data> 2021-05-12 23:00:30 | target: http://localhost:8088 2021-05-12 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 23:00:30 | entity: <data><node>node_vcy5zr0203</node><entry><content>content_p33yxl0206</content></entry></data> 2021-05-12 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a874ad8-10b1-4918-b57b-33af667ada24</value></item-id></result> 2021-05-12 23:00:30 | contains: true 2021-05-12 23:00:35 | [Mutex] waiting for: [user_regularo51v0u0202@test-domain.com:message:received:content_p33yxl0206] 2021-05-12 23:00:35 | [Mutex] received everything. 2021-05-12 23:00:35 | [Mutex] isItemNotified: user_regularo51v0u0202@test-domain.com:message:received:content_p33yxl0206 :: true 2021-05-12 23:00:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-12 23:00:35 | [Mutex] received everything. 2021-05-12 23:00:35 | [Mutex] isItemNotified: node_vcy5zr0203:subscribe_node:success :: true 2021-05-12 23:00:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 23:00:35 | command: <data><node>node_vcy5zr0203</node><expire-at>2021-05-13T06:00:40Z</expire-at><entry><content>content_ylca8y0207</content></entry></data> 2021-05-12 23:00:35 | target: http://localhost:8088 2021-05-12 23:00:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 23:00:35 | entity: <data><node>node_vcy5zr0203</node><expire-at>2021-05-13T06:00:40Z</expire-at><entry><content>content_ylca8y0207</content></entry></data> 2021-05-12 23:00:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 06:00:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 23:00:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e57f225-6dfc-4511-a15f-1ca53606cb77</value></item-id></result> 2021-05-12 23:00:35 | contains: true 2021-05-12 23:00:43 | [Mutex] waiting for: [user_regularo51v0u0202@test-domain.com:message:received:content_ylca8y0207] 2021-05-12 23:00:58 | [Mutex] timeout. Not received [user_regularo51v0u0202@test-domain.com:message:received:content_ylca8y0207] 2021-05-12 23:00:58 | [Mutex] received everything. 2021-05-12 23:00:58 | [Mutex] isItemNotified: user_regularo51v0u0202@test-domain.com:message:received:content_ylca8y0207 :: false 2021-05-12 23:00:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ylca8y0207 :: true |