Test duration : 45.575s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.757s |
2021-02-18 22:00:17 |
2021-02-18 22:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-18 22:00:17 | ------------------------------------ 2021-02-18 22:00:17 | [Mutex] isItemNotified: node_511sbw0203:exists :: false 2021-02-18 22:00:17 | [Mutex] waiting for: [node_511sbw0203:create_node] 2021-02-18 22:00:17 | [Mutex] received everything. 2021-02-18 22:00:17 | [Mutex] isItemNotified: node_511sbw0203:create_node:success :: true 2021-02-18 22:00:17 | [Mutex] waiting for: [node_511sbw0203:subscribe_node] 2021-02-18 22:00:18 | [Mutex] received everything. 2021-02-18 22:00:18 | [Mutex] isItemNotified: node_511sbw0203:subscribe_node:success :: true 2021-02-18 22:00:18 | ===== publishing normal message (to online) 2021-02-18 22:00:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 22:00:18 | command: <data><node>node_511sbw0203</node><entry><content>content_9owvk00204</content></entry></data> 2021-02-18 22:00:18 | target: http://localhost:8088 2021-02-18 22:00:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 22:00:18 | entity: <data><node>node_511sbw0203</node><entry><content>content_9owvk00204</content></entry></data> 2021-02-18 22:00:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:00:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 22:00:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f17b94c-40a5-4232-a613-d1ecc3c9a56a</value></item-id></result> 2021-02-18 22:00:18 | contains: true 2021-02-18 22:00:18 | [Mutex] received everything. 2021-02-18 22:00:18 | [Mutex] isItemNotified: user_regularmc2kx80202@test-domain.com:message:received:content_9owvk00204 :: true 2021-02-18 22:00:18 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-18 22:00:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 22:00:18 | command: <data><node>node_511sbw0203</node><expire-at>2021-02-19T06:00:13Z</expire-at><entry><content>content_qodpox0205</content></entry></data> 2021-02-18 22:00:18 | target: http://localhost:8088 2021-02-18 22:00:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 22:00:18 | entity: <data><node>node_511sbw0203</node><expire-at>2021-02-19T06:00:13Z</expire-at><entry><content>content_qodpox0205</content></entry></data> 2021-02-18 22:00:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:00:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 22:00:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>10a58fe5-10c4-49eb-881a-5a057e82aba7</value></item-id></result> 2021-02-18 22:00:18 | contains: true 2021-02-18 22:00:18 | [Mutex] waiting for: [user_regularmc2kx80202@test-domain.com:message:received:content_qodpox0205] 2021-02-18 22:00:33 | [Mutex] timeout. Not received [user_regularmc2kx80202@test-domain.com:message:received:content_qodpox0205] 2021-02-18 22:00:33 | [Mutex] isItemNotified: user_regularmc2kx80202@test-domain.com:message:received:content_qodpox0205 :: false 2021-02-18 22:00:33 | ===== publishing normal message (to offline) 2021-02-18 22:00:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 22:00:33 | command: <data><node>node_511sbw0203</node><entry><content>content_1hkmof0206</content></entry></data> 2021-02-18 22:00:33 | target: http://localhost:8088 2021-02-18 22:00:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 22:00:33 | entity: <data><node>node_511sbw0203</node><entry><content>content_1hkmof0206</content></entry></data> 2021-02-18 22:00:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:00:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 22:00:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7443493-4ca9-4c48-bf43-7aa357ef338e</value></item-id></result> 2021-02-18 22:00:33 | contains: true 2021-02-18 22:00:38 | [Mutex] waiting for: [user_regularmc2kx80202@test-domain.com:message:received:content_1hkmof0206] 2021-02-18 22:00:38 | [Mutex] waiting for: [user_regularmc2kx80202@test-domain.com:message:received:content_1hkmof0206] 2021-02-18 22:00:38 | [Mutex] received everything. 2021-02-18 22:00:38 | [Mutex] isItemNotified: user_regularmc2kx80202@test-domain.com:message:received:content_1hkmof0206 :: true 2021-02-18 22:00:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-18 22:00:38 | [Mutex] received everything. 2021-02-18 22:00:38 | [Mutex] isItemNotified: node_511sbw0203:subscribe_node:success :: true 2021-02-18 22:00:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 22:00:38 | command: <data><node>node_511sbw0203</node><expire-at>2021-02-19T06:00:43Z</expire-at><entry><content>content_xfajul0207</content></entry></data> 2021-02-18 22:00:38 | target: http://localhost:8088 2021-02-18 22:00:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 22:00:38 | entity: <data><node>node_511sbw0203</node><expire-at>2021-02-19T06:00:43Z</expire-at><entry><content>content_xfajul0207</content></entry></data> 2021-02-18 22:00:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:00:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 22:00:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>10cf8c87-e96d-4a2c-86e5-3cda4a5a54d8</value></item-id></result> 2021-02-18 22:00:38 | contains: true 2021-02-18 22:00:46 | [Mutex] waiting for: [user_regularmc2kx80202@test-domain.com:message:received:content_xfajul0207] 2021-02-18 22:00:46 | [Mutex] waiting for: [user_regularmc2kx80202@test-domain.com:message:received:content_xfajul0207] 2021-02-18 22:01:01 | [Mutex] timeout. Not received [user_regularmc2kx80202@test-domain.com:message:received:content_xfajul0207] 2021-02-18 22:01:01 | [Mutex] received everything. 2021-02-18 22:01:01 | [Mutex] isItemNotified: user_regularmc2kx80202@test-domain.com:message:received:content_xfajul0207 :: false 2021-02-18 22:01:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xfajul0207 :: true |