Test duration : 45.164s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.703s |
2022-01-16 22:13:09 |
2022-01-16 22:13:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-01-16 22:13:09 | ------------------------------------ 2022-01-16 22:13:09 | [Mutex] isItemNotified: node_jknni80203:exists :: false 2022-01-16 22:13:09 | [Mutex] waiting for: [node_jknni80203:create_node] 2022-01-16 22:13:09 | [Mutex] received everything. 2022-01-16 22:13:09 | [Mutex] isItemNotified: node_jknni80203:create_node:success :: true 2022-01-16 22:13:09 | [Mutex] waiting for: [node_jknni80203:subscribe_node] 2022-01-16 22:13:09 | [Mutex] waiting for: [node_jknni80203:subscribe_node] 2022-01-16 22:13:09 | [Mutex] received everything. 2022-01-16 22:13:09 | [Mutex] isItemNotified: node_jknni80203:subscribe_node:success :: true 2022-01-16 22:13:09 | ===== publishing normal message (to online) 2022-01-16 22:13:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 22:13:09 | command: <data><node>node_jknni80203</node><entry><content>content_27vf230204</content></entry></data> 2022-01-16 22:13:09 | target: http://localhost:8088 2022-01-16 22:13:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-16 22:13:09 | entity: <data><node>node_jknni80203</node><entry><content>content_27vf230204</content></entry></data> 2022-01-16 22:13:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 06:13:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 22:13:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1bf516d-eaf1-4aab-9472-93e289cc1951</value></item-id></result> 2022-01-16 22:13:09 | contains: true 2022-01-16 22:13:09 | [Mutex] waiting for: [user_regularyiu3a00202@test-domain.com:message:received:content_27vf230204] 2022-01-16 22:13:09 | [Mutex] received everything. 2022-01-16 22:13:09 | [Mutex] isItemNotified: user_regularyiu3a00202@test-domain.com:message:received:content_27vf230204 :: true 2022-01-16 22:13:09 | ===== publishing already old message - expecting message being filtered out (to online) 2022-01-16 22:13:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 22:13:09 | command: <data><node>node_jknni80203</node><expire-at>2022-01-17T06:13:04Z</expire-at><entry><content>content_1czvwo0205</content></entry></data> 2022-01-16 22:13:09 | target: http://localhost:8088 2022-01-16 22:13:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-16 22:13:09 | entity: <data><node>node_jknni80203</node><expire-at>2022-01-17T06:13:04Z</expire-at><entry><content>content_1czvwo0205</content></entry></data> 2022-01-16 22:13:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 06:13:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 22:13:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d8220864-9904-43e8-990f-cd0b31a5c80f</value></item-id></result> 2022-01-16 22:13:10 | contains: true 2022-01-16 22:13:10 | [Mutex] waiting for: [user_regularyiu3a00202@test-domain.com:message:received:content_1czvwo0205] 2022-01-16 22:13:25 | [Mutex] timeout. Not received [user_regularyiu3a00202@test-domain.com:message:received:content_1czvwo0205] 2022-01-16 22:13:25 | [Mutex] isItemNotified: user_regularyiu3a00202@test-domain.com:message:received:content_1czvwo0205 :: false 2022-01-16 22:13:25 | ===== publishing normal message (to offline) 2022-01-16 22:13:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 22:13:25 | command: <data><node>node_jknni80203</node><entry><content>content_rf6v8p0206</content></entry></data> 2022-01-16 22:13:25 | target: http://localhost:8088 2022-01-16 22:13:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-16 22:13:25 | entity: <data><node>node_jknni80203</node><entry><content>content_rf6v8p0206</content></entry></data> 2022-01-16 22:13:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 06:13:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 22:13:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5dbd36a7-d7fd-4f20-b141-2902cc998934</value></item-id></result> 2022-01-16 22:13:25 | contains: true 2022-01-16 22:13:30 | [Mutex] waiting for: [user_regularyiu3a00202@test-domain.com:message:received:content_rf6v8p0206] 2022-01-16 22:13:30 | [Mutex] received everything. 2022-01-16 22:13:30 | [Mutex] isItemNotified: user_regularyiu3a00202@test-domain.com:message:received:content_rf6v8p0206 :: true 2022-01-16 22:13:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-01-16 22:13:30 | [Mutex] received everything. 2022-01-16 22:13:30 | [Mutex] isItemNotified: node_jknni80203:subscribe_node:success :: true 2022-01-16 22:13:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 22:13:30 | command: <data><node>node_jknni80203</node><expire-at>2022-01-17T06:13:35Z</expire-at><entry><content>content_oja0hw0207</content></entry></data> 2022-01-16 22:13:30 | target: http://localhost:8088 2022-01-16 22:13:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-16 22:13:30 | entity: <data><node>node_jknni80203</node><expire-at>2022-01-17T06:13:35Z</expire-at><entry><content>content_oja0hw0207</content></entry></data> 2022-01-16 22:13:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 06:13:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 22:13:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>286e3335-49ac-4371-b205-24f12b800ddf</value></item-id></result> 2022-01-16 22:13:30 | contains: true 2022-01-16 22:13:38 | [Mutex] waiting for: [user_regularyiu3a00202@test-domain.com:message:received:content_oja0hw0207] 2022-01-16 22:13:53 | [Mutex] timeout. Not received [user_regularyiu3a00202@test-domain.com:message:received:content_oja0hw0207] 2022-01-16 22:13:53 | [Mutex] received everything. 2022-01-16 22:13:53 | [Mutex] isItemNotified: user_regularyiu3a00202@test-domain.com:message:received:content_oja0hw0207 :: false 2022-01-16 22:13:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oja0hw0207 :: true |