Test duration : 45.375s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.662s |
2022-02-15 21:34:43 |
2022-02-15 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-15 21:34:43 | ------------------------------------ 2022-02-15 21:34:43 | [Mutex] isItemNotified: node_3hmpl0203:exists :: false 2022-02-15 21:34:43 | [Mutex] waiting for: [node_3hmpl0203:create_node] 2022-02-15 21:34:43 | [Mutex] received everything. 2022-02-15 21:34:43 | [Mutex] isItemNotified: node_3hmpl0203:create_node:success :: true 2022-02-15 21:34:43 | [Mutex] waiting for: [node_3hmpl0203:subscribe_node] 2022-02-15 21:34:43 | [Mutex] waiting for: [node_3hmpl0203:subscribe_node] 2022-02-15 21:34:43 | [Mutex] received everything. 2022-02-15 21:34:43 | [Mutex] isItemNotified: node_3hmpl0203:subscribe_node:success :: true 2022-02-15 21:34:43 | ===== publishing normal message (to online) 2022-02-15 21:34:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 21:34:43 | command: <data><node>node_3hmpl0203</node><entry><content>content_7nvp930204</content></entry></data> 2022-02-15 21:34:43 | target: http://localhost:8088 2022-02-15 21:34:43 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-02-15 21:34:43 | entity: <data><node>node_3hmpl0203</node><entry><content>content_7nvp930204</content></entry></data> 2022-02-15 21:34:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 21:34:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97d45a9b-459a-452b-99ea-d95c3cf6c909</value></item-id></result> 2022-02-15 21:34:43 | contains: true 2022-02-15 21:34:43 | [Mutex] received everything. 2022-02-15 21:34:43 | [Mutex] isItemNotified: user_regularwwxdk20202@test-domain.com:message:received:content_7nvp930204 :: true 2022-02-15 21:34:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-15 21:34:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 21:34:43 | command: <data><node>node_3hmpl0203</node><expire-at>2022-02-16T05:34:38Z</expire-at><entry><content>content_25mp8z0205</content></entry></data> 2022-02-15 21:34:43 | target: http://localhost:8088 2022-02-15 21:34:43 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-15 21:34:43 | entity: <data><node>node_3hmpl0203</node><expire-at>2022-02-16T05:34:38Z</expire-at><entry><content>content_25mp8z0205</content></entry></data> 2022-02-15 21:34:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 21:34:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a56ebb1b-9b2c-4666-8b26-2cfc9c431521</value></item-id></result> 2022-02-15 21:34:43 | contains: true 2022-02-15 21:34:43 | [Mutex] waiting for: [user_regularwwxdk20202@test-domain.com:message:received:content_25mp8z0205] 2022-02-15 21:34:58 | [Mutex] timeout. Not received [user_regularwwxdk20202@test-domain.com:message:received:content_25mp8z0205] 2022-02-15 21:34:58 | [Mutex] isItemNotified: user_regularwwxdk20202@test-domain.com:message:received:content_25mp8z0205 :: false 2022-02-15 21:34:58 | ===== publishing normal message (to offline) 2022-02-15 21:34:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 21:34:58 | command: <data><node>node_3hmpl0203</node><entry><content>content_1n827c0206</content></entry></data> 2022-02-15 21:34:58 | target: http://localhost:8088 2022-02-15 21:34:58 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-02-15 21:34:58 | entity: <data><node>node_3hmpl0203</node><entry><content>content_1n827c0206</content></entry></data> 2022-02-15 21:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 21:34:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2abb394d-4121-4f2b-9441-38d2f09eab76</value></item-id></result> 2022-02-15 21:34:58 | contains: true 2022-02-15 21:35:03 | [Mutex] waiting for: [user_regularwwxdk20202@test-domain.com:message:received:content_1n827c0206] 2022-02-15 21:35:03 | [Mutex] waiting for: [user_regularwwxdk20202@test-domain.com:message:received:content_1n827c0206] 2022-02-15 21:35:03 | [Mutex] received everything. 2022-02-15 21:35:03 | [Mutex] isItemNotified: user_regularwwxdk20202@test-domain.com:message:received:content_1n827c0206 :: true 2022-02-15 21:35:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-15 21:35:03 | [Mutex] received everything. 2022-02-15 21:35:03 | [Mutex] isItemNotified: node_3hmpl0203:subscribe_node:success :: true 2022-02-15 21:35:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 21:35:03 | command: <data><node>node_3hmpl0203</node><expire-at>2022-02-16T05:35:08Z</expire-at><entry><content>content_l55xbb0207</content></entry></data> 2022-02-15 21:35:03 | target: http://localhost:8088 2022-02-15 21:35:03 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-15 21:35:03 | entity: <data><node>node_3hmpl0203</node><expire-at>2022-02-16T05:35:08Z</expire-at><entry><content>content_l55xbb0207</content></entry></data> 2022-02-15 21:35:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:35:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 21:35:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1073eebc-a05a-4704-b57f-6d0c86029e0c</value></item-id></result> 2022-02-15 21:35:03 | contains: true 2022-02-15 21:35:12 | [Mutex] waiting for: [user_regularwwxdk20202@test-domain.com:message:received:content_l55xbb0207] 2022-02-15 21:35:27 | [Mutex] timeout. Not received [user_regularwwxdk20202@test-domain.com:message:received:content_l55xbb0207] 2022-02-15 21:35:27 | [Mutex] received everything. 2022-02-15 21:35:27 | [Mutex] isItemNotified: user_regularwwxdk20202@test-domain.com:message:received:content_l55xbb0207 :: false 2022-02-15 21:35:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l55xbb0207 :: true |