Test duration : 45.115s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.732s |
2020-09-09 07:05:17 |
2020-09-09 07:05:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 07:05:17 | ------------------------------------ 2020-09-09 07:05:17 | [Mutex] isItemNotified: node_r7j65s0203:exists :: false 2020-09-09 07:05:17 | [Mutex] waiting for: [node_r7j65s0203:create_node] 2020-09-09 07:05:17 | [Mutex] received everything. 2020-09-09 07:05:17 | [Mutex] isItemNotified: node_r7j65s0203:create_node:success :: true 2020-09-09 07:05:17 | [Mutex] waiting for: [node_r7j65s0203:subscribe_node] 2020-09-09 07:05:17 | [Mutex] received everything. 2020-09-09 07:05:17 | [Mutex] isItemNotified: node_r7j65s0203:subscribe_node:success :: true 2020-09-09 07:05:17 | ===== publishing normal message (to online) 2020-09-09 07:05:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 07:05:17 | command: <data><node>node_r7j65s0203</node><entry><content>content_rbc7wd0204</content></entry></data> 2020-09-09 07:05:17 | target: http://localhost:8088 2020-09-09 07:05:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 07:05:17 | entity: <data><node>node_r7j65s0203</node><entry><content>content_rbc7wd0204</content></entry></data> 2020-09-09 07:05:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:05:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 07:05:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c8cb68ba-706e-4ce9-8e17-cbf2ff41e28a</value></item-id></result> 2020-09-09 07:05:17 | contains: true 2020-09-09 07:05:17 | [Mutex] received everything. 2020-09-09 07:05:17 | [Mutex] isItemNotified: user_regulareyk5t00202@test-domain.com:message:received:content_rbc7wd0204 :: true 2020-09-09 07:05:17 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 07:05:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 07:05:17 | command: <data><node>node_r7j65s0203</node><expire-at>2020-09-09T14:05:12Z</expire-at><entry><content>content_xhrmqe0205</content></entry></data> 2020-09-09 07:05:17 | target: http://localhost:8088 2020-09-09 07:05:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 07:05:17 | entity: <data><node>node_r7j65s0203</node><expire-at>2020-09-09T14:05:12Z</expire-at><entry><content>content_xhrmqe0205</content></entry></data> 2020-09-09 07:05:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:05:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 07:05:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7fc90d0f-b2e9-4c7a-bf7c-75a00fd01c0f</value></item-id></result> 2020-09-09 07:05:17 | contains: true 2020-09-09 07:05:17 | [Mutex] waiting for: [user_regulareyk5t00202@test-domain.com:message:received:content_xhrmqe0205] 2020-09-09 07:05:32 | [Mutex] timeout. Not received [user_regulareyk5t00202@test-domain.com:message:received:content_xhrmqe0205] 2020-09-09 07:05:32 | [Mutex] isItemNotified: user_regulareyk5t00202@test-domain.com:message:received:content_xhrmqe0205 :: false 2020-09-09 07:05:32 | ===== publishing normal message (to offline) 2020-09-09 07:05:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 07:05:32 | command: <data><node>node_r7j65s0203</node><entry><content>content_l2j6zn0206</content></entry></data> 2020-09-09 07:05:32 | target: http://localhost:8088 2020-09-09 07:05:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 07:05:32 | entity: <data><node>node_r7j65s0203</node><entry><content>content_l2j6zn0206</content></entry></data> 2020-09-09 07:05:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:05:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 07:05:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e5e7fee-acc3-4e6b-8e80-1af21340b5c7</value></item-id></result> 2020-09-09 07:05:33 | contains: true 2020-09-09 07:05:38 | [Mutex] waiting for: [user_regulareyk5t00202@test-domain.com:message:received:content_l2j6zn0206] 2020-09-09 07:05:38 | [Mutex] received everything. 2020-09-09 07:05:38 | [Mutex] isItemNotified: user_regulareyk5t00202@test-domain.com:message:received:content_l2j6zn0206 :: true 2020-09-09 07:05:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 07:05:38 | [Mutex] received everything. 2020-09-09 07:05:38 | [Mutex] isItemNotified: node_r7j65s0203:subscribe_node:success :: true 2020-09-09 07:05:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 07:05:38 | command: <data><node>node_r7j65s0203</node><expire-at>2020-09-09T14:05:43Z</expire-at><entry><content>content_5t0kav0207</content></entry></data> 2020-09-09 07:05:38 | target: http://localhost:8088 2020-09-09 07:05:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 07:05:38 | entity: <data><node>node_r7j65s0203</node><expire-at>2020-09-09T14:05:43Z</expire-at><entry><content>content_5t0kav0207</content></entry></data> 2020-09-09 07:05:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:05:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 07:05:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3252084e-1d8b-4be0-ae28-52a68bfcfeaa</value></item-id></result> 2020-09-09 07:05:38 | contains: true 2020-09-09 07:05:46 | [Mutex] waiting for: [user_regulareyk5t00202@test-domain.com:message:received:content_5t0kav0207] 2020-09-09 07:05:46 | [Mutex] waiting for: [user_regulareyk5t00202@test-domain.com:message:received:content_5t0kav0207] 2020-09-09 07:05:46 | [Mutex] waiting for: [user_regulareyk5t00202@test-domain.com:message:received:content_5t0kav0207] 2020-09-09 07:06:01 | [Mutex] timeout. Not received [user_regulareyk5t00202@test-domain.com:message:received:content_5t0kav0207] 2020-09-09 07:06:01 | [Mutex] received everything. 2020-09-09 07:06:01 | [Mutex] isItemNotified: user_regulareyk5t00202@test-domain.com:message:received:content_5t0kav0207 :: false 2020-09-09 07:06:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5t0kav0207 :: true |