Test duration : 45.573s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.724s |
2020-12-29 21:42:17 |
2020-12-29 21:42:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-29 21:42:17 | ------------------------------------ 2020-12-29 21:42:17 | [Mutex] isItemNotified: node_4y2ktt0203:exists :: false 2020-12-29 21:42:17 | [Mutex] waiting for: [node_4y2ktt0203:create_node] 2020-12-29 21:42:17 | [Mutex] waiting for: [node_4y2ktt0203:create_node] 2020-12-29 21:42:17 | [Mutex] received everything. 2020-12-29 21:42:17 | [Mutex] isItemNotified: node_4y2ktt0203:create_node:success :: true 2020-12-29 21:42:17 | [Mutex] waiting for: [node_4y2ktt0203:subscribe_node] 2020-12-29 21:42:17 | [Mutex] received everything. 2020-12-29 21:42:17 | [Mutex] isItemNotified: node_4y2ktt0203:subscribe_node:success :: true 2020-12-29 21:42:17 | ===== publishing normal message (to online) 2020-12-29 21:42:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:42:17 | command: <data><node>node_4y2ktt0203</node><entry><content>content_jl4xze0204</content></entry></data> 2020-12-29 21:42:17 | target: http://localhost:8088 2020-12-29 21:42:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:42:17 | entity: <data><node>node_4y2ktt0203</node><entry><content>content_jl4xze0204</content></entry></data> 2020-12-29 21:42:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:42:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:42:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7e0e9d6-f3b0-45fc-a325-3faee8b1abe9</value></item-id></result> 2020-12-29 21:42:18 | contains: true 2020-12-29 21:42:18 | [Mutex] received everything. 2020-12-29 21:42:18 | [Mutex] isItemNotified: user_regular2p7wm20202@test-domain.com:message:received:content_jl4xze0204 :: true 2020-12-29 21:42:18 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-29 21:42:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:42:18 | command: <data><node>node_4y2ktt0203</node><expire-at>2020-12-30T05:42:13Z</expire-at><entry><content>content_1j49qi0205</content></entry></data> 2020-12-29 21:42:18 | target: http://localhost:8088 2020-12-29 21:42:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:42:18 | entity: <data><node>node_4y2ktt0203</node><expire-at>2020-12-30T05:42:13Z</expire-at><entry><content>content_1j49qi0205</content></entry></data> 2020-12-29 21:42:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:42:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:42:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a11f762c-a2d4-4575-a24d-aa768d3b1297</value></item-id></result> 2020-12-29 21:42:18 | contains: true 2020-12-29 21:42:18 | [Mutex] waiting for: [user_regular2p7wm20202@test-domain.com:message:received:content_1j49qi0205] 2020-12-29 21:42:33 | [Mutex] timeout. Not received [user_regular2p7wm20202@test-domain.com:message:received:content_1j49qi0205] 2020-12-29 21:42:33 | [Mutex] isItemNotified: user_regular2p7wm20202@test-domain.com:message:received:content_1j49qi0205 :: false 2020-12-29 21:42:33 | ===== publishing normal message (to offline) 2020-12-29 21:42:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:42:33 | command: <data><node>node_4y2ktt0203</node><entry><content>content_uhy5ye0206</content></entry></data> 2020-12-29 21:42:33 | target: http://localhost:8088 2020-12-29 21:42:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:42:33 | entity: <data><node>node_4y2ktt0203</node><entry><content>content_uhy5ye0206</content></entry></data> 2020-12-29 21:42:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:42:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:42:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>744029f3-fced-4f6c-b842-b2601b30b618</value></item-id></result> 2020-12-29 21:42:33 | contains: true 2020-12-29 21:42:38 | [Mutex] waiting for: [user_regular2p7wm20202@test-domain.com:message:received:content_uhy5ye0206] 2020-12-29 21:42:38 | [Mutex] received everything. 2020-12-29 21:42:38 | [Mutex] isItemNotified: user_regular2p7wm20202@test-domain.com:message:received:content_uhy5ye0206 :: true 2020-12-29 21:42:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-29 21:42:38 | [Mutex] received everything. 2020-12-29 21:42:38 | [Mutex] isItemNotified: node_4y2ktt0203:subscribe_node:success :: true 2020-12-29 21:42:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:42:38 | command: <data><node>node_4y2ktt0203</node><expire-at>2020-12-30T05:42:43Z</expire-at><entry><content>content_l1hcg00207</content></entry></data> 2020-12-29 21:42:38 | target: http://localhost:8088 2020-12-29 21:42:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:42:38 | entity: <data><node>node_4y2ktt0203</node><expire-at>2020-12-30T05:42:43Z</expire-at><entry><content>content_l1hcg00207</content></entry></data> 2020-12-29 21:42:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:42:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:42:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4467b9f-243a-4b54-8818-39358728009e</value></item-id></result> 2020-12-29 21:42:38 | contains: true 2020-12-29 21:42:46 | [Mutex] waiting for: [user_regular2p7wm20202@test-domain.com:message:received:content_l1hcg00207] 2020-12-29 21:42:46 | [Mutex] waiting for: [user_regular2p7wm20202@test-domain.com:message:received:content_l1hcg00207] 2020-12-29 21:42:46 | [Mutex] waiting for: [user_regular2p7wm20202@test-domain.com:message:received:content_l1hcg00207] 2020-12-29 21:43:01 | [Mutex] timeout. Not received [user_regular2p7wm20202@test-domain.com:message:received:content_l1hcg00207] 2020-12-29 21:43:01 | [Mutex] received everything. 2020-12-29 21:43:01 | [Mutex] isItemNotified: user_regular2p7wm20202@test-domain.com:message:received:content_l1hcg00207 :: false 2020-12-29 21:43:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l1hcg00207 :: true |