Test duration : 45.608s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.623s |
2022-02-03 22:23:09 |
2022-02-03 22:23:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-03 22:23:09 | ------------------------------------ 2022-02-03 22:23:09 | [Mutex] isItemNotified: node_n5err70203:exists :: false 2022-02-03 22:23:09 | [Mutex] waiting for: [node_n5err70203:create_node] 2022-02-03 22:23:09 | [Mutex] received everything. 2022-02-03 22:23:09 | [Mutex] isItemNotified: node_n5err70203:create_node:success :: true 2022-02-03 22:23:09 | [Mutex] waiting for: [node_n5err70203:subscribe_node] 2022-02-03 22:23:09 | [Mutex] received everything. 2022-02-03 22:23:09 | [Mutex] isItemNotified: node_n5err70203:subscribe_node:success :: true 2022-02-03 22:23:09 | ===== publishing normal message (to online) 2022-02-03 22:23:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 22:23:09 | command: <data><node>node_n5err70203</node><entry><content>content_f2s73c0204</content></entry></data> 2022-02-03 22:23:09 | target: http://localhost:8088 2022-02-03 22:23:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 22:23:09 | entity: <data><node>node_n5err70203</node><entry><content>content_f2s73c0204</content></entry></data> 2022-02-03 22:23:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 06:23:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 22:23:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ee982fc-db5a-4d8a-bb8f-b8670cd17753</value></item-id></result> 2022-02-03 22:23:09 | contains: true 2022-02-03 22:23:09 | [Mutex] received everything. 2022-02-03 22:23:09 | [Mutex] isItemNotified: user_regularmihfn90202@test-domain.com:message:received:content_f2s73c0204 :: true 2022-02-03 22:23:09 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-03 22:23:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 22:23:09 | command: <data><node>node_n5err70203</node><expire-at>2022-02-04T06:23:04Z</expire-at><entry><content>content_bd3w8n0205</content></entry></data> 2022-02-03 22:23:09 | target: http://localhost:8088 2022-02-03 22:23:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 22:23:09 | entity: <data><node>node_n5err70203</node><expire-at>2022-02-04T06:23:04Z</expire-at><entry><content>content_bd3w8n0205</content></entry></data> 2022-02-03 22:23:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 06:23:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 22:23:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd3940ac-4218-424e-bd57-dc96ce0aca2c</value></item-id></result> 2022-02-03 22:23:09 | contains: true 2022-02-03 22:23:09 | [Mutex] waiting for: [user_regularmihfn90202@test-domain.com:message:received:content_bd3w8n0205] 2022-02-03 22:23:24 | [Mutex] timeout. Not received [user_regularmihfn90202@test-domain.com:message:received:content_bd3w8n0205] 2022-02-03 22:23:24 | [Mutex] isItemNotified: user_regularmihfn90202@test-domain.com:message:received:content_bd3w8n0205 :: false 2022-02-03 22:23:24 | ===== publishing normal message (to offline) 2022-02-03 22:23:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 22:23:24 | command: <data><node>node_n5err70203</node><entry><content>content_uiqjah0206</content></entry></data> 2022-02-03 22:23:24 | target: http://localhost:8088 2022-02-03 22:23:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 22:23:24 | entity: <data><node>node_n5err70203</node><entry><content>content_uiqjah0206</content></entry></data> 2022-02-03 22:23:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 06:23:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 22:23:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92123919-922d-470f-ae1f-4927b41fea22</value></item-id></result> 2022-02-03 22:23:24 | contains: true 2022-02-03 22:23:29 | [Mutex] waiting for: [user_regularmihfn90202@test-domain.com:message:received:content_uiqjah0206] 2022-02-03 22:23:29 | [Mutex] received everything. 2022-02-03 22:23:29 | [Mutex] isItemNotified: user_regularmihfn90202@test-domain.com:message:received:content_uiqjah0206 :: true 2022-02-03 22:23:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-03 22:23:29 | [Mutex] received everything. 2022-02-03 22:23:29 | [Mutex] isItemNotified: node_n5err70203:subscribe_node:success :: true 2022-02-03 22:23:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 22:23:29 | command: <data><node>node_n5err70203</node><expire-at>2022-02-04T06:23:34Z</expire-at><entry><content>content_s6yjsp0207</content></entry></data> 2022-02-03 22:23:29 | target: http://localhost:8088 2022-02-03 22:23:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 22:23:29 | entity: <data><node>node_n5err70203</node><expire-at>2022-02-04T06:23:34Z</expire-at><entry><content>content_s6yjsp0207</content></entry></data> 2022-02-03 22:23:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 06:23:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 22:23:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e05d2ca-b156-44e9-8032-05d72a1eb371</value></item-id></result> 2022-02-03 22:23:29 | contains: true 2022-02-03 22:23:37 | [Mutex] waiting for: [user_regularmihfn90202@test-domain.com:message:received:content_s6yjsp0207] 2022-02-03 22:23:52 | [Mutex] timeout. Not received [user_regularmihfn90202@test-domain.com:message:received:content_s6yjsp0207] 2022-02-03 22:23:52 | [Mutex] received everything. 2022-02-03 22:23:52 | [Mutex] isItemNotified: user_regularmihfn90202@test-domain.com:message:received:content_s6yjsp0207 :: false 2022-02-03 22:23:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s6yjsp0207 :: true |