Test duration : 45.390s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.609s |
2022-02-03 21:45:53 |
2022-02-03 21:45:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-03 21:45:53 | ------------------------------------ 2022-02-03 21:45:53 | [Mutex] isItemNotified: node_9xbhhk0203:exists :: false 2022-02-03 21:45:53 | [Mutex] waiting for: [node_9xbhhk0203:create_node] 2022-02-03 21:45:53 | [Mutex] received everything. 2022-02-03 21:45:53 | [Mutex] isItemNotified: node_9xbhhk0203:create_node:success :: true 2022-02-03 21:45:53 | [Mutex] waiting for: [node_9xbhhk0203:subscribe_node] 2022-02-03 21:45:53 | [Mutex] waiting for: [node_9xbhhk0203:subscribe_node] 2022-02-03 21:45:53 | [Mutex] received everything. 2022-02-03 21:45:53 | [Mutex] isItemNotified: node_9xbhhk0203:subscribe_node:success :: true 2022-02-03 21:45:53 | ===== publishing normal message (to online) 2022-02-03 21:45:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 21:45:53 | command: <data><node>node_9xbhhk0203</node><entry><content>content_77paeh0204</content></entry></data> 2022-02-03 21:45:53 | target: http://localhost:8088 2022-02-03 21:45:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 21:45:53 | entity: <data><node>node_9xbhhk0203</node><entry><content>content_77paeh0204</content></entry></data> 2022-02-03 21:45:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:45:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 21:45:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f194499f-40b8-488d-8d26-6f1cfa676fae</value></item-id></result> 2022-02-03 21:45:53 | contains: true 2022-02-03 21:45:53 | [Mutex] received everything. 2022-02-03 21:45:53 | [Mutex] isItemNotified: user_regular7xue530202@test-domain.com:message:received:content_77paeh0204 :: true 2022-02-03 21:45:53 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-03 21:45:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 21:45:53 | command: <data><node>node_9xbhhk0203</node><expire-at>2022-02-04T05:45:48Z</expire-at><entry><content>content_zhgyfq0205</content></entry></data> 2022-02-03 21:45:53 | target: http://localhost:8088 2022-02-03 21:45:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 21:45:53 | entity: <data><node>node_9xbhhk0203</node><expire-at>2022-02-04T05:45:48Z</expire-at><entry><content>content_zhgyfq0205</content></entry></data> 2022-02-03 21:45:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:45:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 21:45:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ce43c10-e981-41a8-8caf-8b68c45a9d45</value></item-id></result> 2022-02-03 21:45:53 | contains: true 2022-02-03 21:45:53 | [Mutex] waiting for: [user_regular7xue530202@test-domain.com:message:received:content_zhgyfq0205] 2022-02-03 21:46:08 | [Mutex] timeout. Not received [user_regular7xue530202@test-domain.com:message:received:content_zhgyfq0205] 2022-02-03 21:46:08 | [Mutex] isItemNotified: user_regular7xue530202@test-domain.com:message:received:content_zhgyfq0205 :: false 2022-02-03 21:46:08 | ===== publishing normal message (to offline) 2022-02-03 21:46:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 21:46:08 | command: <data><node>node_9xbhhk0203</node><entry><content>content_56ja3e0206</content></entry></data> 2022-02-03 21:46:08 | target: http://localhost:8088 2022-02-03 21:46:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 21:46:08 | entity: <data><node>node_9xbhhk0203</node><entry><content>content_56ja3e0206</content></entry></data> 2022-02-03 21:46:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:46:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 21:46:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f014ff2b-f87c-4bca-bebe-7d2b8b12af9f</value></item-id></result> 2022-02-03 21:46:08 | contains: true 2022-02-03 21:46:13 | [Mutex] waiting for: [user_regular7xue530202@test-domain.com:message:received:content_56ja3e0206] 2022-02-03 21:46:13 | [Mutex] received everything. 2022-02-03 21:46:13 | [Mutex] isItemNotified: user_regular7xue530202@test-domain.com:message:received:content_56ja3e0206 :: true 2022-02-03 21:46:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-03 21:46:13 | [Mutex] received everything. 2022-02-03 21:46:13 | [Mutex] isItemNotified: node_9xbhhk0203:subscribe_node:success :: true 2022-02-03 21:46:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 21:46:13 | command: <data><node>node_9xbhhk0203</node><expire-at>2022-02-04T05:46:18Z</expire-at><entry><content>content_qoemf00207</content></entry></data> 2022-02-03 21:46:13 | target: http://localhost:8088 2022-02-03 21:46:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 21:46:13 | entity: <data><node>node_9xbhhk0203</node><expire-at>2022-02-04T05:46:18Z</expire-at><entry><content>content_qoemf00207</content></entry></data> 2022-02-03 21:46:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:46:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 21:46:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3743783a-b3a0-4b22-a624-20115344e9de</value></item-id></result> 2022-02-03 21:46:13 | contains: true 2022-02-03 21:46:21 | [Mutex] waiting for: [user_regular7xue530202@test-domain.com:message:received:content_qoemf00207] 2022-02-03 21:46:36 | [Mutex] timeout. Not received [user_regular7xue530202@test-domain.com:message:received:content_qoemf00207] 2022-02-03 21:46:36 | [Mutex] received everything. 2022-02-03 21:46:36 | [Mutex] isItemNotified: user_regular7xue530202@test-domain.com:message:received:content_qoemf00207 :: false 2022-02-03 21:46:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qoemf00207 :: true |