Test duration : 45.372s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.709s |
2021-05-05 22:58:11 |
2021-05-05 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-05 22:58:11 | ------------------------------------ 2021-05-05 22:58:11 | [Mutex] isItemNotified: node_uo56300203:exists :: false 2021-05-05 22:58:11 | [Mutex] waiting for: [node_uo56300203:create_node] 2021-05-05 22:58:11 | [Mutex] received everything. 2021-05-05 22:58:11 | [Mutex] isItemNotified: node_uo56300203:create_node:success :: true 2021-05-05 22:58:11 | [Mutex] waiting for: [node_uo56300203:subscribe_node] 2021-05-05 22:58:11 | [Mutex] received everything. 2021-05-05 22:58:11 | [Mutex] isItemNotified: node_uo56300203:subscribe_node:success :: true 2021-05-05 22:58:11 | ===== publishing normal message (to online) 2021-05-05 22:58:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:58:11 | command: <data><node>node_uo56300203</node><entry><content>content_f82mro0204</content></entry></data> 2021-05-05 22:58:11 | target: http://localhost:8088 2021-05-05 22:58:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:58:11 | entity: <data><node>node_uo56300203</node><entry><content>content_f82mro0204</content></entry></data> 2021-05-05 22:58:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:58:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:58:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e5771b6d-1c88-4476-8871-4e1706330a99</value></item-id></result> 2021-05-05 22:58:11 | contains: true 2021-05-05 22:58:11 | [Mutex] received everything. 2021-05-05 22:58:11 | [Mutex] isItemNotified: user_regular9cz1780202@test-domain.com:message:received:content_f82mro0204 :: true 2021-05-05 22:58:11 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-05 22:58:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:58:11 | command: <data><node>node_uo56300203</node><expire-at>2021-05-06T05:58:06Z</expire-at><entry><content>content_zbxhjf0205</content></entry></data> 2021-05-05 22:58:11 | target: http://localhost:8088 2021-05-05 22:58:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:58:11 | entity: <data><node>node_uo56300203</node><expire-at>2021-05-06T05:58:06Z</expire-at><entry><content>content_zbxhjf0205</content></entry></data> 2021-05-05 22:58:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:58:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:58:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da38c79e-949d-4e02-a540-ef50293fb8b8</value></item-id></result> 2021-05-05 22:58:11 | contains: true 2021-05-05 22:58:11 | [Mutex] waiting for: [user_regular9cz1780202@test-domain.com:message:received:content_zbxhjf0205] 2021-05-05 22:58:26 | [Mutex] timeout. Not received [user_regular9cz1780202@test-domain.com:message:received:content_zbxhjf0205] 2021-05-05 22:58:26 | [Mutex] isItemNotified: user_regular9cz1780202@test-domain.com:message:received:content_zbxhjf0205 :: false 2021-05-05 22:58:26 | ===== publishing normal message (to offline) 2021-05-05 22:58:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:58:26 | command: <data><node>node_uo56300203</node><entry><content>content_surnzn0206</content></entry></data> 2021-05-05 22:58:26 | target: http://localhost:8088 2021-05-05 22:58:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:58:26 | entity: <data><node>node_uo56300203</node><entry><content>content_surnzn0206</content></entry></data> 2021-05-05 22:58:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:58:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:58:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>842fbca5-da95-4425-994c-d721fb234c6a</value></item-id></result> 2021-05-05 22:58:26 | contains: true 2021-05-05 22:58:31 | [Mutex] waiting for: [user_regular9cz1780202@test-domain.com:message:received:content_surnzn0206] 2021-05-05 22:58:31 | [Mutex] waiting for: [user_regular9cz1780202@test-domain.com:message:received:content_surnzn0206] 2021-05-05 22:58:31 | [Mutex] received everything. 2021-05-05 22:58:31 | [Mutex] isItemNotified: user_regular9cz1780202@test-domain.com:message:received:content_surnzn0206 :: true 2021-05-05 22:58:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-05 22:58:31 | [Mutex] received everything. 2021-05-05 22:58:31 | [Mutex] isItemNotified: node_uo56300203:subscribe_node:success :: true 2021-05-05 22:58:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:58:31 | command: <data><node>node_uo56300203</node><expire-at>2021-05-06T05:58:36Z</expire-at><entry><content>content_1tbnd70207</content></entry></data> 2021-05-05 22:58:31 | target: http://localhost:8088 2021-05-05 22:58:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:58:31 | entity: <data><node>node_uo56300203</node><expire-at>2021-05-06T05:58:36Z</expire-at><entry><content>content_1tbnd70207</content></entry></data> 2021-05-05 22:58:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:58:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:58:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7f6d28b-cf8c-47ca-b76c-2274a5858ded</value></item-id></result> 2021-05-05 22:58:31 | contains: true 2021-05-05 22:58:40 | [Mutex] waiting for: [user_regular9cz1780202@test-domain.com:message:received:content_1tbnd70207] 2021-05-05 22:58:55 | [Mutex] timeout. Not received [user_regular9cz1780202@test-domain.com:message:received:content_1tbnd70207] 2021-05-05 22:58:55 | [Mutex] received everything. 2021-05-05 22:58:55 | [Mutex] isItemNotified: user_regular9cz1780202@test-domain.com:message:received:content_1tbnd70207 :: false 2021-05-05 22:58:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1tbnd70207 :: true |