Test duration : 45.386s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.768s |
2021-06-13 22:33:43 |
2021-06-13 22:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-13 22:33:43 | ------------------------------------ 2021-06-13 22:33:43 | [Mutex] isItemNotified: node_h0zynq0203:exists :: false 2021-06-13 22:33:43 | [Mutex] waiting for: [node_h0zynq0203:create_node] 2021-06-13 22:33:43 | [Mutex] received everything. 2021-06-13 22:33:43 | [Mutex] isItemNotified: node_h0zynq0203:create_node:success :: true 2021-06-13 22:33:43 | [Mutex] waiting for: [node_h0zynq0203:subscribe_node] 2021-06-13 22:33:43 | [Mutex] waiting for: [node_h0zynq0203:subscribe_node] 2021-06-13 22:33:43 | [Mutex] received everything. 2021-06-13 22:33:43 | [Mutex] isItemNotified: node_h0zynq0203:subscribe_node:success :: true 2021-06-13 22:33:43 | ===== publishing normal message (to online) 2021-06-13 22:33:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:33:43 | command: <data><node>node_h0zynq0203</node><entry><content>content_aj00cn0204</content></entry></data> 2021-06-13 22:33:43 | target: http://localhost:8088 2021-06-13 22:33:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:33:43 | entity: <data><node>node_h0zynq0203</node><entry><content>content_aj00cn0204</content></entry></data> 2021-06-13 22:33:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:33:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:33:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7679acae-1f71-4800-8412-c0d73ead479e</value></item-id></result> 2021-06-13 22:33:43 | contains: true 2021-06-13 22:33:43 | [Mutex] received everything. 2021-06-13 22:33:43 | [Mutex] isItemNotified: user_regulargyhhwc0202@test-domain.com:message:received:content_aj00cn0204 :: true 2021-06-13 22:33:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-13 22:33:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:33:43 | command: <data><node>node_h0zynq0203</node><expire-at>2021-06-14T05:33:38Z</expire-at><entry><content>content_tk7z5e0205</content></entry></data> 2021-06-13 22:33:43 | target: http://localhost:8088 2021-06-13 22:33:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:33:43 | entity: <data><node>node_h0zynq0203</node><expire-at>2021-06-14T05:33:38Z</expire-at><entry><content>content_tk7z5e0205</content></entry></data> 2021-06-13 22:33:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:33:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:33:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42708045-bbe5-4d62-ba8e-40c93913152e</value></item-id></result> 2021-06-13 22:33:43 | contains: true 2021-06-13 22:33:43 | [Mutex] waiting for: [user_regulargyhhwc0202@test-domain.com:message:received:content_tk7z5e0205] 2021-06-13 22:33:58 | [Mutex] timeout. Not received [user_regulargyhhwc0202@test-domain.com:message:received:content_tk7z5e0205] 2021-06-13 22:33:58 | [Mutex] isItemNotified: user_regulargyhhwc0202@test-domain.com:message:received:content_tk7z5e0205 :: false 2021-06-13 22:33:58 | ===== publishing normal message (to offline) 2021-06-13 22:33:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:33:58 | command: <data><node>node_h0zynq0203</node><entry><content>content_utu8qt0206</content></entry></data> 2021-06-13 22:33:58 | target: http://localhost:8088 2021-06-13 22:33:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:33:58 | entity: <data><node>node_h0zynq0203</node><entry><content>content_utu8qt0206</content></entry></data> 2021-06-13 22:33:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:33:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:33:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>543e5763-2d79-40cd-8690-20da913a7c3f</value></item-id></result> 2021-06-13 22:33:58 | contains: true 2021-06-13 22:34:03 | [Mutex] waiting for: [user_regulargyhhwc0202@test-domain.com:message:received:content_utu8qt0206] 2021-06-13 22:34:03 | [Mutex] received everything. 2021-06-13 22:34:03 | [Mutex] isItemNotified: user_regulargyhhwc0202@test-domain.com:message:received:content_utu8qt0206 :: true 2021-06-13 22:34:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-13 22:34:03 | [Mutex] received everything. 2021-06-13 22:34:03 | [Mutex] isItemNotified: node_h0zynq0203:subscribe_node:success :: true 2021-06-13 22:34:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:34:03 | command: <data><node>node_h0zynq0203</node><expire-at>2021-06-14T05:34:08Z</expire-at><entry><content>content_6x6ysz0207</content></entry></data> 2021-06-13 22:34:03 | target: http://localhost:8088 2021-06-13 22:34:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:34:03 | entity: <data><node>node_h0zynq0203</node><expire-at>2021-06-14T05:34:08Z</expire-at><entry><content>content_6x6ysz0207</content></entry></data> 2021-06-13 22:34:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:34:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:34:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53d84d1b-42e8-4f33-8cf1-cde0f3a9fc88</value></item-id></result> 2021-06-13 22:34:03 | contains: true 2021-06-13 22:34:12 | [Mutex] waiting for: [user_regulargyhhwc0202@test-domain.com:message:received:content_6x6ysz0207] 2021-06-13 22:34:12 | [Mutex] waiting for: [user_regulargyhhwc0202@test-domain.com:message:received:content_6x6ysz0207] 2021-06-13 22:34:27 | [Mutex] timeout. Not received [user_regulargyhhwc0202@test-domain.com:message:received:content_6x6ysz0207] 2021-06-13 22:34:27 | [Mutex] received everything. 2021-06-13 22:34:27 | [Mutex] isItemNotified: user_regulargyhhwc0202@test-domain.com:message:received:content_6x6ysz0207 :: false 2021-06-13 22:34:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6x6ysz0207 :: true |