Test duration : 45.845s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.711s |
2020-10-23 22:29:44 |
2020-10-23 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-23 22:29:44 | ------------------------------------ 2020-10-23 22:29:44 | [Mutex] isItemNotified: node_t32o980203:exists :: false 2020-10-23 22:29:44 | [Mutex] waiting for: [node_t32o980203:create_node] 2020-10-23 22:29:44 | [Mutex] waiting for: [node_t32o980203:create_node] 2020-10-23 22:29:44 | [Mutex] received everything. 2020-10-23 22:29:44 | [Mutex] isItemNotified: node_t32o980203:create_node:success :: true 2020-10-23 22:29:44 | [Mutex] waiting for: [node_t32o980203:subscribe_node] 2020-10-23 22:29:44 | [Mutex] received everything. 2020-10-23 22:29:44 | [Mutex] isItemNotified: node_t32o980203:subscribe_node:success :: true 2020-10-23 22:29:44 | ===== publishing normal message (to online) 2020-10-23 22:29:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:29:44 | command: <data><node>node_t32o980203</node><entry><content>content_kd0kxu0204</content></entry></data> 2020-10-23 22:29:44 | target: http://localhost:8088 2020-10-23 22:29:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:29:44 | entity: <data><node>node_t32o980203</node><entry><content>content_kd0kxu0204</content></entry></data> 2020-10-23 22:29:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:29:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:29:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bbc5390c-df8d-46e0-84af-9423b85feb17</value></item-id></result> 2020-10-23 22:29:44 | contains: true 2020-10-23 22:29:44 | [Mutex] waiting for: [user_regularhh8tb80202@test-domain.com:message:received:content_kd0kxu0204] 2020-10-23 22:29:44 | [Mutex] received everything. 2020-10-23 22:29:44 | [Mutex] isItemNotified: user_regularhh8tb80202@test-domain.com:message:received:content_kd0kxu0204 :: true 2020-10-23 22:29:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-23 22:29:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:29:44 | command: <data><node>node_t32o980203</node><expire-at>2020-10-24T05:29:39Z</expire-at><entry><content>content_ghwm3y0205</content></entry></data> 2020-10-23 22:29:44 | target: http://localhost:8088 2020-10-23 22:29:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:29:44 | entity: <data><node>node_t32o980203</node><expire-at>2020-10-24T05:29:39Z</expire-at><entry><content>content_ghwm3y0205</content></entry></data> 2020-10-23 22:29:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:29:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:29:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3e7b588-fa4c-4964-9888-0118c2cc83b0</value></item-id></result> 2020-10-23 22:29:44 | contains: true 2020-10-23 22:29:44 | [Mutex] waiting for: [user_regularhh8tb80202@test-domain.com:message:received:content_ghwm3y0205] 2020-10-23 22:29:59 | [Mutex] timeout. Not received [user_regularhh8tb80202@test-domain.com:message:received:content_ghwm3y0205] 2020-10-23 22:29:59 | [Mutex] isItemNotified: user_regularhh8tb80202@test-domain.com:message:received:content_ghwm3y0205 :: false 2020-10-23 22:29:59 | ===== publishing normal message (to offline) 2020-10-23 22:29:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:29:59 | command: <data><node>node_t32o980203</node><entry><content>content_plyw1m0206</content></entry></data> 2020-10-23 22:29:59 | target: http://localhost:8088 2020-10-23 22:29:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:29:59 | entity: <data><node>node_t32o980203</node><entry><content>content_plyw1m0206</content></entry></data> 2020-10-23 22:29:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:29:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:29:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85ad1308-107e-47b6-afd9-2a801f654612</value></item-id></result> 2020-10-23 22:29:59 | contains: true 2020-10-23 22:30:04 | [Mutex] waiting for: [user_regularhh8tb80202@test-domain.com:message:received:content_plyw1m0206] 2020-10-23 22:30:04 | [Mutex] received everything. 2020-10-23 22:30:04 | [Mutex] isItemNotified: user_regularhh8tb80202@test-domain.com:message:received:content_plyw1m0206 :: true 2020-10-23 22:30:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-23 22:30:04 | [Mutex] received everything. 2020-10-23 22:30:04 | [Mutex] isItemNotified: node_t32o980203:subscribe_node:success :: true 2020-10-23 22:30:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:30:04 | command: <data><node>node_t32o980203</node><expire-at>2020-10-24T05:30:09Z</expire-at><entry><content>content_7mxemn0207</content></entry></data> 2020-10-23 22:30:04 | target: http://localhost:8088 2020-10-23 22:30:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:30:04 | entity: <data><node>node_t32o980203</node><expire-at>2020-10-24T05:30:09Z</expire-at><entry><content>content_7mxemn0207</content></entry></data> 2020-10-23 22:30:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:30:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:30:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0234f461-fb7b-4f47-8d87-556ea3a9e04c</value></item-id></result> 2020-10-23 22:30:04 | contains: true 2020-10-23 22:30:13 | [Mutex] waiting for: [user_regularhh8tb80202@test-domain.com:message:received:content_7mxemn0207] 2020-10-23 22:30:13 | [Mutex] waiting for: [user_regularhh8tb80202@test-domain.com:message:received:content_7mxemn0207] 2020-10-23 22:30:28 | [Mutex] timeout. Not received [user_regularhh8tb80202@test-domain.com:message:received:content_7mxemn0207] 2020-10-23 22:30:28 | [Mutex] received everything. 2020-10-23 22:30:28 | [Mutex] isItemNotified: user_regularhh8tb80202@test-domain.com:message:received:content_7mxemn0207 :: false 2020-10-23 22:30:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7mxemn0207 :: true |