Test duration : 45.843s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.824s |
2020-10-21 22:32:39 |
2020-10-21 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-21 22:32:39 | ------------------------------------ 2020-10-21 22:32:39 | [Mutex] isItemNotified: node_mbat2o0203:exists :: false 2020-10-21 22:32:39 | [Mutex] waiting for: [node_mbat2o0203:create_node] 2020-10-21 22:32:39 | [Mutex] received everything. 2020-10-21 22:32:39 | [Mutex] isItemNotified: node_mbat2o0203:create_node:success :: true 2020-10-21 22:32:39 | [Mutex] waiting for: [node_mbat2o0203:subscribe_node] 2020-10-21 22:32:39 | [Mutex] waiting for: [node_mbat2o0203:subscribe_node] 2020-10-21 22:32:39 | [Mutex] received everything. 2020-10-21 22:32:39 | [Mutex] isItemNotified: node_mbat2o0203:subscribe_node:success :: true 2020-10-21 22:32:39 | ===== publishing normal message (to online) 2020-10-21 22:32:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:32:39 | command: <data><node>node_mbat2o0203</node><entry><content>content_kiu9000204</content></entry></data> 2020-10-21 22:32:39 | target: http://localhost:8088 2020-10-21 22:32:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:32:39 | entity: <data><node>node_mbat2o0203</node><entry><content>content_kiu9000204</content></entry></data> 2020-10-21 22:32:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:32:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:32:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b285ee9-f46c-4b55-823c-5af83a87c0b8</value></item-id></result> 2020-10-21 22:32:39 | contains: true 2020-10-21 22:32:39 | [Mutex] received everything. 2020-10-21 22:32:39 | [Mutex] isItemNotified: user_regularm6dbca0202@test-domain.com:message:received:content_kiu9000204 :: true 2020-10-21 22:32:39 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-21 22:32:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:32:39 | command: <data><node>node_mbat2o0203</node><expire-at>2020-10-22T05:32:34Z</expire-at><entry><content>content_n85gjx0205</content></entry></data> 2020-10-21 22:32:39 | target: http://localhost:8088 2020-10-21 22:32:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:32:39 | entity: <data><node>node_mbat2o0203</node><expire-at>2020-10-22T05:32:34Z</expire-at><entry><content>content_n85gjx0205</content></entry></data> 2020-10-21 22:32:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:32:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:32:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4835ee3-7539-44ba-848a-100588a539f7</value></item-id></result> 2020-10-21 22:32:39 | contains: true 2020-10-21 22:32:39 | [Mutex] waiting for: [user_regularm6dbca0202@test-domain.com:message:received:content_n85gjx0205] 2020-10-21 22:32:54 | [Mutex] timeout. Not received [user_regularm6dbca0202@test-domain.com:message:received:content_n85gjx0205] 2020-10-21 22:32:54 | [Mutex] isItemNotified: user_regularm6dbca0202@test-domain.com:message:received:content_n85gjx0205 :: false 2020-10-21 22:32:54 | ===== publishing normal message (to offline) 2020-10-21 22:32:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:32:54 | command: <data><node>node_mbat2o0203</node><entry><content>content_vyc7yc0206</content></entry></data> 2020-10-21 22:32:54 | target: http://localhost:8088 2020-10-21 22:32:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:32:54 | entity: <data><node>node_mbat2o0203</node><entry><content>content_vyc7yc0206</content></entry></data> 2020-10-21 22:32:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:32:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:32:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f165b2df-3d03-4cf1-92f0-5046b4bf8a8d</value></item-id></result> 2020-10-21 22:32:54 | contains: true 2020-10-21 22:33:00 | [Mutex] waiting for: [user_regularm6dbca0202@test-domain.com:message:received:content_vyc7yc0206] 2020-10-21 22:33:00 | [Mutex] waiting for: [user_regularm6dbca0202@test-domain.com:message:received:content_vyc7yc0206] 2020-10-21 22:33:00 | [Mutex] received everything. 2020-10-21 22:33:00 | [Mutex] isItemNotified: user_regularm6dbca0202@test-domain.com:message:received:content_vyc7yc0206 :: true 2020-10-21 22:33:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-21 22:33:00 | [Mutex] received everything. 2020-10-21 22:33:00 | [Mutex] isItemNotified: node_mbat2o0203:subscribe_node:success :: true 2020-10-21 22:33:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:33:00 | command: <data><node>node_mbat2o0203</node><expire-at>2020-10-22T05:33:05Z</expire-at><entry><content>content_27a55s0207</content></entry></data> 2020-10-21 22:33:00 | target: http://localhost:8088 2020-10-21 22:33:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:33:00 | entity: <data><node>node_mbat2o0203</node><expire-at>2020-10-22T05:33:05Z</expire-at><entry><content>content_27a55s0207</content></entry></data> 2020-10-21 22:33:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:33:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:33:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>777579da-eb86-407c-a7f7-e261f036fa2e</value></item-id></result> 2020-10-21 22:33:00 | contains: true 2020-10-21 22:33:08 | [Mutex] waiting for: [user_regularm6dbca0202@test-domain.com:message:received:content_27a55s0207] 2020-10-21 22:33:23 | [Mutex] timeout. Not received [user_regularm6dbca0202@test-domain.com:message:received:content_27a55s0207] 2020-10-21 22:33:23 | [Mutex] received everything. 2020-10-21 22:33:23 | [Mutex] isItemNotified: user_regularm6dbca0202@test-domain.com:message:received:content_27a55s0207 :: false 2020-10-21 22:33:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_27a55s0207 :: true |