Test duration : 45.046s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.749s |
2022-02-21 21:47:08 |
2022-02-21 21:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-21 21:47:08 | ------------------------------------ 2022-02-21 21:47:08 | [Mutex] isItemNotified: node_p26s00203:exists :: false 2022-02-21 21:47:08 | [Mutex] waiting for: [node_p26s00203:create_node] 2022-02-21 21:47:08 | [Mutex] received everything. 2022-02-21 21:47:08 | [Mutex] isItemNotified: node_p26s00203:create_node:success :: true 2022-02-21 21:47:08 | [Mutex] waiting for: [node_p26s00203:subscribe_node] 2022-02-21 21:47:08 | [Mutex] received everything. 2022-02-21 21:47:08 | [Mutex] isItemNotified: node_p26s00203:subscribe_node:success :: true 2022-02-21 21:47:08 | ===== publishing normal message (to online) 2022-02-21 21:47:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:47:08 | command: <data><node>node_p26s00203</node><entry><content>content_g1ajac0204</content></entry></data> 2022-02-21 21:47:08 | target: http://localhost:8088 2022-02-21 21:47:08 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-02-21 21:47:08 | entity: <data><node>node_p26s00203</node><entry><content>content_g1ajac0204</content></entry></data> 2022-02-21 21:47:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:47:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:47:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e057df9-ea24-4262-a9c8-6ff9fa97697d</value></item-id></result> 2022-02-21 21:47:08 | contains: true 2022-02-21 21:47:08 | [Mutex] received everything. 2022-02-21 21:47:08 | [Mutex] isItemNotified: user_regular10n5aq0202@test-domain.com:message:received:content_g1ajac0204 :: true 2022-02-21 21:47:08 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-21 21:47:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:47:08 | command: <data><node>node_p26s00203</node><expire-at>2022-02-22T05:47:03Z</expire-at><entry><content>content_2gyea60205</content></entry></data> 2022-02-21 21:47:08 | target: http://localhost:8088 2022-02-21 21:47:08 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-21 21:47:08 | entity: <data><node>node_p26s00203</node><expire-at>2022-02-22T05:47:03Z</expire-at><entry><content>content_2gyea60205</content></entry></data> 2022-02-21 21:47:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:47:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:47:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>318aad59-5eec-4a1a-b71a-766807faa27d</value></item-id></result> 2022-02-21 21:47:08 | contains: true 2022-02-21 21:47:08 | [Mutex] waiting for: [user_regular10n5aq0202@test-domain.com:message:received:content_2gyea60205] 2022-02-21 21:47:23 | [Mutex] timeout. Not received [user_regular10n5aq0202@test-domain.com:message:received:content_2gyea60205] 2022-02-21 21:47:23 | [Mutex] isItemNotified: user_regular10n5aq0202@test-domain.com:message:received:content_2gyea60205 :: false 2022-02-21 21:47:23 | ===== publishing normal message (to offline) 2022-02-21 21:47:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:47:23 | command: <data><node>node_p26s00203</node><entry><content>content_n1lb400206</content></entry></data> 2022-02-21 21:47:23 | target: http://localhost:8088 2022-02-21 21:47:23 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-02-21 21:47:23 | entity: <data><node>node_p26s00203</node><entry><content>content_n1lb400206</content></entry></data> 2022-02-21 21:47:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:47:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:47:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>510e91ec-3ba1-4acf-9aa9-649eeb9a2a3e</value></item-id></result> 2022-02-21 21:47:23 | contains: true 2022-02-21 21:47:28 | [Mutex] waiting for: [user_regular10n5aq0202@test-domain.com:message:received:content_n1lb400206] 2022-02-21 21:47:28 | [Mutex] received everything. 2022-02-21 21:47:28 | [Mutex] isItemNotified: user_regular10n5aq0202@test-domain.com:message:received:content_n1lb400206 :: true 2022-02-21 21:47:28 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-21 21:47:28 | [Mutex] received everything. 2022-02-21 21:47:28 | [Mutex] isItemNotified: node_p26s00203:subscribe_node:success :: true 2022-02-21 21:47:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:47:28 | command: <data><node>node_p26s00203</node><expire-at>2022-02-22T05:47:33Z</expire-at><entry><content>content_ccposi0207</content></entry></data> 2022-02-21 21:47:28 | target: http://localhost:8088 2022-02-21 21:47:28 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-21 21:47:28 | entity: <data><node>node_p26s00203</node><expire-at>2022-02-22T05:47:33Z</expire-at><entry><content>content_ccposi0207</content></entry></data> 2022-02-21 21:47:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:47:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:47:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4aa3eb2-e145-4ad9-a79d-73de43b2ed88</value></item-id></result> 2022-02-21 21:47:28 | contains: true 2022-02-21 21:47:36 | [Mutex] waiting for: [user_regular10n5aq0202@test-domain.com:message:received:content_ccposi0207] 2022-02-21 21:47:51 | [Mutex] timeout. Not received [user_regular10n5aq0202@test-domain.com:message:received:content_ccposi0207] 2022-02-21 21:47:51 | [Mutex] received everything. 2022-02-21 21:47:51 | [Mutex] isItemNotified: user_regular10n5aq0202@test-domain.com:message:received:content_ccposi0207 :: false 2022-02-21 21:47:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ccposi0207 :: true |