Test duration : 45.408s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.672s |
2022-02-17 21:32:31 |
2022-02-17 21:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-17 21:32:31 | ------------------------------------ 2022-02-17 21:32:31 | [Mutex] isItemNotified: node_ahy6wk0203:exists :: false 2022-02-17 21:32:31 | [Mutex] waiting for: [node_ahy6wk0203:create_node] 2022-02-17 21:32:31 | [Mutex] received everything. 2022-02-17 21:32:31 | [Mutex] isItemNotified: node_ahy6wk0203:create_node:success :: true 2022-02-17 21:32:31 | [Mutex] waiting for: [node_ahy6wk0203:subscribe_node] 2022-02-17 21:32:31 | [Mutex] waiting for: [node_ahy6wk0203:subscribe_node] 2022-02-17 21:32:31 | [Mutex] received everything. 2022-02-17 21:32:31 | [Mutex] isItemNotified: node_ahy6wk0203:subscribe_node:success :: true 2022-02-17 21:32:31 | ===== publishing normal message (to online) 2022-02-17 21:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 21:32:31 | command: <data><node>node_ahy6wk0203</node><entry><content>content_sp2wfm0204</content></entry></data> 2022-02-17 21:32:31 | target: http://localhost:8088 2022-02-17 21:32:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 21:32:31 | entity: <data><node>node_ahy6wk0203</node><entry><content>content_sp2wfm0204</content></entry></data> 2022-02-17 21:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 21:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f764414-ec58-489d-a060-b7eaefd3a90d</value></item-id></result> 2022-02-17 21:32:31 | contains: true 2022-02-17 21:32:31 | [Mutex] received everything. 2022-02-17 21:32:31 | [Mutex] isItemNotified: user_regularxbdde90202@test-domain.com:message:received:content_sp2wfm0204 :: true 2022-02-17 21:32:31 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-17 21:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 21:32:31 | command: <data><node>node_ahy6wk0203</node><expire-at>2022-02-18T05:32:26Z</expire-at><entry><content>content_3lg2i40205</content></entry></data> 2022-02-17 21:32:31 | target: http://localhost:8088 2022-02-17 21:32:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 21:32:31 | entity: <data><node>node_ahy6wk0203</node><expire-at>2022-02-18T05:32:26Z</expire-at><entry><content>content_3lg2i40205</content></entry></data> 2022-02-17 21:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 21:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>762b4cd1-71a6-431f-9455-9bc8062107d2</value></item-id></result> 2022-02-17 21:32:31 | contains: true 2022-02-17 21:32:31 | [Mutex] waiting for: [user_regularxbdde90202@test-domain.com:message:received:content_3lg2i40205] 2022-02-17 21:32:46 | [Mutex] timeout. Not received [user_regularxbdde90202@test-domain.com:message:received:content_3lg2i40205] 2022-02-17 21:32:46 | [Mutex] isItemNotified: user_regularxbdde90202@test-domain.com:message:received:content_3lg2i40205 :: false 2022-02-17 21:32:46 | ===== publishing normal message (to offline) 2022-02-17 21:32:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 21:32:46 | command: <data><node>node_ahy6wk0203</node><entry><content>content_mrm7zv0206</content></entry></data> 2022-02-17 21:32:46 | target: http://localhost:8088 2022-02-17 21:32:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 21:32:46 | entity: <data><node>node_ahy6wk0203</node><entry><content>content_mrm7zv0206</content></entry></data> 2022-02-17 21:32:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:32:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 21:32:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc3825cb-43da-4b2f-921a-c15d4c31545b</value></item-id></result> 2022-02-17 21:32:46 | contains: true 2022-02-17 21:32:51 | [Mutex] waiting for: [user_regularxbdde90202@test-domain.com:message:received:content_mrm7zv0206] 2022-02-17 21:32:51 | [Mutex] received everything. 2022-02-17 21:32:51 | [Mutex] isItemNotified: user_regularxbdde90202@test-domain.com:message:received:content_mrm7zv0206 :: true 2022-02-17 21:32:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-17 21:32:51 | [Mutex] received everything. 2022-02-17 21:32:51 | [Mutex] isItemNotified: node_ahy6wk0203:subscribe_node:success :: true 2022-02-17 21:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 21:32:51 | command: <data><node>node_ahy6wk0203</node><expire-at>2022-02-18T05:32:56Z</expire-at><entry><content>content_m4kngf0207</content></entry></data> 2022-02-17 21:32:51 | target: http://localhost:8088 2022-02-17 21:32:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 21:32:51 | entity: <data><node>node_ahy6wk0203</node><expire-at>2022-02-18T05:32:56Z</expire-at><entry><content>content_m4kngf0207</content></entry></data> 2022-02-17 21:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 21:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>429d789f-cedc-4f64-96e6-1a439fa0b894</value></item-id></result> 2022-02-17 21:32:51 | contains: true 2022-02-17 21:32:59 | [Mutex] waiting for: [user_regularxbdde90202@test-domain.com:message:received:content_m4kngf0207] 2022-02-17 21:33:14 | [Mutex] timeout. Not received [user_regularxbdde90202@test-domain.com:message:received:content_m4kngf0207] 2022-02-17 21:33:14 | [Mutex] received everything. 2022-02-17 21:33:14 | [Mutex] isItemNotified: user_regularxbdde90202@test-domain.com:message:received:content_m4kngf0207 :: false 2022-02-17 21:33:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m4kngf0207 :: true |