Test duration : 45.532s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.765s |
2021-10-05 22:56:57 |
2021-10-05 22:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-05 22:56:57 | ------------------------------------ 2021-10-05 22:56:57 | [Mutex] isItemNotified: node_ei9qpv0203:exists :: false 2021-10-05 22:56:57 | [Mutex] waiting for: [node_ei9qpv0203:create_node] 2021-10-05 22:56:57 | [Mutex] received everything. 2021-10-05 22:56:57 | [Mutex] isItemNotified: node_ei9qpv0203:create_node:success :: true 2021-10-05 22:56:57 | [Mutex] waiting for: [node_ei9qpv0203:subscribe_node] 2021-10-05 22:56:57 | [Mutex] received everything. 2021-10-05 22:56:57 | [Mutex] isItemNotified: node_ei9qpv0203:subscribe_node:success :: true 2021-10-05 22:56:57 | ===== publishing normal message (to online) 2021-10-05 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:56:57 | command: <data><node>node_ei9qpv0203</node><entry><content>content_eml03m0204</content></entry></data> 2021-10-05 22:56:57 | target: http://localhost:8088 2021-10-05 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 22:56:57 | entity: <data><node>node_ei9qpv0203</node><entry><content>content_eml03m0204</content></entry></data> 2021-10-05 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>866ba5c4-3a8b-4e77-9981-2deae44c1935</value></item-id></result> 2021-10-05 22:56:57 | contains: true 2021-10-05 22:56:57 | [Mutex] waiting for: [user_regularat4y660202@test-domain.com:message:received:content_eml03m0204] 2021-10-05 22:56:57 | [Mutex] received everything. 2021-10-05 22:56:57 | [Mutex] isItemNotified: user_regularat4y660202@test-domain.com:message:received:content_eml03m0204 :: true 2021-10-05 22:56:57 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-05 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:56:57 | command: <data><node>node_ei9qpv0203</node><expire-at>2021-10-06T05:56:52Z</expire-at><entry><content>content_vgnenm0205</content></entry></data> 2021-10-05 22:56:57 | target: http://localhost:8088 2021-10-05 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 22:56:57 | entity: <data><node>node_ei9qpv0203</node><expire-at>2021-10-06T05:56:52Z</expire-at><entry><content>content_vgnenm0205</content></entry></data> 2021-10-05 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e1d40799-f178-4fee-9836-4ef90408077e</value></item-id></result> 2021-10-05 22:56:57 | contains: true 2021-10-05 22:56:57 | [Mutex] waiting for: [user_regularat4y660202@test-domain.com:message:received:content_vgnenm0205] 2021-10-05 22:57:12 | [Mutex] timeout. Not received [user_regularat4y660202@test-domain.com:message:received:content_vgnenm0205] 2021-10-05 22:57:12 | [Mutex] isItemNotified: user_regularat4y660202@test-domain.com:message:received:content_vgnenm0205 :: false 2021-10-05 22:57:12 | ===== publishing normal message (to offline) 2021-10-05 22:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:57:12 | command: <data><node>node_ei9qpv0203</node><entry><content>content_p38p4e0206</content></entry></data> 2021-10-05 22:57:12 | target: http://localhost:8088 2021-10-05 22:57:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 22:57:12 | entity: <data><node>node_ei9qpv0203</node><entry><content>content_p38p4e0206</content></entry></data> 2021-10-05 22:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dac3e83f-fd37-45e2-b536-b4b96d41906b</value></item-id></result> 2021-10-05 22:57:12 | contains: true 2021-10-05 22:57:18 | [Mutex] waiting for: [user_regularat4y660202@test-domain.com:message:received:content_p38p4e0206] 2021-10-05 22:57:18 | [Mutex] waiting for: [user_regularat4y660202@test-domain.com:message:received:content_p38p4e0206] 2021-10-05 22:57:18 | [Mutex] received everything. 2021-10-05 22:57:18 | [Mutex] isItemNotified: user_regularat4y660202@test-domain.com:message:received:content_p38p4e0206 :: true 2021-10-05 22:57:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-05 22:57:18 | [Mutex] received everything. 2021-10-05 22:57:18 | [Mutex] isItemNotified: node_ei9qpv0203:subscribe_node:success :: true 2021-10-05 22:57:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 22:57:18 | command: <data><node>node_ei9qpv0203</node><expire-at>2021-10-06T05:57:23Z</expire-at><entry><content>content_g01uq00207</content></entry></data> 2021-10-05 22:57:18 | target: http://localhost:8088 2021-10-05 22:57:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 22:57:18 | entity: <data><node>node_ei9qpv0203</node><expire-at>2021-10-06T05:57:23Z</expire-at><entry><content>content_g01uq00207</content></entry></data> 2021-10-05 22:57:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:57:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 22:57:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2454333c-74fa-4f05-895f-3618322d0aed</value></item-id></result> 2021-10-05 22:57:18 | contains: true 2021-10-05 22:57:26 | [Mutex] waiting for: [user_regularat4y660202@test-domain.com:message:received:content_g01uq00207] 2021-10-05 22:57:41 | [Mutex] timeout. Not received [user_regularat4y660202@test-domain.com:message:received:content_g01uq00207] 2021-10-05 22:57:41 | [Mutex] received everything. 2021-10-05 22:57:41 | [Mutex] isItemNotified: user_regularat4y660202@test-domain.com:message:received:content_g01uq00207 :: false 2021-10-05 22:57:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g01uq00207 :: true |