Test duration : 45.714s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.744s |
2022-02-16 22:02:07 |
2022-02-16 22:02:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-16 22:02:07 | ------------------------------------ 2022-02-16 22:02:07 | [Mutex] isItemNotified: node_n5wa2y0203:exists :: false 2022-02-16 22:02:07 | [Mutex] waiting for: [node_n5wa2y0203:create_node] 2022-02-16 22:02:07 | [Mutex] waiting for: [node_n5wa2y0203:create_node] 2022-02-16 22:02:07 | [Mutex] received everything. 2022-02-16 22:02:07 | [Mutex] isItemNotified: node_n5wa2y0203:create_node:success :: true 2022-02-16 22:02:07 | [Mutex] waiting for: [node_n5wa2y0203:subscribe_node] 2022-02-16 22:02:07 | [Mutex] received everything. 2022-02-16 22:02:07 | [Mutex] isItemNotified: node_n5wa2y0203:subscribe_node:success :: true 2022-02-16 22:02:07 | ===== publishing normal message (to online) 2022-02-16 22:02:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 22:02:07 | command: <data><node>node_n5wa2y0203</node><entry><content>content_w3s9u60204</content></entry></data> 2022-02-16 22:02:07 | target: http://localhost:8088 2022-02-16 22:02:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 22:02:07 | entity: <data><node>node_n5wa2y0203</node><entry><content>content_w3s9u60204</content></entry></data> 2022-02-16 22:02:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 06:02:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 22:02:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4277a94b-4f7e-4720-a923-db25d4cf888a</value></item-id></result> 2022-02-16 22:02:07 | contains: true 2022-02-16 22:02:07 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_w3s9u60204] 2022-02-16 22:02:07 | [Mutex] received everything. 2022-02-16 22:02:07 | [Mutex] isItemNotified: user_regularsp7gqn0202@test-domain.com:message:received:content_w3s9u60204 :: true 2022-02-16 22:02:07 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-16 22:02:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 22:02:07 | command: <data><node>node_n5wa2y0203</node><expire-at>2022-02-17T06:02:02Z</expire-at><entry><content>content_9qf2kl0205</content></entry></data> 2022-02-16 22:02:07 | target: http://localhost:8088 2022-02-16 22:02:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 22:02:07 | entity: <data><node>node_n5wa2y0203</node><expire-at>2022-02-17T06:02:02Z</expire-at><entry><content>content_9qf2kl0205</content></entry></data> 2022-02-16 22:02:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 06:02:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 22:02:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c5e362e3-a325-462c-8ec8-5e0117b4ab1a</value></item-id></result> 2022-02-16 22:02:07 | contains: true 2022-02-16 22:02:07 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_9qf2kl0205] 2022-02-16 22:02:22 | [Mutex] timeout. Not received [user_regularsp7gqn0202@test-domain.com:message:received:content_9qf2kl0205] 2022-02-16 22:02:22 | [Mutex] isItemNotified: user_regularsp7gqn0202@test-domain.com:message:received:content_9qf2kl0205 :: false 2022-02-16 22:02:22 | ===== publishing normal message (to offline) 2022-02-16 22:02:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 22:02:22 | command: <data><node>node_n5wa2y0203</node><entry><content>content_x9aq370206</content></entry></data> 2022-02-16 22:02:22 | target: http://localhost:8088 2022-02-16 22:02:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 22:02:22 | entity: <data><node>node_n5wa2y0203</node><entry><content>content_x9aq370206</content></entry></data> 2022-02-16 22:02:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 06:02:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 22:02:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6af84be5-3e87-4a81-aaeb-ad7d1d1dce90</value></item-id></result> 2022-02-16 22:02:22 | contains: true 2022-02-16 22:02:27 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_x9aq370206] 2022-02-16 22:02:27 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_x9aq370206] 2022-02-16 22:02:27 | [Mutex] received everything. 2022-02-16 22:02:27 | [Mutex] isItemNotified: user_regularsp7gqn0202@test-domain.com:message:received:content_x9aq370206 :: true 2022-02-16 22:02:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-16 22:02:27 | [Mutex] received everything. 2022-02-16 22:02:27 | [Mutex] isItemNotified: node_n5wa2y0203:subscribe_node:success :: true 2022-02-16 22:02:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 22:02:27 | command: <data><node>node_n5wa2y0203</node><expire-at>2022-02-17T06:02:32Z</expire-at><entry><content>content_fl2jky0207</content></entry></data> 2022-02-16 22:02:27 | target: http://localhost:8088 2022-02-16 22:02:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 22:02:27 | entity: <data><node>node_n5wa2y0203</node><expire-at>2022-02-17T06:02:32Z</expire-at><entry><content>content_fl2jky0207</content></entry></data> 2022-02-16 22:02:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 06:02:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 22:02:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>50aef2cb-e346-49d8-8085-4bc90763cb42</value></item-id></result> 2022-02-16 22:02:27 | contains: true 2022-02-16 22:02:35 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_fl2jky0207] 2022-02-16 22:02:35 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_fl2jky0207] 2022-02-16 22:02:35 | [Mutex] waiting for: [user_regularsp7gqn0202@test-domain.com:message:received:content_fl2jky0207] 2022-02-16 22:02:50 | [Mutex] timeout. Not received [user_regularsp7gqn0202@test-domain.com:message:received:content_fl2jky0207] 2022-02-16 22:02:50 | [Mutex] received everything. 2022-02-16 22:02:50 | [Mutex] isItemNotified: user_regularsp7gqn0202@test-domain.com:message:received:content_fl2jky0207 :: false 2022-02-16 22:02:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fl2jky0207 :: true |