Test duration : 45.324s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.649s |
2021-11-15 22:23:10 |
2021-11-15 22:23:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-15 22:23:10 | ------------------------------------ 2021-11-15 22:23:10 | [Mutex] isItemNotified: node_xidsa90203:exists :: false 2021-11-15 22:23:10 | [Mutex] waiting for: [node_xidsa90203:create_node] 2021-11-15 22:23:10 | [Mutex] received everything. 2021-11-15 22:23:10 | [Mutex] isItemNotified: node_xidsa90203:create_node:success :: true 2021-11-15 22:23:10 | [Mutex] waiting for: [node_xidsa90203:subscribe_node] 2021-11-15 22:23:10 | [Mutex] waiting for: [node_xidsa90203:subscribe_node] 2021-11-15 22:23:10 | [Mutex] received everything. 2021-11-15 22:23:10 | [Mutex] isItemNotified: node_xidsa90203:subscribe_node:success :: true 2021-11-15 22:23:10 | ===== publishing normal message (to online) 2021-11-15 22:23:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:23:10 | command: <data><node>node_xidsa90203</node><entry><content>content_spp2jb0204</content></entry></data> 2021-11-15 22:23:10 | target: http://localhost:8088 2021-11-15 22:23:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 22:23:10 | entity: <data><node>node_xidsa90203</node><entry><content>content_spp2jb0204</content></entry></data> 2021-11-15 22:23:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:23:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:23:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80cf4076-6bf8-4108-a9c5-c5aae1e42489</value></item-id></result> 2021-11-15 22:23:10 | contains: true 2021-11-15 22:23:10 | [Mutex] received everything. 2021-11-15 22:23:10 | [Mutex] isItemNotified: user_regularhzx1l50202@test-domain.com:message:received:content_spp2jb0204 :: true 2021-11-15 22:23:10 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-15 22:23:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:23:10 | command: <data><node>node_xidsa90203</node><expire-at>2021-11-16T06:23:05Z</expire-at><entry><content>content_pkyy090205</content></entry></data> 2021-11-15 22:23:10 | target: http://localhost:8088 2021-11-15 22:23:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 22:23:10 | entity: <data><node>node_xidsa90203</node><expire-at>2021-11-16T06:23:05Z</expire-at><entry><content>content_pkyy090205</content></entry></data> 2021-11-15 22:23:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:23:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:23:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9f0ed58-c6c1-40bf-bcab-186f63e07ac2</value></item-id></result> 2021-11-15 22:23:10 | contains: true 2021-11-15 22:23:10 | [Mutex] waiting for: [user_regularhzx1l50202@test-domain.com:message:received:content_pkyy090205] 2021-11-15 22:23:25 | [Mutex] timeout. Not received [user_regularhzx1l50202@test-domain.com:message:received:content_pkyy090205] 2021-11-15 22:23:25 | [Mutex] isItemNotified: user_regularhzx1l50202@test-domain.com:message:received:content_pkyy090205 :: false 2021-11-15 22:23:25 | ===== publishing normal message (to offline) 2021-11-15 22:23:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:23:26 | command: <data><node>node_xidsa90203</node><entry><content>content_ds4spt0206</content></entry></data> 2021-11-15 22:23:26 | target: http://localhost:8088 2021-11-15 22:23:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 22:23:26 | entity: <data><node>node_xidsa90203</node><entry><content>content_ds4spt0206</content></entry></data> 2021-11-15 22:23:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:23:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:23:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db90e365-3dae-4722-a160-00b511e05762</value></item-id></result> 2021-11-15 22:23:26 | contains: true 2021-11-15 22:23:31 | [Mutex] waiting for: [user_regularhzx1l50202@test-domain.com:message:received:content_ds4spt0206] 2021-11-15 22:23:31 | [Mutex] received everything. 2021-11-15 22:23:31 | [Mutex] isItemNotified: user_regularhzx1l50202@test-domain.com:message:received:content_ds4spt0206 :: true 2021-11-15 22:23:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-15 22:23:31 | [Mutex] received everything. 2021-11-15 22:23:31 | [Mutex] isItemNotified: node_xidsa90203:subscribe_node:success :: true 2021-11-15 22:23:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:23:31 | command: <data><node>node_xidsa90203</node><expire-at>2021-11-16T06:23:36Z</expire-at><entry><content>content_d7yghv0207</content></entry></data> 2021-11-15 22:23:31 | target: http://localhost:8088 2021-11-15 22:23:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 22:23:31 | entity: <data><node>node_xidsa90203</node><expire-at>2021-11-16T06:23:36Z</expire-at><entry><content>content_d7yghv0207</content></entry></data> 2021-11-15 22:23:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:23:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:23:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c9cbbfa9-08e5-42a4-a826-c4b928a7a13d</value></item-id></result> 2021-11-15 22:23:31 | contains: true 2021-11-15 22:23:39 | [Mutex] waiting for: [user_regularhzx1l50202@test-domain.com:message:received:content_d7yghv0207] 2021-11-15 22:23:39 | [Mutex] waiting for: [user_regularhzx1l50202@test-domain.com:message:received:content_d7yghv0207] 2021-11-15 22:23:39 | [Mutex] waiting for: [user_regularhzx1l50202@test-domain.com:message:received:content_d7yghv0207] 2021-11-15 22:23:54 | [Mutex] timeout. Not received [user_regularhzx1l50202@test-domain.com:message:received:content_d7yghv0207] 2021-11-15 22:23:54 | [Mutex] received everything. 2021-11-15 22:23:54 | [Mutex] isItemNotified: user_regularhzx1l50202@test-domain.com:message:received:content_d7yghv0207 :: false 2021-11-15 22:23:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d7yghv0207 :: true |