Test duration : 44.966s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.706s |
2021-10-05 22:31:53 |
2021-10-05 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-05 22:31:53 | ------------------------------------ 2021-10-05 22:31:53 | [Mutex] isItemNotified: node_5e24c0203:exists :: false 2021-10-05 22:31:53 | [Mutex] waiting for: [node_5e24c0203:create_node] 2021-10-05 22:31:53 | [Mutex] received everything. 2021-10-05 22:31:53 | [Mutex] isItemNotified: node_5e24c0203:create_node:success :: true 2021-10-05 22:31:53 | [Mutex] waiting for: [node_5e24c0203:subscribe_node] 2021-10-05 22:31:53 | [Mutex] waiting for: [node_5e24c0203:subscribe_node] 2021-10-05 22:31:53 | [Mutex] received everything. 2021-10-05 22:31:53 | [Mutex] isItemNotified: node_5e24c0203:subscribe_node:success :: true 2021-10-05 22:31:53 | ===== publishing normal message (to online) 2021-10-05 22:31:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:31:53 | command: <data><node>node_5e24c0203</node><entry><content>content_lf221g0204</content></entry></data> 2021-10-05 22:31:53 | target: http://localhost:8088 2021-10-05 22:31:53 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-10-05 22:31:53 | entity: <data><node>node_5e24c0203</node><entry><content>content_lf221g0204</content></entry></data> 2021-10-05 22:31:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:31:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:31:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>03be9a65-0b03-4ac2-852e-60073c9de7f4</value></item-id></result> 2021-10-05 22:31:53 | contains: true 2021-10-05 22:31:53 | [Mutex] received everything. 2021-10-05 22:31:53 | [Mutex] isItemNotified: user_regularh6rjy20202@test-domain.com:message:received:content_lf221g0204 :: true 2021-10-05 22:31:53 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-05 22:31:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:31:53 | command: <data><node>node_5e24c0203</node><expire-at>2021-10-06T05:31:48Z</expire-at><entry><content>content_ccw4iw0205</content></entry></data> 2021-10-05 22:31:53 | target: http://localhost:8088 2021-10-05 22:31:53 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-10-05 22:31:53 | entity: <data><node>node_5e24c0203</node><expire-at>2021-10-06T05:31:48Z</expire-at><entry><content>content_ccw4iw0205</content></entry></data> 2021-10-05 22:31:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:31:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:31:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2c7d9a9-01c8-476e-869c-f903ab47b66d</value></item-id></result> 2021-10-05 22:31:54 | contains: true 2021-10-05 22:31:54 | [Mutex] waiting for: [user_regularh6rjy20202@test-domain.com:message:received:content_ccw4iw0205] 2021-10-05 22:32:09 | [Mutex] timeout. Not received [user_regularh6rjy20202@test-domain.com:message:received:content_ccw4iw0205] 2021-10-05 22:32:09 | [Mutex] isItemNotified: user_regularh6rjy20202@test-domain.com:message:received:content_ccw4iw0205 :: false 2021-10-05 22:32:09 | ===== publishing normal message (to offline) 2021-10-05 22:32:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:32:09 | command: <data><node>node_5e24c0203</node><entry><content>content_nhk8f0206</content></entry></data> 2021-10-05 22:32:09 | target: http://localhost:8088 2021-10-05 22:32:09 | entity: [Content-Type: application/xml,Content-Length: 91,Chunked: false] 2021-10-05 22:32:09 | entity: <data><node>node_5e24c0203</node><entry><content>content_nhk8f0206</content></entry></data> 2021-10-05 22:32:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:32:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:32:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ebfe932-9626-46f1-8a1d-d67893a23908</value></item-id></result> 2021-10-05 22:32:09 | contains: true 2021-10-05 22:32:14 | [Mutex] waiting for: [user_regularh6rjy20202@test-domain.com:message:received:content_nhk8f0206] 2021-10-05 22:32:14 | [Mutex] waiting for: [user_regularh6rjy20202@test-domain.com:message:received:content_nhk8f0206] 2021-10-05 22:32:14 | [Mutex] received everything. 2021-10-05 22:32:14 | [Mutex] isItemNotified: user_regularh6rjy20202@test-domain.com:message:received:content_nhk8f0206 :: true 2021-10-05 22:32:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-05 22:32:14 | [Mutex] received everything. 2021-10-05 22:32:14 | [Mutex] isItemNotified: node_5e24c0203:subscribe_node:success :: true 2021-10-05 22:32:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:32:14 | command: <data><node>node_5e24c0203</node><expire-at>2021-10-06T05:32:19Z</expire-at><entry><content>content_bvvenx0207</content></entry></data> 2021-10-05 22:32:14 | target: http://localhost:8088 2021-10-05 22:32:14 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-10-05 22:32:14 | entity: <data><node>node_5e24c0203</node><expire-at>2021-10-06T05:32:19Z</expire-at><entry><content>content_bvvenx0207</content></entry></data> 2021-10-05 22:32:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:32:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:32:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28a9672f-cdd3-4027-8769-5cde4efce870</value></item-id></result> 2021-10-05 22:32:14 | contains: true 2021-10-05 22:32:22 | [Mutex] waiting for: [user_regularh6rjy20202@test-domain.com:message:received:content_bvvenx0207] 2021-10-05 22:32:22 | [Mutex] waiting for: [user_regularh6rjy20202@test-domain.com:message:received:content_bvvenx0207] 2021-10-05 22:32:37 | [Mutex] timeout. Not received [user_regularh6rjy20202@test-domain.com:message:received:content_bvvenx0207] 2021-10-05 22:32:37 | [Mutex] received everything. 2021-10-05 22:32:37 | [Mutex] isItemNotified: user_regularh6rjy20202@test-domain.com:message:received:content_bvvenx0207 :: false 2021-10-05 22:32:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bvvenx0207 :: true |