Test duration : 45.745s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.711s |
2022-02-21 21:37:19 |
2022-02-21 21:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-21 21:37:19 | ------------------------------------ 2022-02-21 21:37:19 | [Mutex] isItemNotified: node_im5fs80203:exists :: false 2022-02-21 21:37:19 | [Mutex] waiting for: [node_im5fs80203:create_node] 2022-02-21 21:37:19 | [Mutex] received everything. 2022-02-21 21:37:19 | [Mutex] isItemNotified: node_im5fs80203:create_node:success :: true 2022-02-21 21:37:19 | [Mutex] waiting for: [node_im5fs80203:subscribe_node] 2022-02-21 21:37:19 | [Mutex] waiting for: [node_im5fs80203:subscribe_node] 2022-02-21 21:37:19 | [Mutex] received everything. 2022-02-21 21:37:19 | [Mutex] isItemNotified: node_im5fs80203:subscribe_node:success :: true 2022-02-21 21:37:19 | ===== publishing normal message (to online) 2022-02-21 21:37:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:37:19 | command: <data><node>node_im5fs80203</node><entry><content>content_s7nopr0204</content></entry></data> 2022-02-21 21:37:19 | target: http://localhost:8088 2022-02-21 21:37:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 21:37:19 | entity: <data><node>node_im5fs80203</node><entry><content>content_s7nopr0204</content></entry></data> 2022-02-21 21:37:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:37:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:37:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5ab77ab-2f73-4ec3-a7b3-96e502a49caa</value></item-id></result> 2022-02-21 21:37:19 | contains: true 2022-02-21 21:37:19 | [Mutex] received everything. 2022-02-21 21:37:19 | [Mutex] isItemNotified: user_regular2a20m20202@test-domain.com:message:received:content_s7nopr0204 :: true 2022-02-21 21:37:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-21 21:37:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:37:19 | command: <data><node>node_im5fs80203</node><expire-at>2022-02-22T05:37:14Z</expire-at><entry><content>content_wocii60205</content></entry></data> 2022-02-21 21:37:19 | target: http://localhost:8088 2022-02-21 21:37:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-21 21:37:19 | entity: <data><node>node_im5fs80203</node><expire-at>2022-02-22T05:37:14Z</expire-at><entry><content>content_wocii60205</content></entry></data> 2022-02-21 21:37:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:37:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:37:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a50873b-a7eb-4691-8de2-134b0c716c01</value></item-id></result> 2022-02-21 21:37:19 | contains: true 2022-02-21 21:37:19 | [Mutex] waiting for: [user_regular2a20m20202@test-domain.com:message:received:content_wocii60205] 2022-02-21 21:37:34 | [Mutex] timeout. Not received [user_regular2a20m20202@test-domain.com:message:received:content_wocii60205] 2022-02-21 21:37:34 | [Mutex] isItemNotified: user_regular2a20m20202@test-domain.com:message:received:content_wocii60205 :: false 2022-02-21 21:37:34 | ===== publishing normal message (to offline) 2022-02-21 21:37:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:37:34 | command: <data><node>node_im5fs80203</node><entry><content>content_s63u1t0206</content></entry></data> 2022-02-21 21:37:34 | target: http://localhost:8088 2022-02-21 21:37:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 21:37:34 | entity: <data><node>node_im5fs80203</node><entry><content>content_s63u1t0206</content></entry></data> 2022-02-21 21:37:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:37:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:37:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4051a40-a907-4184-9493-a8b8b5158069</value></item-id></result> 2022-02-21 21:37:34 | contains: true 2022-02-21 21:37:39 | [Mutex] waiting for: [user_regular2a20m20202@test-domain.com:message:received:content_s63u1t0206] 2022-02-21 21:37:39 | [Mutex] received everything. 2022-02-21 21:37:39 | [Mutex] isItemNotified: user_regular2a20m20202@test-domain.com:message:received:content_s63u1t0206 :: true 2022-02-21 21:37:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-21 21:37:39 | [Mutex] received everything. 2022-02-21 21:37:39 | [Mutex] isItemNotified: node_im5fs80203:subscribe_node:success :: true 2022-02-21 21:37:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 21:37:40 | command: <data><node>node_im5fs80203</node><expire-at>2022-02-22T05:37:45Z</expire-at><entry><content>content_m98mrw0207</content></entry></data> 2022-02-21 21:37:40 | target: http://localhost:8088 2022-02-21 21:37:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-21 21:37:40 | entity: <data><node>node_im5fs80203</node><expire-at>2022-02-22T05:37:45Z</expire-at><entry><content>content_m98mrw0207</content></entry></data> 2022-02-21 21:37:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 05:37:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 21:37:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa94a708-0853-4dd5-9a9b-f37efcc674b9</value></item-id></result> 2022-02-21 21:37:40 | contains: true 2022-02-21 21:37:48 | [Mutex] waiting for: [user_regular2a20m20202@test-domain.com:message:received:content_m98mrw0207] 2022-02-21 21:37:48 | [Mutex] waiting for: [user_regular2a20m20202@test-domain.com:message:received:content_m98mrw0207] 2022-02-21 21:38:03 | [Mutex] timeout. Not received [user_regular2a20m20202@test-domain.com:message:received:content_m98mrw0207] 2022-02-21 21:38:03 | [Mutex] received everything. 2022-02-21 21:38:03 | [Mutex] isItemNotified: user_regular2a20m20202@test-domain.com:message:received:content_m98mrw0207 :: false 2022-02-21 21:38:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m98mrw0207 :: true |