Test duration : 45.522s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.831s |
2020-10-04 22:58:59 |
2020-10-04 22:58:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-04 22:58:59 | ------------------------------------ 2020-10-04 22:58:59 | [Mutex] isItemNotified: node_5p1a520203:exists :: false 2020-10-04 22:58:59 | [Mutex] waiting for: [node_5p1a520203:create_node] 2020-10-04 22:58:59 | [Mutex] received everything. 2020-10-04 22:58:59 | [Mutex] isItemNotified: node_5p1a520203:create_node:success :: true 2020-10-04 22:58:59 | [Mutex] waiting for: [node_5p1a520203:subscribe_node] 2020-10-04 22:58:59 | [Mutex] received everything. 2020-10-04 22:58:59 | [Mutex] isItemNotified: node_5p1a520203:subscribe_node:success :: true 2020-10-04 22:58:59 | ===== publishing normal message (to online) 2020-10-04 22:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 22:58:59 | command: <data><node>node_5p1a520203</node><entry><content>content_bv8xc40204</content></entry></data> 2020-10-04 22:58:59 | target: http://localhost:8088 2020-10-04 22:58:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-04 22:58:59 | entity: <data><node>node_5p1a520203</node><entry><content>content_bv8xc40204</content></entry></data> 2020-10-04 22:58:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:58:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 22:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8908324a-0b48-4ca0-a9a8-5a7201200f84</value></item-id></result> 2020-10-04 22:58:59 | contains: true 2020-10-04 22:58:59 | [Mutex] received everything. 2020-10-04 22:58:59 | [Mutex] isItemNotified: user_regulargk88k90202@test-domain.com:message:received:content_bv8xc40204 :: true 2020-10-04 22:58:59 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-04 22:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 22:58:59 | command: <data><node>node_5p1a520203</node><expire-at>2020-10-05T05:58:54Z</expire-at><entry><content>content_jmi2bn0205</content></entry></data> 2020-10-04 22:58:59 | target: http://localhost:8088 2020-10-04 22:58:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-04 22:58:59 | entity: <data><node>node_5p1a520203</node><expire-at>2020-10-05T05:58:54Z</expire-at><entry><content>content_jmi2bn0205</content></entry></data> 2020-10-04 22:58:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:58:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 22:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79d5f4a1-846f-49b1-a0d0-278a0f442aef</value></item-id></result> 2020-10-04 22:58:59 | contains: true 2020-10-04 22:58:59 | [Mutex] waiting for: [user_regulargk88k90202@test-domain.com:message:received:content_jmi2bn0205] 2020-10-04 22:59:14 | [Mutex] timeout. Not received [user_regulargk88k90202@test-domain.com:message:received:content_jmi2bn0205] 2020-10-04 22:59:14 | [Mutex] isItemNotified: user_regulargk88k90202@test-domain.com:message:received:content_jmi2bn0205 :: false 2020-10-04 22:59:14 | ===== publishing normal message (to offline) 2020-10-04 22:59:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 22:59:14 | command: <data><node>node_5p1a520203</node><entry><content>content_cts13s0206</content></entry></data> 2020-10-04 22:59:14 | target: http://localhost:8088 2020-10-04 22:59:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-04 22:59:14 | entity: <data><node>node_5p1a520203</node><entry><content>content_cts13s0206</content></entry></data> 2020-10-04 22:59:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:59:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 22:59:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef7ae7b7-0cbb-466d-87ae-01e4cc259764</value></item-id></result> 2020-10-04 22:59:14 | contains: true 2020-10-04 22:59:20 | [Mutex] waiting for: [user_regulargk88k90202@test-domain.com:message:received:content_cts13s0206] 2020-10-04 22:59:20 | [Mutex] received everything. 2020-10-04 22:59:20 | [Mutex] isItemNotified: user_regulargk88k90202@test-domain.com:message:received:content_cts13s0206 :: true 2020-10-04 22:59:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-04 22:59:20 | [Mutex] received everything. 2020-10-04 22:59:20 | [Mutex] isItemNotified: node_5p1a520203:subscribe_node:success :: true 2020-10-04 22:59:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 22:59:20 | command: <data><node>node_5p1a520203</node><expire-at>2020-10-05T05:59:25Z</expire-at><entry><content>content_2rg6zg0207</content></entry></data> 2020-10-04 22:59:20 | target: http://localhost:8088 2020-10-04 22:59:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-04 22:59:20 | entity: <data><node>node_5p1a520203</node><expire-at>2020-10-05T05:59:25Z</expire-at><entry><content>content_2rg6zg0207</content></entry></data> 2020-10-04 22:59:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:59:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 22:59:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>469fd272-2cef-4b3c-9fb3-a2cb37c6c6d3</value></item-id></result> 2020-10-04 22:59:20 | contains: true 2020-10-04 22:59:28 | [Mutex] waiting for: [user_regulargk88k90202@test-domain.com:message:received:content_2rg6zg0207] 2020-10-04 22:59:28 | [Mutex] waiting for: [user_regulargk88k90202@test-domain.com:message:received:content_2rg6zg0207] 2020-10-04 22:59:43 | [Mutex] timeout. Not received [user_regulargk88k90202@test-domain.com:message:received:content_2rg6zg0207] 2020-10-04 22:59:43 | [Mutex] received everything. 2020-10-04 22:59:43 | [Mutex] isItemNotified: user_regulargk88k90202@test-domain.com:message:received:content_2rg6zg0207 :: false 2020-10-04 22:59:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2rg6zg0207 :: true |