Test duration : 45.478s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.702s |
2022-02-07 22:20:41 |
2022-02-07 22:20:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-07 22:20:41 | ------------------------------------ 2022-02-07 22:20:41 | [Mutex] isItemNotified: node_9wu8v60203:exists :: false 2022-02-07 22:20:41 | [Mutex] waiting for: [node_9wu8v60203:create_node] 2022-02-07 22:20:41 | [Mutex] received everything. 2022-02-07 22:20:41 | [Mutex] isItemNotified: node_9wu8v60203:create_node:success :: true 2022-02-07 22:20:41 | [Mutex] waiting for: [node_9wu8v60203:subscribe_node] 2022-02-07 22:20:41 | [Mutex] waiting for: [node_9wu8v60203:subscribe_node] 2022-02-07 22:20:41 | [Mutex] received everything. 2022-02-07 22:20:41 | [Mutex] isItemNotified: node_9wu8v60203:subscribe_node:success :: true 2022-02-07 22:20:41 | ===== publishing normal message (to online) 2022-02-07 22:20:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 22:20:41 | command: <data><node>node_9wu8v60203</node><entry><content>content_mkmils0204</content></entry></data> 2022-02-07 22:20:41 | target: http://localhost:8088 2022-02-07 22:20:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 22:20:41 | entity: <data><node>node_9wu8v60203</node><entry><content>content_mkmils0204</content></entry></data> 2022-02-07 22:20:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 06:20:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 22:20:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2cecaa18-856f-4e82-99e4-a394c1947c8b</value></item-id></result> 2022-02-07 22:20:41 | contains: true 2022-02-07 22:20:41 | [Mutex] received everything. 2022-02-07 22:20:41 | [Mutex] isItemNotified: user_regularn5yoex0202@test-domain.com:message:received:content_mkmils0204 :: true 2022-02-07 22:20:41 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-07 22:20:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 22:20:41 | command: <data><node>node_9wu8v60203</node><expire-at>2022-02-08T06:20:36Z</expire-at><entry><content>content_kft4zh0205</content></entry></data> 2022-02-07 22:20:41 | target: http://localhost:8088 2022-02-07 22:20:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 22:20:41 | entity: <data><node>node_9wu8v60203</node><expire-at>2022-02-08T06:20:36Z</expire-at><entry><content>content_kft4zh0205</content></entry></data> 2022-02-07 22:20:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 06:20:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 22:20:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2e0676c-a990-46e9-9432-50332f228de1</value></item-id></result> 2022-02-07 22:20:41 | contains: true 2022-02-07 22:20:41 | [Mutex] waiting for: [user_regularn5yoex0202@test-domain.com:message:received:content_kft4zh0205] 2022-02-07 22:20:56 | [Mutex] timeout. Not received [user_regularn5yoex0202@test-domain.com:message:received:content_kft4zh0205] 2022-02-07 22:20:56 | [Mutex] isItemNotified: user_regularn5yoex0202@test-domain.com:message:received:content_kft4zh0205 :: false 2022-02-07 22:20:56 | ===== publishing normal message (to offline) 2022-02-07 22:20:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 22:20:56 | command: <data><node>node_9wu8v60203</node><entry><content>content_xsxyu10206</content></entry></data> 2022-02-07 22:20:56 | target: http://localhost:8088 2022-02-07 22:20:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 22:20:56 | entity: <data><node>node_9wu8v60203</node><entry><content>content_xsxyu10206</content></entry></data> 2022-02-07 22:20:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 06:20:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 22:20:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f56dd4f-fe40-4b01-9193-54fab79f3267</value></item-id></result> 2022-02-07 22:20:56 | contains: true 2022-02-07 22:21:01 | [Mutex] waiting for: [user_regularn5yoex0202@test-domain.com:message:received:content_xsxyu10206] 2022-02-07 22:21:01 | [Mutex] waiting for: [user_regularn5yoex0202@test-domain.com:message:received:content_xsxyu10206] 2022-02-07 22:21:01 | [Mutex] received everything. 2022-02-07 22:21:01 | [Mutex] isItemNotified: user_regularn5yoex0202@test-domain.com:message:received:content_xsxyu10206 :: true 2022-02-07 22:21:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-07 22:21:01 | [Mutex] received everything. 2022-02-07 22:21:01 | [Mutex] isItemNotified: node_9wu8v60203:subscribe_node:success :: true 2022-02-07 22:21:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 22:21:01 | command: <data><node>node_9wu8v60203</node><expire-at>2022-02-08T06:21:06Z</expire-at><entry><content>content_sd5fo50207</content></entry></data> 2022-02-07 22:21:01 | target: http://localhost:8088 2022-02-07 22:21:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 22:21:01 | entity: <data><node>node_9wu8v60203</node><expire-at>2022-02-08T06:21:06Z</expire-at><entry><content>content_sd5fo50207</content></entry></data> 2022-02-07 22:21:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 06:21:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 22:21:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>edf31f8f-3c0b-4047-ab10-4a772bcf011d</value></item-id></result> 2022-02-07 22:21:01 | contains: true 2022-02-07 22:21:10 | [Mutex] waiting for: [user_regularn5yoex0202@test-domain.com:message:received:content_sd5fo50207] 2022-02-07 22:21:25 | [Mutex] timeout. Not received [user_regularn5yoex0202@test-domain.com:message:received:content_sd5fo50207] 2022-02-07 22:21:25 | [Mutex] received everything. 2022-02-07 22:21:25 | [Mutex] isItemNotified: user_regularn5yoex0202@test-domain.com:message:received:content_sd5fo50207 :: false 2022-02-07 22:21:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sd5fo50207 :: true |