Test duration : 45.637s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.746s |
2020-12-21 21:30:02 |
2020-12-21 21:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-21 21:30:02 | ------------------------------------ 2020-12-21 21:30:02 | [Mutex] isItemNotified: node_qhka3x0203:exists :: false 2020-12-21 21:30:02 | [Mutex] waiting for: [node_qhka3x0203:create_node] 2020-12-21 21:30:02 | [Mutex] received everything. 2020-12-21 21:30:02 | [Mutex] isItemNotified: node_qhka3x0203:create_node:success :: true 2020-12-21 21:30:02 | [Mutex] waiting for: [node_qhka3x0203:subscribe_node] 2020-12-21 21:30:02 | [Mutex] waiting for: [node_qhka3x0203:subscribe_node] 2020-12-21 21:30:02 | [Mutex] received everything. 2020-12-21 21:30:02 | [Mutex] isItemNotified: node_qhka3x0203:subscribe_node:success :: true 2020-12-21 21:30:02 | ===== publishing normal message (to online) 2020-12-21 21:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:02 | command: <data><node>node_qhka3x0203</node><entry><content>content_zaca6a0204</content></entry></data> 2020-12-21 21:30:02 | target: http://localhost:8088 2020-12-21 21:30:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-21 21:30:02 | entity: <data><node>node_qhka3x0203</node><entry><content>content_zaca6a0204</content></entry></data> 2020-12-21 21:30:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cf9642f1-6388-4ff9-93e1-bb19be661336</value></item-id></result> 2020-12-21 21:30:02 | contains: true 2020-12-21 21:30:02 | [Mutex] waiting for: [user_regularw8elwl0202@test-domain.com:message:received:content_zaca6a0204] 2020-12-21 21:30:02 | [Mutex] received everything. 2020-12-21 21:30:02 | [Mutex] isItemNotified: user_regularw8elwl0202@test-domain.com:message:received:content_zaca6a0204 :: true 2020-12-21 21:30:02 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-21 21:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:02 | command: <data><node>node_qhka3x0203</node><expire-at>2020-12-22T05:29:57Z</expire-at><entry><content>content_teztxk0205</content></entry></data> 2020-12-21 21:30:02 | target: http://localhost:8088 2020-12-21 21:30:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-21 21:30:02 | entity: <data><node>node_qhka3x0203</node><expire-at>2020-12-22T05:29:57Z</expire-at><entry><content>content_teztxk0205</content></entry></data> 2020-12-21 21:30:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c117f2d-690e-4522-b062-536ac7221cc4</value></item-id></result> 2020-12-21 21:30:02 | contains: true 2020-12-21 21:30:02 | [Mutex] waiting for: [user_regularw8elwl0202@test-domain.com:message:received:content_teztxk0205] 2020-12-21 21:30:17 | [Mutex] timeout. Not received [user_regularw8elwl0202@test-domain.com:message:received:content_teztxk0205] 2020-12-21 21:30:17 | [Mutex] isItemNotified: user_regularw8elwl0202@test-domain.com:message:received:content_teztxk0205 :: false 2020-12-21 21:30:17 | ===== publishing normal message (to offline) 2020-12-21 21:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:17 | command: <data><node>node_qhka3x0203</node><entry><content>content_r4vlxj0206</content></entry></data> 2020-12-21 21:30:17 | target: http://localhost:8088 2020-12-21 21:30:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-21 21:30:17 | entity: <data><node>node_qhka3x0203</node><entry><content>content_r4vlxj0206</content></entry></data> 2020-12-21 21:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>553534c0-9a06-47e6-a6ca-b8c2fdcac001</value></item-id></result> 2020-12-21 21:30:17 | contains: true 2020-12-21 21:30:22 | [Mutex] waiting for: [user_regularw8elwl0202@test-domain.com:message:received:content_r4vlxj0206] 2020-12-21 21:30:22 | [Mutex] received everything. 2020-12-21 21:30:22 | [Mutex] isItemNotified: user_regularw8elwl0202@test-domain.com:message:received:content_r4vlxj0206 :: true 2020-12-21 21:30:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-21 21:30:22 | [Mutex] received everything. 2020-12-21 21:30:22 | [Mutex] isItemNotified: node_qhka3x0203:subscribe_node:success :: true 2020-12-21 21:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:22 | command: <data><node>node_qhka3x0203</node><expire-at>2020-12-22T05:30:27Z</expire-at><entry><content>content_trs8a60207</content></entry></data> 2020-12-21 21:30:22 | target: http://localhost:8088 2020-12-21 21:30:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-21 21:30:22 | entity: <data><node>node_qhka3x0203</node><expire-at>2020-12-22T05:30:27Z</expire-at><entry><content>content_trs8a60207</content></entry></data> 2020-12-21 21:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36bc33ea-3d7f-4e61-b6e5-166e4960c58a</value></item-id></result> 2020-12-21 21:30:22 | contains: true 2020-12-21 21:30:30 | [Mutex] waiting for: [user_regularw8elwl0202@test-domain.com:message:received:content_trs8a60207] 2020-12-21 21:30:30 | [Mutex] waiting for: [user_regularw8elwl0202@test-domain.com:message:received:content_trs8a60207] 2020-12-21 21:30:45 | [Mutex] timeout. Not received [user_regularw8elwl0202@test-domain.com:message:received:content_trs8a60207] 2020-12-21 21:30:45 | [Mutex] received everything. 2020-12-21 21:30:45 | [Mutex] isItemNotified: user_regularw8elwl0202@test-domain.com:message:received:content_trs8a60207 :: false 2020-12-21 21:30:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_trs8a60207 :: true |