Test duration : 45.190s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.775s |
2022-02-17 04:22:57 |
2022-02-17 04:22:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-17 04:22:57 | ------------------------------------ 2022-02-17 04:22:57 | [Mutex] isItemNotified: node_36y1jc0203:exists :: false 2022-02-17 04:22:57 | [Mutex] waiting for: [node_36y1jc0203:create_node] 2022-02-17 04:22:57 | [Mutex] received everything. 2022-02-17 04:22:57 | [Mutex] isItemNotified: node_36y1jc0203:create_node:success :: true 2022-02-17 04:22:57 | [Mutex] waiting for: [node_36y1jc0203:subscribe_node] 2022-02-17 04:22:57 | [Mutex] waiting for: [node_36y1jc0203:subscribe_node] 2022-02-17 04:22:57 | [Mutex] received everything. 2022-02-17 04:22:57 | [Mutex] isItemNotified: node_36y1jc0203:subscribe_node:success :: true 2022-02-17 04:22:57 | ===== publishing normal message (to online) 2022-02-17 04:22:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:22:57 | command: <data><node>node_36y1jc0203</node><entry><content>content_9knzu50204</content></entry></data> 2022-02-17 04:22:57 | target: http://localhost:8088 2022-02-17 04:22:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:22:57 | entity: <data><node>node_36y1jc0203</node><entry><content>content_9knzu50204</content></entry></data> 2022-02-17 04:22:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:22:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:22:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2017af69-789e-4971-b665-dc112e6d67e4</value></item-id></result> 2022-02-17 04:22:58 | contains: true 2022-02-17 04:22:58 | [Mutex] received everything. 2022-02-17 04:22:58 | [Mutex] isItemNotified: user_regularpvfp4f0202@test-domain.com:message:received:content_9knzu50204 :: true 2022-02-17 04:22:58 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-17 04:22:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:22:58 | command: <data><node>node_36y1jc0203</node><expire-at>2022-02-17T12:22:53Z</expire-at><entry><content>content_vti3e0205</content></entry></data> 2022-02-17 04:22:58 | target: http://localhost:8088 2022-02-17 04:22:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-17 04:22:58 | entity: <data><node>node_36y1jc0203</node><expire-at>2022-02-17T12:22:53Z</expire-at><entry><content>content_vti3e0205</content></entry></data> 2022-02-17 04:22:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:22:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:22:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eaf4f50e-bb12-4e47-9962-583eae98dc09</value></item-id></result> 2022-02-17 04:22:58 | contains: true 2022-02-17 04:22:58 | [Mutex] waiting for: [user_regularpvfp4f0202@test-domain.com:message:received:content_vti3e0205] 2022-02-17 04:23:13 | [Mutex] timeout. Not received [user_regularpvfp4f0202@test-domain.com:message:received:content_vti3e0205] 2022-02-17 04:23:13 | [Mutex] isItemNotified: user_regularpvfp4f0202@test-domain.com:message:received:content_vti3e0205 :: false 2022-02-17 04:23:13 | ===== publishing normal message (to offline) 2022-02-17 04:23:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:23:13 | command: <data><node>node_36y1jc0203</node><entry><content>content_hi144d0206</content></entry></data> 2022-02-17 04:23:13 | target: http://localhost:8088 2022-02-17 04:23:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:23:13 | entity: <data><node>node_36y1jc0203</node><entry><content>content_hi144d0206</content></entry></data> 2022-02-17 04:23:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:23:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:23:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0de563a7-eddc-4409-bf2a-4d1fbed5a53a</value></item-id></result> 2022-02-17 04:23:13 | contains: true 2022-02-17 04:23:18 | [Mutex] waiting for: [user_regularpvfp4f0202@test-domain.com:message:received:content_hi144d0206] 2022-02-17 04:23:18 | [Mutex] received everything. 2022-02-17 04:23:18 | [Mutex] isItemNotified: user_regularpvfp4f0202@test-domain.com:message:received:content_hi144d0206 :: true 2022-02-17 04:23:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-17 04:23:18 | [Mutex] received everything. 2022-02-17 04:23:18 | [Mutex] isItemNotified: node_36y1jc0203:subscribe_node:success :: true 2022-02-17 04:23:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:23:18 | command: <data><node>node_36y1jc0203</node><expire-at>2022-02-17T12:23:23Z</expire-at><entry><content>content_lxbmk70207</content></entry></data> 2022-02-17 04:23:18 | target: http://localhost:8088 2022-02-17 04:23:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:23:18 | entity: <data><node>node_36y1jc0203</node><expire-at>2022-02-17T12:23:23Z</expire-at><entry><content>content_lxbmk70207</content></entry></data> 2022-02-17 04:23:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:23:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:23:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c957f6bd-d23f-424b-b2b3-7f064c7d380e</value></item-id></result> 2022-02-17 04:23:18 | contains: true 2022-02-17 04:23:26 | [Mutex] waiting for: [user_regularpvfp4f0202@test-domain.com:message:received:content_lxbmk70207] 2022-02-17 04:23:26 | [Mutex] waiting for: [user_regularpvfp4f0202@test-domain.com:message:received:content_lxbmk70207] 2022-02-17 04:23:41 | [Mutex] timeout. Not received [user_regularpvfp4f0202@test-domain.com:message:received:content_lxbmk70207] 2022-02-17 04:23:41 | [Mutex] received everything. 2022-02-17 04:23:41 | [Mutex] isItemNotified: user_regularpvfp4f0202@test-domain.com:message:received:content_lxbmk70207 :: false 2022-02-17 04:23:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lxbmk70207 :: true |