Test duration : 45.153s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.729s |
2021-04-28 23:00:56 |
2021-04-28 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-28 23:00:56 | ------------------------------------ 2021-04-28 23:00:56 | [Mutex] isItemNotified: node_vy62oa0203:exists :: false 2021-04-28 23:00:56 | [Mutex] waiting for: [node_vy62oa0203:create_node] 2021-04-28 23:00:56 | [Mutex] received everything. 2021-04-28 23:00:56 | [Mutex] isItemNotified: node_vy62oa0203:create_node:success :: true 2021-04-28 23:00:56 | [Mutex] waiting for: [node_vy62oa0203:subscribe_node] 2021-04-28 23:00:56 | [Mutex] waiting for: [node_vy62oa0203:subscribe_node] 2021-04-28 23:00:56 | [Mutex] received everything. 2021-04-28 23:00:56 | [Mutex] isItemNotified: node_vy62oa0203:subscribe_node:success :: true 2021-04-28 23:00:56 | ===== publishing normal message (to online) 2021-04-28 23:00:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:00:56 | command: <data><node>node_vy62oa0203</node><entry><content>content_12ai5y0204</content></entry></data> 2021-04-28 23:00:56 | target: http://localhost:8088 2021-04-28 23:00:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 23:00:56 | entity: <data><node>node_vy62oa0203</node><entry><content>content_12ai5y0204</content></entry></data> 2021-04-28 23:00:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:00:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:00:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>98736527-bb91-4847-99b1-c3004e96dd72</value></item-id></result> 2021-04-28 23:00:56 | contains: true 2021-04-28 23:00:56 | [Mutex] waiting for: [user_regularft6if80202@test-domain.com:message:received:content_12ai5y0204] 2021-04-28 23:00:56 | [Mutex] received everything. 2021-04-28 23:00:56 | [Mutex] isItemNotified: user_regularft6if80202@test-domain.com:message:received:content_12ai5y0204 :: true 2021-04-28 23:00:56 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-28 23:00:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:00:56 | command: <data><node>node_vy62oa0203</node><expire-at>2021-04-29T06:00:51Z</expire-at><entry><content>content_qbc87i0205</content></entry></data> 2021-04-28 23:00:56 | target: http://localhost:8088 2021-04-28 23:00:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 23:00:56 | entity: <data><node>node_vy62oa0203</node><expire-at>2021-04-29T06:00:51Z</expire-at><entry><content>content_qbc87i0205</content></entry></data> 2021-04-28 23:00:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:00:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:00:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3a658f7c-b40c-4dd1-8bd8-b8ca083988fa</value></item-id></result> 2021-04-28 23:00:56 | contains: true 2021-04-28 23:00:56 | [Mutex] waiting for: [user_regularft6if80202@test-domain.com:message:received:content_qbc87i0205] 2021-04-28 23:01:11 | [Mutex] timeout. Not received [user_regularft6if80202@test-domain.com:message:received:content_qbc87i0205] 2021-04-28 23:01:11 | [Mutex] isItemNotified: user_regularft6if80202@test-domain.com:message:received:content_qbc87i0205 :: false 2021-04-28 23:01:11 | ===== publishing normal message (to offline) 2021-04-28 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:01:11 | command: <data><node>node_vy62oa0203</node><entry><content>content_caipvl0206</content></entry></data> 2021-04-28 23:01:11 | target: http://localhost:8088 2021-04-28 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 23:01:11 | entity: <data><node>node_vy62oa0203</node><entry><content>content_caipvl0206</content></entry></data> 2021-04-28 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dcd4b371-7ab9-4001-9a6d-890bb42a3593</value></item-id></result> 2021-04-28 23:01:11 | contains: true 2021-04-28 23:01:16 | [Mutex] waiting for: [user_regularft6if80202@test-domain.com:message:received:content_caipvl0206] 2021-04-28 23:01:16 | [Mutex] received everything. 2021-04-28 23:01:16 | [Mutex] isItemNotified: user_regularft6if80202@test-domain.com:message:received:content_caipvl0206 :: true 2021-04-28 23:01:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-28 23:01:16 | [Mutex] received everything. 2021-04-28 23:01:16 | [Mutex] isItemNotified: node_vy62oa0203:subscribe_node:success :: true 2021-04-28 23:01:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:01:16 | command: <data><node>node_vy62oa0203</node><expire-at>2021-04-29T06:01:21Z</expire-at><entry><content>content_3dw3qn0207</content></entry></data> 2021-04-28 23:01:16 | target: http://localhost:8088 2021-04-28 23:01:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 23:01:16 | entity: <data><node>node_vy62oa0203</node><expire-at>2021-04-29T06:01:21Z</expire-at><entry><content>content_3dw3qn0207</content></entry></data> 2021-04-28 23:01:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:01:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:01:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0376ce1d-0de7-4d53-b3c7-bf3cea928c9f</value></item-id></result> 2021-04-28 23:01:16 | contains: true 2021-04-28 23:01:24 | [Mutex] waiting for: [user_regularft6if80202@test-domain.com:message:received:content_3dw3qn0207] 2021-04-28 23:01:39 | [Mutex] timeout. Not received [user_regularft6if80202@test-domain.com:message:received:content_3dw3qn0207] 2021-04-28 23:01:39 | [Mutex] received everything. 2021-04-28 23:01:39 | [Mutex] isItemNotified: user_regularft6if80202@test-domain.com:message:received:content_3dw3qn0207 :: false 2021-04-28 23:01:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3dw3qn0207 :: true |