Test duration : 45.155s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2020-09-06 22:44:51 |
2020-09-06 22:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-06 22:44:51 | ------------------------------------ 2020-09-06 22:44:51 | [Mutex] isItemNotified: node_jt07o70203:exists :: false 2020-09-06 22:44:51 | [Mutex] waiting for: [node_jt07o70203:create_node] 2020-09-06 22:44:51 | [Mutex] received everything. 2020-09-06 22:44:51 | [Mutex] isItemNotified: node_jt07o70203:create_node:success :: true 2020-09-06 22:44:51 | [Mutex] waiting for: [node_jt07o70203:subscribe_node] 2020-09-06 22:44:51 | [Mutex] waiting for: [node_jt07o70203:subscribe_node] 2020-09-06 22:44:51 | [Mutex] received everything. 2020-09-06 22:44:51 | [Mutex] isItemNotified: node_jt07o70203:subscribe_node:success :: true 2020-09-06 22:44:51 | ===== publishing normal message (to online) 2020-09-06 22:44:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 22:44:51 | command: <data><node>node_jt07o70203</node><entry><content>content_k5kse70204</content></entry></data> 2020-09-06 22:44:51 | target: http://localhost:8088 2020-09-06 22:44:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-06 22:44:51 | entity: <data><node>node_jt07o70203</node><entry><content>content_k5kse70204</content></entry></data> 2020-09-06 22:44:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 05:44:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 22:44:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1e8f4be-b494-48ba-a031-c52ac33d4616</value></item-id></result> 2020-09-06 22:44:51 | contains: true 2020-09-06 22:44:51 | [Mutex] received everything. 2020-09-06 22:44:51 | [Mutex] isItemNotified: user_regularsl6ibv0202@test-domain.com:message:received:content_k5kse70204 :: true 2020-09-06 22:44:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-06 22:44:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 22:44:51 | command: <data><node>node_jt07o70203</node><expire-at>2020-09-07T05:44:46Z</expire-at><entry><content>content_kwb12u0205</content></entry></data> 2020-09-06 22:44:51 | target: http://localhost:8088 2020-09-06 22:44:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-06 22:44:51 | entity: <data><node>node_jt07o70203</node><expire-at>2020-09-07T05:44:46Z</expire-at><entry><content>content_kwb12u0205</content></entry></data> 2020-09-06 22:44:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 05:44:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 22:44:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52bd3c11-6fd7-4dd0-bded-8af9fcc3d7ad</value></item-id></result> 2020-09-06 22:44:51 | contains: true 2020-09-06 22:44:51 | [Mutex] waiting for: [user_regularsl6ibv0202@test-domain.com:message:received:content_kwb12u0205] 2020-09-06 22:45:06 | [Mutex] timeout. Not received [user_regularsl6ibv0202@test-domain.com:message:received:content_kwb12u0205] 2020-09-06 22:45:06 | [Mutex] isItemNotified: user_regularsl6ibv0202@test-domain.com:message:received:content_kwb12u0205 :: false 2020-09-06 22:45:06 | ===== publishing normal message (to offline) 2020-09-06 22:45:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 22:45:06 | command: <data><node>node_jt07o70203</node><entry><content>content_4aagsd0206</content></entry></data> 2020-09-06 22:45:06 | target: http://localhost:8088 2020-09-06 22:45:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-06 22:45:06 | entity: <data><node>node_jt07o70203</node><entry><content>content_4aagsd0206</content></entry></data> 2020-09-06 22:45:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 05:45:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 22:45:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8892a519-febd-46a7-b639-797778b80afd</value></item-id></result> 2020-09-06 22:45:06 | contains: true 2020-09-06 22:45:11 | [Mutex] waiting for: [user_regularsl6ibv0202@test-domain.com:message:received:content_4aagsd0206] 2020-09-06 22:45:11 | [Mutex] waiting for: [user_regularsl6ibv0202@test-domain.com:message:received:content_4aagsd0206] 2020-09-06 22:45:11 | [Mutex] received everything. 2020-09-06 22:45:11 | [Mutex] isItemNotified: user_regularsl6ibv0202@test-domain.com:message:received:content_4aagsd0206 :: true 2020-09-06 22:45:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-06 22:45:11 | [Mutex] received everything. 2020-09-06 22:45:11 | [Mutex] isItemNotified: node_jt07o70203:subscribe_node:success :: true 2020-09-06 22:45:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 22:45:11 | command: <data><node>node_jt07o70203</node><expire-at>2020-09-07T05:45:16Z</expire-at><entry><content>content_3lewce0207</content></entry></data> 2020-09-06 22:45:11 | target: http://localhost:8088 2020-09-06 22:45:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-06 22:45:11 | entity: <data><node>node_jt07o70203</node><expire-at>2020-09-07T05:45:16Z</expire-at><entry><content>content_3lewce0207</content></entry></data> 2020-09-06 22:45:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 05:45:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 22:45:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a042f0f0-efcc-4c17-b547-99349a33643f</value></item-id></result> 2020-09-06 22:45:11 | contains: true 2020-09-06 22:45:19 | [Mutex] waiting for: [user_regularsl6ibv0202@test-domain.com:message:received:content_3lewce0207] 2020-09-06 22:45:34 | [Mutex] timeout. Not received [user_regularsl6ibv0202@test-domain.com:message:received:content_3lewce0207] 2020-09-06 22:45:34 | [Mutex] received everything. 2020-09-06 22:45:34 | [Mutex] isItemNotified: user_regularsl6ibv0202@test-domain.com:message:received:content_3lewce0207 :: false 2020-09-06 22:45:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3lewce0207 :: true |