Test duration : 45.483s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.699s |
2022-02-07 21:57:59 |
2022-02-07 21:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-07 21:57:59 | ------------------------------------ 2022-02-07 21:57:59 | [Mutex] isItemNotified: node_wz1h4r0203:exists :: false 2022-02-07 21:57:59 | [Mutex] waiting for: [node_wz1h4r0203:create_node] 2022-02-07 21:57:59 | [Mutex] received everything. 2022-02-07 21:57:59 | [Mutex] isItemNotified: node_wz1h4r0203:create_node:success :: true 2022-02-07 21:57:59 | [Mutex] waiting for: [node_wz1h4r0203:subscribe_node] 2022-02-07 21:57:59 | [Mutex] received everything. 2022-02-07 21:57:59 | [Mutex] isItemNotified: node_wz1h4r0203:subscribe_node:success :: true 2022-02-07 21:57:59 | ===== publishing normal message (to online) 2022-02-07 21:57:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:57:59 | command: <data><node>node_wz1h4r0203</node><entry><content>content_u9uo260204</content></entry></data> 2022-02-07 21:57:59 | target: http://localhost:8088 2022-02-07 21:57:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:57:59 | entity: <data><node>node_wz1h4r0203</node><entry><content>content_u9uo260204</content></entry></data> 2022-02-07 21:58:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:58:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:58:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96e7e271-6eee-4727-aea7-143bc8db107c</value></item-id></result> 2022-02-07 21:58:00 | contains: true 2022-02-07 21:58:00 | [Mutex] waiting for: [user_regular4sxdru0202@test-domain.com:message:received:content_u9uo260204] 2022-02-07 21:58:00 | [Mutex] received everything. 2022-02-07 21:58:00 | [Mutex] isItemNotified: user_regular4sxdru0202@test-domain.com:message:received:content_u9uo260204 :: true 2022-02-07 21:58:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-07 21:58:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:58:00 | command: <data><node>node_wz1h4r0203</node><expire-at>2022-02-08T05:57:55Z</expire-at><entry><content>content_njqddq0205</content></entry></data> 2022-02-07 21:58:00 | target: http://localhost:8088 2022-02-07 21:58:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:58:00 | entity: <data><node>node_wz1h4r0203</node><expire-at>2022-02-08T05:57:55Z</expire-at><entry><content>content_njqddq0205</content></entry></data> 2022-02-07 21:58:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:58:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:58:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87baff22-e4e2-4f08-ad4b-ddd63c6c1cf1</value></item-id></result> 2022-02-07 21:58:00 | contains: true 2022-02-07 21:58:00 | [Mutex] waiting for: [user_regular4sxdru0202@test-domain.com:message:received:content_njqddq0205] 2022-02-07 21:58:15 | [Mutex] timeout. Not received [user_regular4sxdru0202@test-domain.com:message:received:content_njqddq0205] 2022-02-07 21:58:15 | [Mutex] isItemNotified: user_regular4sxdru0202@test-domain.com:message:received:content_njqddq0205 :: false 2022-02-07 21:58:15 | ===== publishing normal message (to offline) 2022-02-07 21:58:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:58:15 | command: <data><node>node_wz1h4r0203</node><entry><content>content_nrts1k0206</content></entry></data> 2022-02-07 21:58:15 | target: http://localhost:8088 2022-02-07 21:58:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:58:15 | entity: <data><node>node_wz1h4r0203</node><entry><content>content_nrts1k0206</content></entry></data> 2022-02-07 21:58:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:58:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:58:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8030c577-e169-4437-be57-766133f3aab9</value></item-id></result> 2022-02-07 21:58:15 | contains: true 2022-02-07 21:58:20 | [Mutex] waiting for: [user_regular4sxdru0202@test-domain.com:message:received:content_nrts1k0206] 2022-02-07 21:58:20 | [Mutex] received everything. 2022-02-07 21:58:20 | [Mutex] isItemNotified: user_regular4sxdru0202@test-domain.com:message:received:content_nrts1k0206 :: true 2022-02-07 21:58:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-07 21:58:20 | [Mutex] received everything. 2022-02-07 21:58:20 | [Mutex] isItemNotified: node_wz1h4r0203:subscribe_node:success :: true 2022-02-07 21:58:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:58:20 | command: <data><node>node_wz1h4r0203</node><expire-at>2022-02-08T05:58:25Z</expire-at><entry><content>content_r51tdg0207</content></entry></data> 2022-02-07 21:58:20 | target: http://localhost:8088 2022-02-07 21:58:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:58:20 | entity: <data><node>node_wz1h4r0203</node><expire-at>2022-02-08T05:58:25Z</expire-at><entry><content>content_r51tdg0207</content></entry></data> 2022-02-07 21:58:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:58:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:58:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b9e77394-1649-4b74-b442-2cd1278f548f</value></item-id></result> 2022-02-07 21:58:20 | contains: true 2022-02-07 21:58:28 | [Mutex] waiting for: [user_regular4sxdru0202@test-domain.com:message:received:content_r51tdg0207] 2022-02-07 21:58:43 | [Mutex] timeout. Not received [user_regular4sxdru0202@test-domain.com:message:received:content_r51tdg0207] 2022-02-07 21:58:43 | [Mutex] received everything. 2022-02-07 21:58:43 | [Mutex] isItemNotified: user_regular4sxdru0202@test-domain.com:message:received:content_r51tdg0207 :: false 2022-02-07 21:58:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r51tdg0207 :: true |