Test duration : 44.931s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.667s |
2022-02-21 22:17:51 |
2022-02-21 22:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-21 22:17:51 | ------------------------------------ 2022-02-21 22:17:51 | [Mutex] isItemNotified: node_vfgf6p0203:exists :: false 2022-02-21 22:17:51 | [Mutex] waiting for: [node_vfgf6p0203:create_node] 2022-02-21 22:17:51 | [Mutex] received everything. 2022-02-21 22:17:51 | [Mutex] isItemNotified: node_vfgf6p0203:create_node:success :: true 2022-02-21 22:17:51 | [Mutex] waiting for: [node_vfgf6p0203:subscribe_node] 2022-02-21 22:17:51 | [Mutex] waiting for: [node_vfgf6p0203:subscribe_node] 2022-02-21 22:17:51 | [Mutex] received everything. 2022-02-21 22:17:51 | [Mutex] isItemNotified: node_vfgf6p0203:subscribe_node:success :: true 2022-02-21 22:17:51 | ===== publishing normal message (to online) 2022-02-21 22:17:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:17:51 | command: <data><node>node_vfgf6p0203</node><entry><content>content_vsdekr0204</content></entry></data> 2022-02-21 22:17:51 | target: http://localhost:8088 2022-02-21 22:17:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 22:17:51 | entity: <data><node>node_vfgf6p0203</node><entry><content>content_vsdekr0204</content></entry></data> 2022-02-21 22:17:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:17:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:17:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52ee7bce-dad1-4fbd-8538-98930b407ca9</value></item-id></result> 2022-02-21 22:17:51 | contains: true 2022-02-21 22:17:51 | [Mutex] received everything. 2022-02-21 22:17:51 | [Mutex] isItemNotified: user_regular4vvkxf0202@test-domain.com:message:received:content_vsdekr0204 :: true 2022-02-21 22:17:51 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-21 22:17:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:17:51 | command: <data><node>node_vfgf6p0203</node><expire-at>2022-02-22T06:17:46Z</expire-at><entry><content>content_ltzg010205</content></entry></data> 2022-02-21 22:17:51 | target: http://localhost:8088 2022-02-21 22:17:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-21 22:17:51 | entity: <data><node>node_vfgf6p0203</node><expire-at>2022-02-22T06:17:46Z</expire-at><entry><content>content_ltzg010205</content></entry></data> 2022-02-21 22:17:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:17:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:17:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b21fbd5f-5d07-40c8-8033-8b7d8aec694a</value></item-id></result> 2022-02-21 22:17:52 | contains: true 2022-02-21 22:17:52 | [Mutex] waiting for: [user_regular4vvkxf0202@test-domain.com:message:received:content_ltzg010205] 2022-02-21 22:18:07 | [Mutex] timeout. Not received [user_regular4vvkxf0202@test-domain.com:message:received:content_ltzg010205] 2022-02-21 22:18:07 | [Mutex] isItemNotified: user_regular4vvkxf0202@test-domain.com:message:received:content_ltzg010205 :: false 2022-02-21 22:18:07 | ===== publishing normal message (to offline) 2022-02-21 22:18:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:18:07 | command: <data><node>node_vfgf6p0203</node><entry><content>content_p9fi2t0206</content></entry></data> 2022-02-21 22:18:07 | target: http://localhost:8088 2022-02-21 22:18:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 22:18:07 | entity: <data><node>node_vfgf6p0203</node><entry><content>content_p9fi2t0206</content></entry></data> 2022-02-21 22:18:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:18:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:18:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eeba4104-967e-42c4-84c2-ac46fa635b2a</value></item-id></result> 2022-02-21 22:18:07 | contains: true 2022-02-21 22:18:12 | [Mutex] waiting for: [user_regular4vvkxf0202@test-domain.com:message:received:content_p9fi2t0206] 2022-02-21 22:18:12 | [Mutex] waiting for: [user_regular4vvkxf0202@test-domain.com:message:received:content_p9fi2t0206] 2022-02-21 22:18:12 | [Mutex] received everything. 2022-02-21 22:18:12 | [Mutex] isItemNotified: user_regular4vvkxf0202@test-domain.com:message:received:content_p9fi2t0206 :: true 2022-02-21 22:18:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-21 22:18:12 | [Mutex] received everything. 2022-02-21 22:18:12 | [Mutex] isItemNotified: node_vfgf6p0203:subscribe_node:success :: true 2022-02-21 22:18:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:18:12 | command: <data><node>node_vfgf6p0203</node><expire-at>2022-02-22T06:18:17Z</expire-at><entry><content>content_98b2df0207</content></entry></data> 2022-02-21 22:18:12 | target: http://localhost:8088 2022-02-21 22:18:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-21 22:18:12 | entity: <data><node>node_vfgf6p0203</node><expire-at>2022-02-22T06:18:17Z</expire-at><entry><content>content_98b2df0207</content></entry></data> 2022-02-21 22:18:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:18:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:18:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dcafb6f1-0e81-4735-a265-f55629fef3cd</value></item-id></result> 2022-02-21 22:18:12 | contains: true 2022-02-21 22:18:20 | [Mutex] waiting for: [user_regular4vvkxf0202@test-domain.com:message:received:content_98b2df0207] 2022-02-21 22:18:20 | [Mutex] waiting for: [user_regular4vvkxf0202@test-domain.com:message:received:content_98b2df0207] 2022-02-21 22:18:35 | [Mutex] timeout. Not received [user_regular4vvkxf0202@test-domain.com:message:received:content_98b2df0207] 2022-02-21 22:18:35 | [Mutex] received everything. 2022-02-21 22:18:35 | [Mutex] isItemNotified: user_regular4vvkxf0202@test-domain.com:message:received:content_98b2df0207 :: false 2022-02-21 22:18:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_98b2df0207 :: true |