Test duration : 45.232s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.784s |
2021-04-21 22:44:25 |
2021-04-21 22:44:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-21 22:44:25 | ------------------------------------ 2021-04-21 22:44:25 | [Mutex] isItemNotified: node_1ypbhv0203:exists :: false 2021-04-21 22:44:25 | [Mutex] waiting for: [node_1ypbhv0203:create_node] 2021-04-21 22:44:25 | [Mutex] received everything. 2021-04-21 22:44:25 | [Mutex] isItemNotified: node_1ypbhv0203:create_node:success :: true 2021-04-21 22:44:25 | [Mutex] waiting for: [node_1ypbhv0203:subscribe_node] 2021-04-21 22:44:25 | [Mutex] waiting for: [node_1ypbhv0203:subscribe_node] 2021-04-21 22:44:25 | [Mutex] received everything. 2021-04-21 22:44:25 | [Mutex] isItemNotified: node_1ypbhv0203:subscribe_node:success :: true 2021-04-21 22:44:25 | ===== publishing normal message (to online) 2021-04-21 22:44:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:44:25 | command: <data><node>node_1ypbhv0203</node><entry><content>content_7q5txw0204</content></entry></data> 2021-04-21 22:44:25 | target: http://localhost:8088 2021-04-21 22:44:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:44:25 | entity: <data><node>node_1ypbhv0203</node><entry><content>content_7q5txw0204</content></entry></data> 2021-04-21 22:44:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:44:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:44:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>602441f5-9977-4248-b97c-b13cf290f486</value></item-id></result> 2021-04-21 22:44:25 | contains: true 2021-04-21 22:44:25 | [Mutex] waiting for: [user_regularvl1phm0202@test-domain.com:message:received:content_7q5txw0204] 2021-04-21 22:44:25 | [Mutex] received everything. 2021-04-21 22:44:25 | [Mutex] isItemNotified: user_regularvl1phm0202@test-domain.com:message:received:content_7q5txw0204 :: true 2021-04-21 22:44:25 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-21 22:44:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:44:25 | command: <data><node>node_1ypbhv0203</node><expire-at>2021-04-22T05:44:20Z</expire-at><entry><content>content_u9v7xs0205</content></entry></data> 2021-04-21 22:44:25 | target: http://localhost:8088 2021-04-21 22:44:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-21 22:44:25 | entity: <data><node>node_1ypbhv0203</node><expire-at>2021-04-22T05:44:20Z</expire-at><entry><content>content_u9v7xs0205</content></entry></data> 2021-04-21 22:44:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:44:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:44:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8a0620f7-b80c-463b-bbb8-d4f5ae31af66</value></item-id></result> 2021-04-21 22:44:25 | contains: true 2021-04-21 22:44:25 | [Mutex] waiting for: [user_regularvl1phm0202@test-domain.com:message:received:content_u9v7xs0205] 2021-04-21 22:44:40 | [Mutex] timeout. Not received [user_regularvl1phm0202@test-domain.com:message:received:content_u9v7xs0205] 2021-04-21 22:44:40 | [Mutex] isItemNotified: user_regularvl1phm0202@test-domain.com:message:received:content_u9v7xs0205 :: false 2021-04-21 22:44:40 | ===== publishing normal message (to offline) 2021-04-21 22:44:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:44:40 | command: <data><node>node_1ypbhv0203</node><entry><content>content_xjqzm70206</content></entry></data> 2021-04-21 22:44:40 | target: http://localhost:8088 2021-04-21 22:44:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:44:40 | entity: <data><node>node_1ypbhv0203</node><entry><content>content_xjqzm70206</content></entry></data> 2021-04-21 22:44:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:44:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:44:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>07eff225-9228-49a7-a2e7-644b5644a6bb</value></item-id></result> 2021-04-21 22:44:40 | contains: true 2021-04-21 22:44:45 | [Mutex] waiting for: [user_regularvl1phm0202@test-domain.com:message:received:content_xjqzm70206] 2021-04-21 22:44:45 | [Mutex] waiting for: [user_regularvl1phm0202@test-domain.com:message:received:content_xjqzm70206] 2021-04-21 22:44:45 | [Mutex] received everything. 2021-04-21 22:44:45 | [Mutex] isItemNotified: user_regularvl1phm0202@test-domain.com:message:received:content_xjqzm70206 :: true 2021-04-21 22:44:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-21 22:44:45 | [Mutex] received everything. 2021-04-21 22:44:45 | [Mutex] isItemNotified: node_1ypbhv0203:subscribe_node:success :: true 2021-04-21 22:44:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:44:45 | command: <data><node>node_1ypbhv0203</node><expire-at>2021-04-22T05:44:50Z</expire-at><entry><content>content_hkfp300207</content></entry></data> 2021-04-21 22:44:45 | target: http://localhost:8088 2021-04-21 22:44:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-21 22:44:45 | entity: <data><node>node_1ypbhv0203</node><expire-at>2021-04-22T05:44:50Z</expire-at><entry><content>content_hkfp300207</content></entry></data> 2021-04-21 22:44:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:44:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:44:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>458fd79f-3948-4daf-ae2b-9fda162958ee</value></item-id></result> 2021-04-21 22:44:45 | contains: true 2021-04-21 22:44:53 | [Mutex] waiting for: [user_regularvl1phm0202@test-domain.com:message:received:content_hkfp300207] 2021-04-21 22:45:08 | [Mutex] timeout. Not received [user_regularvl1phm0202@test-domain.com:message:received:content_hkfp300207] 2021-04-21 22:45:08 | [Mutex] received everything. 2021-04-21 22:45:08 | [Mutex] isItemNotified: user_regularvl1phm0202@test-domain.com:message:received:content_hkfp300207 :: false 2021-04-21 22:45:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hkfp300207 :: true |