Test duration : 45.647s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.812s |
2021-11-09 21:42:16 |
2021-11-09 21:42:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-09 21:42:16 | ------------------------------------ 2021-11-09 21:42:16 | [Mutex] isItemNotified: node_iklnbw0203:exists :: false 2021-11-09 21:42:16 | [Mutex] waiting for: [node_iklnbw0203:create_node] 2021-11-09 21:42:16 | [Mutex] received everything. 2021-11-09 21:42:16 | [Mutex] isItemNotified: node_iklnbw0203:create_node:success :: true 2021-11-09 21:42:16 | [Mutex] waiting for: [node_iklnbw0203:subscribe_node] 2021-11-09 21:42:16 | [Mutex] waiting for: [node_iklnbw0203:subscribe_node] 2021-11-09 21:42:16 | [Mutex] received everything. 2021-11-09 21:42:16 | [Mutex] isItemNotified: node_iklnbw0203:subscribe_node:success :: true 2021-11-09 21:42:16 | ===== publishing normal message (to online) 2021-11-09 21:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:42:16 | command: <data><node>node_iklnbw0203</node><entry><content>content_heh5td0204</content></entry></data> 2021-11-09 21:42:16 | target: http://localhost:8088 2021-11-09 21:42:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-09 21:42:16 | entity: <data><node>node_iklnbw0203</node><entry><content>content_heh5td0204</content></entry></data> 2021-11-09 21:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cb995ffa-657a-4faa-96d9-3b142fce2344</value></item-id></result> 2021-11-09 21:42:16 | contains: true 2021-11-09 21:42:16 | [Mutex] received everything. 2021-11-09 21:42:16 | [Mutex] isItemNotified: user_regular9zae2o0202@test-domain.com:message:received:content_heh5td0204 :: true 2021-11-09 21:42:16 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-09 21:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:42:16 | command: <data><node>node_iklnbw0203</node><expire-at>2021-11-10T05:42:11Z</expire-at><entry><content>content_ciltdg0205</content></entry></data> 2021-11-09 21:42:16 | target: http://localhost:8088 2021-11-09 21:42:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-09 21:42:16 | entity: <data><node>node_iklnbw0203</node><expire-at>2021-11-10T05:42:11Z</expire-at><entry><content>content_ciltdg0205</content></entry></data> 2021-11-09 21:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b7a68e58-fa44-4502-adeb-1d10763147b3</value></item-id></result> 2021-11-09 21:42:16 | contains: true 2021-11-09 21:42:16 | [Mutex] waiting for: [user_regular9zae2o0202@test-domain.com:message:received:content_ciltdg0205] 2021-11-09 21:42:31 | [Mutex] timeout. Not received [user_regular9zae2o0202@test-domain.com:message:received:content_ciltdg0205] 2021-11-09 21:42:31 | [Mutex] isItemNotified: user_regular9zae2o0202@test-domain.com:message:received:content_ciltdg0205 :: false 2021-11-09 21:42:31 | ===== publishing normal message (to offline) 2021-11-09 21:42:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:42:31 | command: <data><node>node_iklnbw0203</node><entry><content>content_gp6pje0206</content></entry></data> 2021-11-09 21:42:31 | target: http://localhost:8088 2021-11-09 21:42:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-09 21:42:31 | entity: <data><node>node_iklnbw0203</node><entry><content>content_gp6pje0206</content></entry></data> 2021-11-09 21:42:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:42:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:42:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8dcb9f23-336f-4cf3-9b14-cb48ced775c0</value></item-id></result> 2021-11-09 21:42:31 | contains: true 2021-11-09 21:42:36 | [Mutex] waiting for: [user_regular9zae2o0202@test-domain.com:message:received:content_gp6pje0206] 2021-11-09 21:42:36 | [Mutex] received everything. 2021-11-09 21:42:36 | [Mutex] isItemNotified: user_regular9zae2o0202@test-domain.com:message:received:content_gp6pje0206 :: true 2021-11-09 21:42:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-09 21:42:36 | [Mutex] received everything. 2021-11-09 21:42:36 | [Mutex] isItemNotified: node_iklnbw0203:subscribe_node:success :: true 2021-11-09 21:42:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:42:36 | command: <data><node>node_iklnbw0203</node><expire-at>2021-11-10T05:42:41Z</expire-at><entry><content>content_47vpbn0207</content></entry></data> 2021-11-09 21:42:36 | target: http://localhost:8088 2021-11-09 21:42:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-09 21:42:36 | entity: <data><node>node_iklnbw0203</node><expire-at>2021-11-10T05:42:41Z</expire-at><entry><content>content_47vpbn0207</content></entry></data> 2021-11-09 21:42:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:42:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:42:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1db0ff21-ed39-405f-a488-f4ba03c7aad9</value></item-id></result> 2021-11-09 21:42:36 | contains: true 2021-11-09 21:42:45 | [Mutex] waiting for: [user_regular9zae2o0202@test-domain.com:message:received:content_47vpbn0207] 2021-11-09 21:42:45 | [Mutex] waiting for: [user_regular9zae2o0202@test-domain.com:message:received:content_47vpbn0207] 2021-11-09 21:42:45 | [Mutex] waiting for: [user_regular9zae2o0202@test-domain.com:message:received:content_47vpbn0207] 2021-11-09 21:43:00 | [Mutex] timeout. Not received [user_regular9zae2o0202@test-domain.com:message:received:content_47vpbn0207] 2021-11-09 21:43:00 | [Mutex] received everything. 2021-11-09 21:43:00 | [Mutex] isItemNotified: user_regular9zae2o0202@test-domain.com:message:received:content_47vpbn0207 :: false 2021-11-09 21:43:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_47vpbn0207 :: true |