Test duration : 45.288s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2021-11-16 22:21:42 |
2021-11-16 22:21:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-16 22:21:42 | ------------------------------------ 2021-11-16 22:21:42 | [Mutex] isItemNotified: node_7ar33n0203:exists :: false 2021-11-16 22:21:42 | [Mutex] waiting for: [node_7ar33n0203:create_node] 2021-11-16 22:21:42 | [Mutex] received everything. 2021-11-16 22:21:42 | [Mutex] isItemNotified: node_7ar33n0203:create_node:success :: true 2021-11-16 22:21:42 | [Mutex] waiting for: [node_7ar33n0203:subscribe_node] 2021-11-16 22:21:42 | [Mutex] waiting for: [node_7ar33n0203:subscribe_node] 2021-11-16 22:21:42 | [Mutex] received everything. 2021-11-16 22:21:42 | [Mutex] isItemNotified: node_7ar33n0203:subscribe_node:success :: true 2021-11-16 22:21:42 | ===== publishing normal message (to online) 2021-11-16 22:21:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:21:42 | command: <data><node>node_7ar33n0203</node><entry><content>content_uvh2ld0204</content></entry></data> 2021-11-16 22:21:42 | target: http://localhost:8088 2021-11-16 22:21:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 22:21:42 | entity: <data><node>node_7ar33n0203</node><entry><content>content_uvh2ld0204</content></entry></data> 2021-11-16 22:21:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:21:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:21:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3137286d-0318-44d1-b2bf-00e073a8a49d</value></item-id></result> 2021-11-16 22:21:42 | contains: true 2021-11-16 22:21:42 | [Mutex] received everything. 2021-11-16 22:21:42 | [Mutex] isItemNotified: user_regular6sq2qg0202@test-domain.com:message:received:content_uvh2ld0204 :: true 2021-11-16 22:21:42 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-16 22:21:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:21:42 | command: <data><node>node_7ar33n0203</node><expire-at>2021-11-17T06:21:37Z</expire-at><entry><content>content_ggasya0205</content></entry></data> 2021-11-16 22:21:42 | target: http://localhost:8088 2021-11-16 22:21:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:21:42 | entity: <data><node>node_7ar33n0203</node><expire-at>2021-11-17T06:21:37Z</expire-at><entry><content>content_ggasya0205</content></entry></data> 2021-11-16 22:21:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:21:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:21:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b25a6ba6-2be4-499e-82b3-eb4c14dbe6be</value></item-id></result> 2021-11-16 22:21:43 | contains: true 2021-11-16 22:21:43 | [Mutex] waiting for: [user_regular6sq2qg0202@test-domain.com:message:received:content_ggasya0205] 2021-11-16 22:21:58 | [Mutex] timeout. Not received [user_regular6sq2qg0202@test-domain.com:message:received:content_ggasya0205] 2021-11-16 22:21:58 | [Mutex] isItemNotified: user_regular6sq2qg0202@test-domain.com:message:received:content_ggasya0205 :: false 2021-11-16 22:21:58 | ===== publishing normal message (to offline) 2021-11-16 22:21:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:21:58 | command: <data><node>node_7ar33n0203</node><entry><content>content_iyfgfi0206</content></entry></data> 2021-11-16 22:21:58 | target: http://localhost:8088 2021-11-16 22:21:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 22:21:58 | entity: <data><node>node_7ar33n0203</node><entry><content>content_iyfgfi0206</content></entry></data> 2021-11-16 22:21:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:21:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:21:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f4f374c-8152-41ee-9603-faab3a4e9cd2</value></item-id></result> 2021-11-16 22:21:58 | contains: true 2021-11-16 22:22:03 | [Mutex] waiting for: [user_regular6sq2qg0202@test-domain.com:message:received:content_iyfgfi0206] 2021-11-16 22:22:03 | [Mutex] received everything. 2021-11-16 22:22:03 | [Mutex] isItemNotified: user_regular6sq2qg0202@test-domain.com:message:received:content_iyfgfi0206 :: true 2021-11-16 22:22:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-16 22:22:03 | [Mutex] received everything. 2021-11-16 22:22:03 | [Mutex] isItemNotified: node_7ar33n0203:subscribe_node:success :: true 2021-11-16 22:22:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:22:03 | command: <data><node>node_7ar33n0203</node><expire-at>2021-11-17T06:22:08Z</expire-at><entry><content>content_45igyu0207</content></entry></data> 2021-11-16 22:22:03 | target: http://localhost:8088 2021-11-16 22:22:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:22:03 | entity: <data><node>node_7ar33n0203</node><expire-at>2021-11-17T06:22:08Z</expire-at><entry><content>content_45igyu0207</content></entry></data> 2021-11-16 22:22:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:22:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:22:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c4e61ab-9c71-4b2f-ad2e-08538e5ace22</value></item-id></result> 2021-11-16 22:22:03 | contains: true 2021-11-16 22:22:11 | [Mutex] waiting for: [user_regular6sq2qg0202@test-domain.com:message:received:content_45igyu0207] 2021-11-16 22:22:26 | [Mutex] timeout. Not received [user_regular6sq2qg0202@test-domain.com:message:received:content_45igyu0207] 2021-11-16 22:22:26 | [Mutex] received everything. 2021-11-16 22:22:26 | [Mutex] isItemNotified: user_regular6sq2qg0202@test-domain.com:message:received:content_45igyu0207 :: false 2021-11-16 22:22:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_45igyu0207 :: true |