Test duration : 45.508s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.659s |
2022-03-02 22:02:26 |
2022-03-02 22:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-02 22:02:26 | ------------------------------------ 2022-03-02 22:02:26 | [Mutex] isItemNotified: node_vfe1qo0203:exists :: false 2022-03-02 22:02:26 | [Mutex] waiting for: [node_vfe1qo0203:create_node] 2022-03-02 22:02:26 | [Mutex] received everything. 2022-03-02 22:02:26 | [Mutex] isItemNotified: node_vfe1qo0203:create_node:success :: true 2022-03-02 22:02:26 | [Mutex] waiting for: [node_vfe1qo0203:subscribe_node] 2022-03-02 22:02:26 | [Mutex] received everything. 2022-03-02 22:02:26 | [Mutex] isItemNotified: node_vfe1qo0203:subscribe_node:success :: true 2022-03-02 22:02:26 | ===== publishing normal message (to online) 2022-03-02 22:02:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-02 22:02:26 | command: <data><node>node_vfe1qo0203</node><entry><content>content_cs0d690204</content></entry></data> 2022-03-02 22:02:26 | target: http://localhost:8088 2022-03-02 22:02:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-02 22:02:26 | entity: <data><node>node_vfe1qo0203</node><entry><content>content_cs0d690204</content></entry></data> 2022-03-02 22:02:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 06:02:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-02 22:02:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>41c3a747-579e-4f3f-ad2c-72c2cd81b378</value></item-id></result> 2022-03-02 22:02:26 | contains: true 2022-03-02 22:02:26 | [Mutex] received everything. 2022-03-02 22:02:26 | [Mutex] isItemNotified: user_regularknrwy90202@test-domain.com:message:received:content_cs0d690204 :: true 2022-03-02 22:02:26 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-02 22:02:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-02 22:02:26 | command: <data><node>node_vfe1qo0203</node><expire-at>2022-03-03T06:02:21Z</expire-at><entry><content>content_d4hpzi0205</content></entry></data> 2022-03-02 22:02:26 | target: http://localhost:8088 2022-03-02 22:02:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-02 22:02:26 | entity: <data><node>node_vfe1qo0203</node><expire-at>2022-03-03T06:02:21Z</expire-at><entry><content>content_d4hpzi0205</content></entry></data> 2022-03-02 22:02:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 06:02:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-02 22:02:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d2ba970-77fa-4ff0-a2d2-5caf2626481d</value></item-id></result> 2022-03-02 22:02:26 | contains: true 2022-03-02 22:02:26 | [Mutex] waiting for: [user_regularknrwy90202@test-domain.com:message:received:content_d4hpzi0205] 2022-03-02 22:02:41 | [Mutex] timeout. Not received [user_regularknrwy90202@test-domain.com:message:received:content_d4hpzi0205] 2022-03-02 22:02:41 | [Mutex] isItemNotified: user_regularknrwy90202@test-domain.com:message:received:content_d4hpzi0205 :: false 2022-03-02 22:02:41 | ===== publishing normal message (to offline) 2022-03-02 22:02:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-02 22:02:41 | command: <data><node>node_vfe1qo0203</node><entry><content>content_wqesqe0206</content></entry></data> 2022-03-02 22:02:41 | target: http://localhost:8088 2022-03-02 22:02:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-02 22:02:41 | entity: <data><node>node_vfe1qo0203</node><entry><content>content_wqesqe0206</content></entry></data> 2022-03-02 22:02:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 06:02:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-02 22:02:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c55d46b9-e6e5-4b54-ace6-9f5fe2bd50aa</value></item-id></result> 2022-03-02 22:02:41 | contains: true 2022-03-02 22:02:46 | [Mutex] waiting for: [user_regularknrwy90202@test-domain.com:message:received:content_wqesqe0206] 2022-03-02 22:02:46 | [Mutex] received everything. 2022-03-02 22:02:46 | [Mutex] isItemNotified: user_regularknrwy90202@test-domain.com:message:received:content_wqesqe0206 :: true 2022-03-02 22:02:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-02 22:02:46 | [Mutex] received everything. 2022-03-02 22:02:46 | [Mutex] isItemNotified: node_vfe1qo0203:subscribe_node:success :: true 2022-03-02 22:02:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-02 22:02:46 | command: <data><node>node_vfe1qo0203</node><expire-at>2022-03-03T06:02:51Z</expire-at><entry><content>content_79rtj40207</content></entry></data> 2022-03-02 22:02:46 | target: http://localhost:8088 2022-03-02 22:02:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-02 22:02:46 | entity: <data><node>node_vfe1qo0203</node><expire-at>2022-03-03T06:02:51Z</expire-at><entry><content>content_79rtj40207</content></entry></data> 2022-03-02 22:02:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 06:02:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-02 22:02:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc88c4bd-8f2d-47bd-812d-67a5007a624c</value></item-id></result> 2022-03-02 22:02:46 | contains: true 2022-03-02 22:02:54 | [Mutex] waiting for: [user_regularknrwy90202@test-domain.com:message:received:content_79rtj40207] 2022-03-02 22:03:09 | [Mutex] timeout. Not received [user_regularknrwy90202@test-domain.com:message:received:content_79rtj40207] 2022-03-02 22:03:09 | [Mutex] received everything. 2022-03-02 22:03:09 | [Mutex] isItemNotified: user_regularknrwy90202@test-domain.com:message:received:content_79rtj40207 :: false 2022-03-02 22:03:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_79rtj40207 :: true |