Test duration : 45.490s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.648s |
2022-02-16 07:57:38 |
2022-02-16 07:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-16 07:57:38 | ------------------------------------ 2022-02-16 07:57:38 | [Mutex] isItemNotified: node_t7fz7p0203:exists :: false 2022-02-16 07:57:38 | [Mutex] waiting for: [node_t7fz7p0203:create_node] 2022-02-16 07:57:38 | [Mutex] received everything. 2022-02-16 07:57:38 | [Mutex] isItemNotified: node_t7fz7p0203:create_node:success :: true 2022-02-16 07:57:38 | [Mutex] waiting for: [node_t7fz7p0203:subscribe_node] 2022-02-16 07:57:38 | [Mutex] received everything. 2022-02-16 07:57:38 | [Mutex] isItemNotified: node_t7fz7p0203:subscribe_node:success :: true 2022-02-16 07:57:38 | ===== publishing normal message (to online) 2022-02-16 07:57:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 07:57:38 | command: <data><node>node_t7fz7p0203</node><entry><content>content_kuo9jp0204</content></entry></data> 2022-02-16 07:57:38 | target: http://localhost:8088 2022-02-16 07:57:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 07:57:38 | entity: <data><node>node_t7fz7p0203</node><entry><content>content_kuo9jp0204</content></entry></data> 2022-02-16 07:57:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 07:57:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>175984bd-3c2d-471b-a887-4c5ce94aa9f1</value></item-id></result> 2022-02-16 07:57:38 | contains: true 2022-02-16 07:57:38 | [Mutex] received everything. 2022-02-16 07:57:38 | [Mutex] isItemNotified: user_regularyn40bl0202@test-domain.com:message:received:content_kuo9jp0204 :: true 2022-02-16 07:57:38 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-16 07:57:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 07:57:38 | command: <data><node>node_t7fz7p0203</node><expire-at>2022-02-16T15:57:33Z</expire-at><entry><content>content_qoxc2f0205</content></entry></data> 2022-02-16 07:57:38 | target: http://localhost:8088 2022-02-16 07:57:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 07:57:38 | entity: <data><node>node_t7fz7p0203</node><expire-at>2022-02-16T15:57:33Z</expire-at><entry><content>content_qoxc2f0205</content></entry></data> 2022-02-16 07:57:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 07:57:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>daa5d910-fb51-4805-ba02-f6a8f41d85b2</value></item-id></result> 2022-02-16 07:57:38 | contains: true 2022-02-16 07:57:38 | [Mutex] waiting for: [user_regularyn40bl0202@test-domain.com:message:received:content_qoxc2f0205] 2022-02-16 07:57:53 | [Mutex] timeout. Not received [user_regularyn40bl0202@test-domain.com:message:received:content_qoxc2f0205] 2022-02-16 07:57:53 | [Mutex] isItemNotified: user_regularyn40bl0202@test-domain.com:message:received:content_qoxc2f0205 :: false 2022-02-16 07:57:53 | ===== publishing normal message (to offline) 2022-02-16 07:57:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 07:57:53 | command: <data><node>node_t7fz7p0203</node><entry><content>content_s4rn2h0206</content></entry></data> 2022-02-16 07:57:53 | target: http://localhost:8088 2022-02-16 07:57:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 07:57:53 | entity: <data><node>node_t7fz7p0203</node><entry><content>content_s4rn2h0206</content></entry></data> 2022-02-16 07:57:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 07:57:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>695c48a9-d275-44d6-9659-3e0370d22176</value></item-id></result> 2022-02-16 07:57:53 | contains: true 2022-02-16 07:57:58 | [Mutex] waiting for: [user_regularyn40bl0202@test-domain.com:message:received:content_s4rn2h0206] 2022-02-16 07:57:58 | [Mutex] waiting for: [user_regularyn40bl0202@test-domain.com:message:received:content_s4rn2h0206] 2022-02-16 07:57:58 | [Mutex] received everything. 2022-02-16 07:57:58 | [Mutex] isItemNotified: user_regularyn40bl0202@test-domain.com:message:received:content_s4rn2h0206 :: true 2022-02-16 07:57:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-16 07:57:58 | [Mutex] received everything. 2022-02-16 07:57:58 | [Mutex] isItemNotified: node_t7fz7p0203:subscribe_node:success :: true 2022-02-16 07:57:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 07:57:58 | command: <data><node>node_t7fz7p0203</node><expire-at>2022-02-16T15:58:03Z</expire-at><entry><content>content_sh4kaf0207</content></entry></data> 2022-02-16 07:57:58 | target: http://localhost:8088 2022-02-16 07:57:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 07:57:58 | entity: <data><node>node_t7fz7p0203</node><expire-at>2022-02-16T15:58:03Z</expire-at><entry><content>content_sh4kaf0207</content></entry></data> 2022-02-16 07:57:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 07:57:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cc6ae6a3-0db6-427f-8e52-27b8596b0e96</value></item-id></result> 2022-02-16 07:57:58 | contains: true 2022-02-16 07:58:07 | [Mutex] waiting for: [user_regularyn40bl0202@test-domain.com:message:received:content_sh4kaf0207] 2022-02-16 07:58:07 | [Mutex] waiting for: [user_regularyn40bl0202@test-domain.com:message:received:content_sh4kaf0207] 2022-02-16 07:58:22 | [Mutex] timeout. Not received [user_regularyn40bl0202@test-domain.com:message:received:content_sh4kaf0207] 2022-02-16 07:58:22 | [Mutex] received everything. 2022-02-16 07:58:22 | [Mutex] isItemNotified: user_regularyn40bl0202@test-domain.com:message:received:content_sh4kaf0207 :: false 2022-02-16 07:58:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sh4kaf0207 :: true |