Test duration : 45.035s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.702s |
2020-09-06 23:40:51 |
2020-09-06 23:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-06 23:40:51 | ------------------------------------ 2020-09-06 23:40:51 | [Mutex] isItemNotified: node_4lfh2t0203:exists :: false 2020-09-06 23:40:51 | [Mutex] waiting for: [node_4lfh2t0203:create_node] 2020-09-06 23:40:51 | [Mutex] received everything. 2020-09-06 23:40:51 | [Mutex] isItemNotified: node_4lfh2t0203:create_node:success :: true 2020-09-06 23:40:51 | [Mutex] waiting for: [node_4lfh2t0203:subscribe_node] 2020-09-06 23:40:51 | [Mutex] waiting for: [node_4lfh2t0203:subscribe_node] 2020-09-06 23:40:51 | [Mutex] received everything. 2020-09-06 23:40:51 | [Mutex] isItemNotified: node_4lfh2t0203:subscribe_node:success :: true 2020-09-06 23:40:51 | ===== publishing normal message (to online) 2020-09-06 23:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 23:40:51 | command: <data><node>node_4lfh2t0203</node><entry><content>content_uwacdp0204</content></entry></data> 2020-09-06 23:40:51 | target: http://localhost:8088 2020-09-06 23:40:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-06 23:40:51 | entity: <data><node>node_4lfh2t0203</node><entry><content>content_uwacdp0204</content></entry></data> 2020-09-06 23:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 06:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 23:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>597751f5-eda3-46e3-bb86-7818c238043e</value></item-id></result> 2020-09-06 23:40:51 | contains: true 2020-09-06 23:40:51 | [Mutex] received everything. 2020-09-06 23:40:51 | [Mutex] isItemNotified: user_regularb5pe5i0202@test-domain.com:message:received:content_uwacdp0204 :: true 2020-09-06 23:40:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-06 23:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 23:40:51 | command: <data><node>node_4lfh2t0203</node><expire-at>2020-09-07T06:40:46Z</expire-at><entry><content>content_hw32ep0205</content></entry></data> 2020-09-06 23:40:51 | target: http://localhost:8088 2020-09-06 23:40:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-06 23:40:51 | entity: <data><node>node_4lfh2t0203</node><expire-at>2020-09-07T06:40:46Z</expire-at><entry><content>content_hw32ep0205</content></entry></data> 2020-09-06 23:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 06:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 23:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a427bca3-60d4-45d7-8e0a-1fdb7fa1d30b</value></item-id></result> 2020-09-06 23:40:51 | contains: true 2020-09-06 23:40:51 | [Mutex] waiting for: [user_regularb5pe5i0202@test-domain.com:message:received:content_hw32ep0205] 2020-09-06 23:41:06 | [Mutex] timeout. Not received [user_regularb5pe5i0202@test-domain.com:message:received:content_hw32ep0205] 2020-09-06 23:41:06 | [Mutex] isItemNotified: user_regularb5pe5i0202@test-domain.com:message:received:content_hw32ep0205 :: false 2020-09-06 23:41:06 | ===== publishing normal message (to offline) 2020-09-06 23:41:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 23:41:06 | command: <data><node>node_4lfh2t0203</node><entry><content>content_ig0blv0206</content></entry></data> 2020-09-06 23:41:06 | target: http://localhost:8088 2020-09-06 23:41:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-06 23:41:06 | entity: <data><node>node_4lfh2t0203</node><entry><content>content_ig0blv0206</content></entry></data> 2020-09-06 23:41:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 06:41:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 23:41:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fabd8f1-e3dc-4598-a5c6-2ff09309489f</value></item-id></result> 2020-09-06 23:41:06 | contains: true 2020-09-06 23:41:11 | [Mutex] waiting for: [user_regularb5pe5i0202@test-domain.com:message:received:content_ig0blv0206] 2020-09-06 23:41:11 | [Mutex] received everything. 2020-09-06 23:41:11 | [Mutex] isItemNotified: user_regularb5pe5i0202@test-domain.com:message:received:content_ig0blv0206 :: true 2020-09-06 23:41:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-06 23:41:11 | [Mutex] received everything. 2020-09-06 23:41:11 | [Mutex] isItemNotified: node_4lfh2t0203:subscribe_node:success :: true 2020-09-06 23:41:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-06 23:41:11 | command: <data><node>node_4lfh2t0203</node><expire-at>2020-09-07T06:41:16Z</expire-at><entry><content>content_oi1fwm0207</content></entry></data> 2020-09-06 23:41:11 | target: http://localhost:8088 2020-09-06 23:41:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-06 23:41:11 | entity: <data><node>node_4lfh2t0203</node><expire-at>2020-09-07T06:41:16Z</expire-at><entry><content>content_oi1fwm0207</content></entry></data> 2020-09-06 23:41:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 06:41:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-06 23:41:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71234790-3a90-487c-825c-56e39ca696ab</value></item-id></result> 2020-09-06 23:41:11 | contains: true 2020-09-06 23:41:19 | [Mutex] waiting for: [user_regularb5pe5i0202@test-domain.com:message:received:content_oi1fwm0207] 2020-09-06 23:41:34 | [Mutex] timeout. Not received [user_regularb5pe5i0202@test-domain.com:message:received:content_oi1fwm0207] 2020-09-06 23:41:34 | [Mutex] received everything. 2020-09-06 23:41:34 | [Mutex] isItemNotified: user_regularb5pe5i0202@test-domain.com:message:received:content_oi1fwm0207 :: false 2020-09-06 23:41:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oi1fwm0207 :: true |