Test duration : 45.182s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.713s |
2020-09-13 22:32:37 |
2020-09-13 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-13 22:32:37 | ------------------------------------ 2020-09-13 22:32:37 | [Mutex] isItemNotified: node_ox0spk0203:exists :: false 2020-09-13 22:32:37 | [Mutex] waiting for: [node_ox0spk0203:create_node] 2020-09-13 22:32:37 | [Mutex] received everything. 2020-09-13 22:32:37 | [Mutex] isItemNotified: node_ox0spk0203:create_node:success :: true 2020-09-13 22:32:37 | [Mutex] waiting for: [node_ox0spk0203:subscribe_node] 2020-09-13 22:32:37 | [Mutex] received everything. 2020-09-13 22:32:37 | [Mutex] isItemNotified: node_ox0spk0203:subscribe_node:success :: true 2020-09-13 22:32:37 | ===== publishing normal message (to online) 2020-09-13 22:32:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:32:37 | command: <data><node>node_ox0spk0203</node><entry><content>content_9a2d3x0204</content></entry></data> 2020-09-13 22:32:37 | target: http://localhost:8088 2020-09-13 22:32:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 22:32:37 | entity: <data><node>node_ox0spk0203</node><entry><content>content_9a2d3x0204</content></entry></data> 2020-09-13 22:32:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:32:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:32:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b1f6084b-35ef-4595-8333-d6750bfebdc8</value></item-id></result> 2020-09-13 22:32:37 | contains: true 2020-09-13 22:32:37 | [Mutex] received everything. 2020-09-13 22:32:37 | [Mutex] isItemNotified: user_regularihjx6s0202@test-domain.com:message:received:content_9a2d3x0204 :: true 2020-09-13 22:32:37 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-13 22:32:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:32:37 | command: <data><node>node_ox0spk0203</node><expire-at>2020-09-14T05:32:32Z</expire-at><entry><content>content_wxnx3c0205</content></entry></data> 2020-09-13 22:32:37 | target: http://localhost:8088 2020-09-13 22:32:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 22:32:37 | entity: <data><node>node_ox0spk0203</node><expire-at>2020-09-14T05:32:32Z</expire-at><entry><content>content_wxnx3c0205</content></entry></data> 2020-09-13 22:32:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:32:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:32:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9eb74bc2-38e6-4d75-8917-c39d5f27dd06</value></item-id></result> 2020-09-13 22:32:37 | contains: true 2020-09-13 22:32:37 | [Mutex] waiting for: [user_regularihjx6s0202@test-domain.com:message:received:content_wxnx3c0205] 2020-09-13 22:32:52 | [Mutex] timeout. Not received [user_regularihjx6s0202@test-domain.com:message:received:content_wxnx3c0205] 2020-09-13 22:32:52 | [Mutex] isItemNotified: user_regularihjx6s0202@test-domain.com:message:received:content_wxnx3c0205 :: false 2020-09-13 22:32:52 | ===== publishing normal message (to offline) 2020-09-13 22:32:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:32:52 | command: <data><node>node_ox0spk0203</node><entry><content>content_386ucy0206</content></entry></data> 2020-09-13 22:32:52 | target: http://localhost:8088 2020-09-13 22:32:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 22:32:52 | entity: <data><node>node_ox0spk0203</node><entry><content>content_386ucy0206</content></entry></data> 2020-09-13 22:32:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:32:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:32:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29991d6c-d349-4e49-a6ca-dcd3b295a170</value></item-id></result> 2020-09-13 22:32:52 | contains: true 2020-09-13 22:32:58 | [Mutex] waiting for: [user_regularihjx6s0202@test-domain.com:message:received:content_386ucy0206] 2020-09-13 22:32:58 | [Mutex] received everything. 2020-09-13 22:32:58 | [Mutex] isItemNotified: user_regularihjx6s0202@test-domain.com:message:received:content_386ucy0206 :: true 2020-09-13 22:32:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-13 22:32:58 | [Mutex] received everything. 2020-09-13 22:32:58 | [Mutex] isItemNotified: node_ox0spk0203:subscribe_node:success :: true 2020-09-13 22:32:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:32:58 | command: <data><node>node_ox0spk0203</node><expire-at>2020-09-14T05:33:03Z</expire-at><entry><content>content_t0srnu0207</content></entry></data> 2020-09-13 22:32:58 | target: http://localhost:8088 2020-09-13 22:32:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 22:32:58 | entity: <data><node>node_ox0spk0203</node><expire-at>2020-09-14T05:33:03Z</expire-at><entry><content>content_t0srnu0207</content></entry></data> 2020-09-13 22:32:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:32:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:32:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9ee19bd7-b45a-495f-9300-d5bde2ce0dfb</value></item-id></result> 2020-09-13 22:32:58 | contains: true 2020-09-13 22:33:06 | [Mutex] waiting for: [user_regularihjx6s0202@test-domain.com:message:received:content_t0srnu0207] 2020-09-13 22:33:06 | [Mutex] waiting for: [user_regularihjx6s0202@test-domain.com:message:received:content_t0srnu0207] 2020-09-13 22:33:06 | [Mutex] waiting for: [user_regularihjx6s0202@test-domain.com:message:received:content_t0srnu0207] 2020-09-13 22:33:21 | [Mutex] timeout. Not received [user_regularihjx6s0202@test-domain.com:message:received:content_t0srnu0207] 2020-09-13 22:33:21 | [Mutex] received everything. 2020-09-13 22:33:21 | [Mutex] isItemNotified: user_regularihjx6s0202@test-domain.com:message:received:content_t0srnu0207 :: false 2020-09-13 22:33:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t0srnu0207 :: true |