Test duration : 45.711s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.751s |
2020-09-26 23:00:32 |
2020-09-26 23:00:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-26 23:00:32 | ------------------------------------ 2020-09-26 23:00:32 | [Mutex] isItemNotified: node_uxvf2u0203:exists :: false 2020-09-26 23:00:32 | [Mutex] waiting for: [node_uxvf2u0203:create_node] 2020-09-26 23:00:32 | [Mutex] received everything. 2020-09-26 23:00:32 | [Mutex] isItemNotified: node_uxvf2u0203:create_node:success :: true 2020-09-26 23:00:32 | [Mutex] waiting for: [node_uxvf2u0203:subscribe_node] 2020-09-26 23:00:32 | [Mutex] waiting for: [node_uxvf2u0203:subscribe_node] 2020-09-26 23:00:32 | [Mutex] received everything. 2020-09-26 23:00:32 | [Mutex] isItemNotified: node_uxvf2u0203:subscribe_node:success :: true 2020-09-26 23:00:32 | ===== publishing normal message (to online) 2020-09-26 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 23:00:32 | command: <data><node>node_uxvf2u0203</node><entry><content>content_v0v0fl0204</content></entry></data> 2020-09-26 23:00:32 | target: http://localhost:8088 2020-09-26 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-26 23:00:32 | entity: <data><node>node_uxvf2u0203</node><entry><content>content_v0v0fl0204</content></entry></data> 2020-09-26 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f0ed6d3-13d0-41a5-8f5b-44521415291b</value></item-id></result> 2020-09-26 23:00:32 | contains: true 2020-09-26 23:00:32 | [Mutex] received everything. 2020-09-26 23:00:32 | [Mutex] isItemNotified: user_regular9mclsu0202@test-domain.com:message:received:content_v0v0fl0204 :: true 2020-09-26 23:00:32 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-26 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 23:00:32 | command: <data><node>node_uxvf2u0203</node><expire-at>2020-09-27T06:00:27Z</expire-at><entry><content>content_ejfwb80205</content></entry></data> 2020-09-26 23:00:32 | target: http://localhost:8088 2020-09-26 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-26 23:00:32 | entity: <data><node>node_uxvf2u0203</node><expire-at>2020-09-27T06:00:27Z</expire-at><entry><content>content_ejfwb80205</content></entry></data> 2020-09-26 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb104a78-483f-441d-86f9-7b29102bbbba</value></item-id></result> 2020-09-26 23:00:32 | contains: true 2020-09-26 23:00:32 | [Mutex] waiting for: [user_regular9mclsu0202@test-domain.com:message:received:content_ejfwb80205] 2020-09-26 23:00:47 | [Mutex] timeout. Not received [user_regular9mclsu0202@test-domain.com:message:received:content_ejfwb80205] 2020-09-26 23:00:47 | [Mutex] isItemNotified: user_regular9mclsu0202@test-domain.com:message:received:content_ejfwb80205 :: false 2020-09-26 23:00:47 | ===== publishing normal message (to offline) 2020-09-26 23:00:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 23:00:48 | command: <data><node>node_uxvf2u0203</node><entry><content>content_3iq2eq0206</content></entry></data> 2020-09-26 23:00:48 | target: http://localhost:8088 2020-09-26 23:00:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-26 23:00:48 | entity: <data><node>node_uxvf2u0203</node><entry><content>content_3iq2eq0206</content></entry></data> 2020-09-26 23:00:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:00:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 23:00:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e5500b2d-7a4f-4f7d-954b-003492ea14fb</value></item-id></result> 2020-09-26 23:00:48 | contains: true 2020-09-26 23:00:53 | [Mutex] waiting for: [user_regular9mclsu0202@test-domain.com:message:received:content_3iq2eq0206] 2020-09-26 23:00:53 | [Mutex] received everything. 2020-09-26 23:00:53 | [Mutex] isItemNotified: user_regular9mclsu0202@test-domain.com:message:received:content_3iq2eq0206 :: true 2020-09-26 23:00:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-26 23:00:53 | [Mutex] received everything. 2020-09-26 23:00:53 | [Mutex] isItemNotified: node_uxvf2u0203:subscribe_node:success :: true 2020-09-26 23:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 23:00:53 | command: <data><node>node_uxvf2u0203</node><expire-at>2020-09-27T06:00:58Z</expire-at><entry><content>content_2ojmru0207</content></entry></data> 2020-09-26 23:00:53 | target: http://localhost:8088 2020-09-26 23:00:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-26 23:00:53 | entity: <data><node>node_uxvf2u0203</node><expire-at>2020-09-27T06:00:58Z</expire-at><entry><content>content_2ojmru0207</content></entry></data> 2020-09-26 23:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 23:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07511b2c-4f78-4eae-a7ab-c128b2813008</value></item-id></result> 2020-09-26 23:00:53 | contains: true 2020-09-26 23:01:01 | [Mutex] waiting for: [user_regular9mclsu0202@test-domain.com:message:received:content_2ojmru0207] 2020-09-26 23:01:01 | [Mutex] waiting for: [user_regular9mclsu0202@test-domain.com:message:received:content_2ojmru0207] 2020-09-26 23:01:16 | [Mutex] timeout. Not received [user_regular9mclsu0202@test-domain.com:message:received:content_2ojmru0207] 2020-09-26 23:01:16 | [Mutex] received everything. 2020-09-26 23:01:16 | [Mutex] isItemNotified: user_regular9mclsu0202@test-domain.com:message:received:content_2ojmru0207 :: false 2020-09-26 23:01:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2ojmru0207 :: true |