Test duration : 45.558s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.762s |
2020-11-24 08:37:07 |
2020-11-24 08:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-24 08:37:07 | ------------------------------------ 2020-11-24 08:37:07 | [Mutex] isItemNotified: node_fr7nr50203:exists :: false 2020-11-24 08:37:07 | [Mutex] waiting for: [node_fr7nr50203:create_node] 2020-11-24 08:37:07 | [Mutex] received everything. 2020-11-24 08:37:07 | [Mutex] isItemNotified: node_fr7nr50203:create_node:success :: true 2020-11-24 08:37:07 | [Mutex] waiting for: [node_fr7nr50203:subscribe_node] 2020-11-24 08:37:07 | [Mutex] waiting for: [node_fr7nr50203:subscribe_node] 2020-11-24 08:37:07 | [Mutex] received everything. 2020-11-24 08:37:07 | [Mutex] isItemNotified: node_fr7nr50203:subscribe_node:success :: true 2020-11-24 08:37:07 | ===== publishing normal message (to online) 2020-11-24 08:37:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:07 | command: <data><node>node_fr7nr50203</node><entry><content>content_y16zba0204</content></entry></data> 2020-11-24 08:37:07 | target: http://localhost:8088 2020-11-24 08:37:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-24 08:37:07 | entity: <data><node>node_fr7nr50203</node><entry><content>content_y16zba0204</content></entry></data> 2020-11-24 08:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3796f43-6352-4a98-93c4-243ab374ab6a</value></item-id></result> 2020-11-24 08:37:07 | contains: true 2020-11-24 08:37:07 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_y16zba0204] 2020-11-24 08:37:07 | [Mutex] received everything. 2020-11-24 08:37:07 | [Mutex] isItemNotified: user_regularmovoby0202@test-domain.com:message:received:content_y16zba0204 :: true 2020-11-24 08:37:07 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-24 08:37:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:07 | command: <data><node>node_fr7nr50203</node><expire-at>2020-11-24T16:37:02Z</expire-at><entry><content>content_els0gs0205</content></entry></data> 2020-11-24 08:37:07 | target: http://localhost:8088 2020-11-24 08:37:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-24 08:37:07 | entity: <data><node>node_fr7nr50203</node><expire-at>2020-11-24T16:37:02Z</expire-at><entry><content>content_els0gs0205</content></entry></data> 2020-11-24 08:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91c1b98d-c227-4e62-82d9-6d9386122ded</value></item-id></result> 2020-11-24 08:37:07 | contains: true 2020-11-24 08:37:07 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_els0gs0205] 2020-11-24 08:37:22 | [Mutex] timeout. Not received [user_regularmovoby0202@test-domain.com:message:received:content_els0gs0205] 2020-11-24 08:37:22 | [Mutex] isItemNotified: user_regularmovoby0202@test-domain.com:message:received:content_els0gs0205 :: false 2020-11-24 08:37:22 | ===== publishing normal message (to offline) 2020-11-24 08:37:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:22 | command: <data><node>node_fr7nr50203</node><entry><content>content_hcy5o60206</content></entry></data> 2020-11-24 08:37:22 | target: http://localhost:8088 2020-11-24 08:37:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-24 08:37:22 | entity: <data><node>node_fr7nr50203</node><entry><content>content_hcy5o60206</content></entry></data> 2020-11-24 08:37:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f925f394-bbe4-4663-9275-66b644d6b4aa</value></item-id></result> 2020-11-24 08:37:22 | contains: true 2020-11-24 08:37:28 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_hcy5o60206] 2020-11-24 08:37:28 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_hcy5o60206] 2020-11-24 08:37:28 | [Mutex] received everything. 2020-11-24 08:37:28 | [Mutex] isItemNotified: user_regularmovoby0202@test-domain.com:message:received:content_hcy5o60206 :: true 2020-11-24 08:37:28 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-24 08:37:28 | [Mutex] received everything. 2020-11-24 08:37:28 | [Mutex] isItemNotified: node_fr7nr50203:subscribe_node:success :: true 2020-11-24 08:37:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:28 | command: <data><node>node_fr7nr50203</node><expire-at>2020-11-24T16:37:33Z</expire-at><entry><content>content_3xv1270207</content></entry></data> 2020-11-24 08:37:28 | target: http://localhost:8088 2020-11-24 08:37:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-24 08:37:28 | entity: <data><node>node_fr7nr50203</node><expire-at>2020-11-24T16:37:33Z</expire-at><entry><content>content_3xv1270207</content></entry></data> 2020-11-24 08:37:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>86325f48-73aa-46ab-8fd2-2ef0a5dae834</value></item-id></result> 2020-11-24 08:37:28 | contains: true 2020-11-24 08:37:36 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_3xv1270207] 2020-11-24 08:37:36 | [Mutex] waiting for: [user_regularmovoby0202@test-domain.com:message:received:content_3xv1270207] 2020-11-24 08:37:51 | [Mutex] timeout. Not received [user_regularmovoby0202@test-domain.com:message:received:content_3xv1270207] 2020-11-24 08:37:51 | [Mutex] received everything. 2020-11-24 08:37:51 | [Mutex] isItemNotified: user_regularmovoby0202@test-domain.com:message:received:content_3xv1270207 :: false 2020-11-24 08:37:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3xv1270207 :: true |