Test duration : 45.026s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.721s |
2021-11-16 22:13:09 |
2021-11-16 22:13:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-16 22:13:09 | ------------------------------------ 2021-11-16 22:13:09 | [Mutex] isItemNotified: node_rzmzk20203:exists :: false 2021-11-16 22:13:09 | [Mutex] waiting for: [node_rzmzk20203:create_node] 2021-11-16 22:13:09 | [Mutex] received everything. 2021-11-16 22:13:09 | [Mutex] isItemNotified: node_rzmzk20203:create_node:success :: true 2021-11-16 22:13:09 | [Mutex] waiting for: [node_rzmzk20203:subscribe_node] 2021-11-16 22:13:09 | [Mutex] received everything. 2021-11-16 22:13:09 | [Mutex] isItemNotified: node_rzmzk20203:subscribe_node:success :: true 2021-11-16 22:13:09 | ===== publishing normal message (to online) 2021-11-16 22:13:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:13:09 | command: <data><node>node_rzmzk20203</node><entry><content>content_dgi4o10204</content></entry></data> 2021-11-16 22:13:09 | target: http://localhost:8088 2021-11-16 22:13:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 22:13:09 | entity: <data><node>node_rzmzk20203</node><entry><content>content_dgi4o10204</content></entry></data> 2021-11-16 22:13:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:13:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:13:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f54e8b5f-ba66-4473-821b-e5d342851918</value></item-id></result> 2021-11-16 22:13:09 | contains: true 2021-11-16 22:13:09 | [Mutex] waiting for: [user_regularbh4js00202@test-domain.com:message:received:content_dgi4o10204] 2021-11-16 22:13:09 | [Mutex] received everything. 2021-11-16 22:13:09 | [Mutex] isItemNotified: user_regularbh4js00202@test-domain.com:message:received:content_dgi4o10204 :: true 2021-11-16 22:13:09 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-16 22:13:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:13:09 | command: <data><node>node_rzmzk20203</node><expire-at>2021-11-17T06:13:04Z</expire-at><entry><content>content_2f4ag00205</content></entry></data> 2021-11-16 22:13:09 | target: http://localhost:8088 2021-11-16 22:13:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:13:09 | entity: <data><node>node_rzmzk20203</node><expire-at>2021-11-17T06:13:04Z</expire-at><entry><content>content_2f4ag00205</content></entry></data> 2021-11-16 22:13:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:13:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:13:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc6f727e-c51f-4f44-aeae-f167dbb5c8ce</value></item-id></result> 2021-11-16 22:13:09 | contains: true 2021-11-16 22:13:09 | [Mutex] waiting for: [user_regularbh4js00202@test-domain.com:message:received:content_2f4ag00205] 2021-11-16 22:13:24 | [Mutex] timeout. Not received [user_regularbh4js00202@test-domain.com:message:received:content_2f4ag00205] 2021-11-16 22:13:24 | [Mutex] isItemNotified: user_regularbh4js00202@test-domain.com:message:received:content_2f4ag00205 :: false 2021-11-16 22:13:24 | ===== publishing normal message (to offline) 2021-11-16 22:13:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:13:25 | command: <data><node>node_rzmzk20203</node><entry><content>content_4t2ra0206</content></entry></data> 2021-11-16 22:13:25 | target: http://localhost:8088 2021-11-16 22:13:25 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-11-16 22:13:25 | entity: <data><node>node_rzmzk20203</node><entry><content>content_4t2ra0206</content></entry></data> 2021-11-16 22:13:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:13:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:13:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6634d00a-bf49-46f9-8770-f871c19dd822</value></item-id></result> 2021-11-16 22:13:25 | contains: true 2021-11-16 22:13:30 | [Mutex] waiting for: [user_regularbh4js00202@test-domain.com:message:received:content_4t2ra0206] 2021-11-16 22:13:30 | [Mutex] received everything. 2021-11-16 22:13:30 | [Mutex] isItemNotified: user_regularbh4js00202@test-domain.com:message:received:content_4t2ra0206 :: true 2021-11-16 22:13:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-16 22:13:30 | [Mutex] received everything. 2021-11-16 22:13:30 | [Mutex] isItemNotified: node_rzmzk20203:subscribe_node:success :: true 2021-11-16 22:13:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:13:30 | command: <data><node>node_rzmzk20203</node><expire-at>2021-11-17T06:13:35Z</expire-at><entry><content>content_tohmj90207</content></entry></data> 2021-11-16 22:13:30 | target: http://localhost:8088 2021-11-16 22:13:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:13:30 | entity: <data><node>node_rzmzk20203</node><expire-at>2021-11-17T06:13:35Z</expire-at><entry><content>content_tohmj90207</content></entry></data> 2021-11-16 22:13:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:13:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:13:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>392ad2ba-512c-427d-ac98-a529d75ff231</value></item-id></result> 2021-11-16 22:13:30 | contains: true 2021-11-16 22:13:38 | [Mutex] waiting for: [user_regularbh4js00202@test-domain.com:message:received:content_tohmj90207] 2021-11-16 22:13:38 | [Mutex] waiting for: [user_regularbh4js00202@test-domain.com:message:received:content_tohmj90207] 2021-11-16 22:13:53 | [Mutex] timeout. Not received [user_regularbh4js00202@test-domain.com:message:received:content_tohmj90207] 2021-11-16 22:13:53 | [Mutex] received everything. 2021-11-16 22:13:53 | [Mutex] isItemNotified: user_regularbh4js00202@test-domain.com:message:received:content_tohmj90207 :: false 2021-11-16 22:13:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tohmj90207 :: true |