Test duration : 45.580s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.700s |
2021-01-27 06:08:43 |
2021-01-27 06:08:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 06:08:43 | ------------------------------------ 2021-01-27 06:08:43 | [Mutex] isItemNotified: node_xfyjqg0203:exists :: false 2021-01-27 06:08:43 | [Mutex] waiting for: [node_xfyjqg0203:create_node] 2021-01-27 06:08:43 | [Mutex] received everything. 2021-01-27 06:08:43 | [Mutex] isItemNotified: node_xfyjqg0203:create_node:success :: true 2021-01-27 06:08:43 | [Mutex] waiting for: [node_xfyjqg0203:subscribe_node] 2021-01-27 06:08:43 | [Mutex] received everything. 2021-01-27 06:08:43 | [Mutex] isItemNotified: node_xfyjqg0203:subscribe_node:success :: true 2021-01-27 06:08:43 | ===== publishing normal message (to online) 2021-01-27 06:08:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 06:08:43 | command: <data><node>node_xfyjqg0203</node><entry><content>content_fl91xc0204</content></entry></data> 2021-01-27 06:08:43 | target: http://localhost:8088 2021-01-27 06:08:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 06:08:43 | entity: <data><node>node_xfyjqg0203</node><entry><content>content_fl91xc0204</content></entry></data> 2021-01-27 06:08:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:08:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 06:08:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0831ce09-2ebe-4149-af03-640deb7038fd</value></item-id></result> 2021-01-27 06:08:43 | contains: true 2021-01-27 06:08:43 | [Mutex] received everything. 2021-01-27 06:08:43 | [Mutex] isItemNotified: user_regular9irr460202@test-domain.com:message:received:content_fl91xc0204 :: true 2021-01-27 06:08:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 06:08:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 06:08:43 | command: <data><node>node_xfyjqg0203</node><expire-at>2021-01-27T14:08:38Z</expire-at><entry><content>content_2ub0bn0205</content></entry></data> 2021-01-27 06:08:43 | target: http://localhost:8088 2021-01-27 06:08:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 06:08:43 | entity: <data><node>node_xfyjqg0203</node><expire-at>2021-01-27T14:08:38Z</expire-at><entry><content>content_2ub0bn0205</content></entry></data> 2021-01-27 06:08:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:08:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 06:08:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>077b8924-2041-41fe-a01e-e5281e5a111f</value></item-id></result> 2021-01-27 06:08:43 | contains: true 2021-01-27 06:08:43 | [Mutex] waiting for: [user_regular9irr460202@test-domain.com:message:received:content_2ub0bn0205] 2021-01-27 06:08:58 | [Mutex] timeout. Not received [user_regular9irr460202@test-domain.com:message:received:content_2ub0bn0205] 2021-01-27 06:08:58 | [Mutex] isItemNotified: user_regular9irr460202@test-domain.com:message:received:content_2ub0bn0205 :: false 2021-01-27 06:08:58 | ===== publishing normal message (to offline) 2021-01-27 06:08:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 06:08:58 | command: <data><node>node_xfyjqg0203</node><entry><content>content_nmw7ko0206</content></entry></data> 2021-01-27 06:08:58 | target: http://localhost:8088 2021-01-27 06:08:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 06:08:58 | entity: <data><node>node_xfyjqg0203</node><entry><content>content_nmw7ko0206</content></entry></data> 2021-01-27 06:08:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:08:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 06:08:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a84ba0a-000b-48f0-845f-6c8a9f0e1162</value></item-id></result> 2021-01-27 06:08:58 | contains: true 2021-01-27 06:09:04 | [Mutex] waiting for: [user_regular9irr460202@test-domain.com:message:received:content_nmw7ko0206] 2021-01-27 06:09:04 | [Mutex] received everything. 2021-01-27 06:09:04 | [Mutex] isItemNotified: user_regular9irr460202@test-domain.com:message:received:content_nmw7ko0206 :: true 2021-01-27 06:09:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 06:09:04 | [Mutex] received everything. 2021-01-27 06:09:04 | [Mutex] isItemNotified: node_xfyjqg0203:subscribe_node:success :: true 2021-01-27 06:09:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 06:09:04 | command: <data><node>node_xfyjqg0203</node><expire-at>2021-01-27T14:09:09Z</expire-at><entry><content>content_515ti40207</content></entry></data> 2021-01-27 06:09:04 | target: http://localhost:8088 2021-01-27 06:09:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 06:09:04 | entity: <data><node>node_xfyjqg0203</node><expire-at>2021-01-27T14:09:09Z</expire-at><entry><content>content_515ti40207</content></entry></data> 2021-01-27 06:09:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:09:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 06:09:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8145461e-557b-4b44-9e02-df0597ebbb9b</value></item-id></result> 2021-01-27 06:09:04 | contains: true 2021-01-27 06:09:12 | [Mutex] waiting for: [user_regular9irr460202@test-domain.com:message:received:content_515ti40207] 2021-01-27 06:09:12 | [Mutex] waiting for: [user_regular9irr460202@test-domain.com:message:received:content_515ti40207] 2021-01-27 06:09:27 | [Mutex] timeout. Not received [user_regular9irr460202@test-domain.com:message:received:content_515ti40207] 2021-01-27 06:09:27 | [Mutex] received everything. 2021-01-27 06:09:27 | [Mutex] isItemNotified: user_regular9irr460202@test-domain.com:message:received:content_515ti40207 :: false 2021-01-27 06:09:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_515ti40207 :: true |