Test duration : 45.728s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.740s |
2021-06-21 23:02:00 |
2021-06-21 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-21 23:02:00 | ------------------------------------ 2021-06-21 23:02:00 | [Mutex] isItemNotified: node_xol4zw0203:exists :: false 2021-06-21 23:02:00 | [Mutex] waiting for: [node_xol4zw0203:create_node] 2021-06-21 23:02:00 | [Mutex] received everything. 2021-06-21 23:02:00 | [Mutex] isItemNotified: node_xol4zw0203:create_node:success :: true 2021-06-21 23:02:00 | [Mutex] waiting for: [node_xol4zw0203:subscribe_node] 2021-06-21 23:02:00 | [Mutex] received everything. 2021-06-21 23:02:00 | [Mutex] isItemNotified: node_xol4zw0203:subscribe_node:success :: true 2021-06-21 23:02:00 | ===== publishing normal message (to online) 2021-06-21 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 23:02:00 | command: <data><node>node_xol4zw0203</node><entry><content>content_lsijr10204</content></entry></data> 2021-06-21 23:02:00 | target: http://localhost:8088 2021-06-21 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-21 23:02:00 | entity: <data><node>node_xol4zw0203</node><entry><content>content_lsijr10204</content></entry></data> 2021-06-21 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 23:02:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>afcaead7-0fd8-48bb-9a87-c93481725258</value></item-id></result> 2021-06-21 23:02:00 | contains: true 2021-06-21 23:02:00 | [Mutex] waiting for: [user_regularwv59gt0202@test-domain.com:message:received:content_lsijr10204] 2021-06-21 23:02:00 | [Mutex] received everything. 2021-06-21 23:02:00 | [Mutex] isItemNotified: user_regularwv59gt0202@test-domain.com:message:received:content_lsijr10204 :: true 2021-06-21 23:02:00 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-21 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 23:02:00 | command: <data><node>node_xol4zw0203</node><expire-at>2021-06-22T06:01:55Z</expire-at><entry><content>content_esm1md0205</content></entry></data> 2021-06-21 23:02:00 | target: http://localhost:8088 2021-06-21 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-21 23:02:00 | entity: <data><node>node_xol4zw0203</node><expire-at>2021-06-22T06:01:55Z</expire-at><entry><content>content_esm1md0205</content></entry></data> 2021-06-21 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 23:02:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91816aa5-077b-4fe1-80a9-01c890146b0c</value></item-id></result> 2021-06-21 23:02:01 | contains: true 2021-06-21 23:02:01 | [Mutex] waiting for: [user_regularwv59gt0202@test-domain.com:message:received:content_esm1md0205] 2021-06-21 23:02:16 | [Mutex] timeout. Not received [user_regularwv59gt0202@test-domain.com:message:received:content_esm1md0205] 2021-06-21 23:02:16 | [Mutex] isItemNotified: user_regularwv59gt0202@test-domain.com:message:received:content_esm1md0205 :: false 2021-06-21 23:02:16 | ===== publishing normal message (to offline) 2021-06-21 23:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 23:02:16 | command: <data><node>node_xol4zw0203</node><entry><content>content_bsd0i50206</content></entry></data> 2021-06-21 23:02:16 | target: http://localhost:8088 2021-06-21 23:02:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-21 23:02:16 | entity: <data><node>node_xol4zw0203</node><entry><content>content_bsd0i50206</content></entry></data> 2021-06-21 23:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 23:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42db6168-6b90-48d1-9eac-af66b2c5cc75</value></item-id></result> 2021-06-21 23:02:16 | contains: true 2021-06-21 23:02:21 | [Mutex] waiting for: [user_regularwv59gt0202@test-domain.com:message:received:content_bsd0i50206] 2021-06-21 23:02:21 | [Mutex] received everything. 2021-06-21 23:02:21 | [Mutex] isItemNotified: user_regularwv59gt0202@test-domain.com:message:received:content_bsd0i50206 :: true 2021-06-21 23:02:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-21 23:02:21 | [Mutex] received everything. 2021-06-21 23:02:21 | [Mutex] isItemNotified: node_xol4zw0203:subscribe_node:success :: true 2021-06-21 23:02:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 23:02:21 | command: <data><node>node_xol4zw0203</node><expire-at>2021-06-22T06:02:26Z</expire-at><entry><content>content_b4jfdb0207</content></entry></data> 2021-06-21 23:02:21 | target: http://localhost:8088 2021-06-21 23:02:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-21 23:02:21 | entity: <data><node>node_xol4zw0203</node><expire-at>2021-06-22T06:02:26Z</expire-at><entry><content>content_b4jfdb0207</content></entry></data> 2021-06-21 23:02:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 06:02:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 23:02:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24cfba96-88ed-445b-a157-1f837edef5dc</value></item-id></result> 2021-06-21 23:02:21 | contains: true 2021-06-21 23:02:29 | [Mutex] waiting for: [user_regularwv59gt0202@test-domain.com:message:received:content_b4jfdb0207] 2021-06-21 23:02:29 | [Mutex] waiting for: [user_regularwv59gt0202@test-domain.com:message:received:content_b4jfdb0207] 2021-06-21 23:02:44 | [Mutex] timeout. Not received [user_regularwv59gt0202@test-domain.com:message:received:content_b4jfdb0207] 2021-06-21 23:02:44 | [Mutex] received everything. 2021-06-21 23:02:44 | [Mutex] isItemNotified: user_regularwv59gt0202@test-domain.com:message:received:content_b4jfdb0207 :: false 2021-06-21 23:02:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b4jfdb0207 :: true |