Test duration : 45.363s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.644s |
2021-05-25 22:30:36 |
2021-05-25 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-25 22:30:36 | ------------------------------------ 2021-05-25 22:30:36 | [Mutex] isItemNotified: node_vsqs7m0203:exists :: false 2021-05-25 22:30:36 | [Mutex] waiting for: [node_vsqs7m0203:create_node] 2021-05-25 22:30:36 | [Mutex] received everything. 2021-05-25 22:30:36 | [Mutex] isItemNotified: node_vsqs7m0203:create_node:success :: true 2021-05-25 22:30:36 | [Mutex] waiting for: [node_vsqs7m0203:subscribe_node] 2021-05-25 22:30:36 | [Mutex] received everything. 2021-05-25 22:30:36 | [Mutex] isItemNotified: node_vsqs7m0203:subscribe_node:success :: true 2021-05-25 22:30:36 | ===== publishing normal message (to online) 2021-05-25 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:36 | command: <data><node>node_vsqs7m0203</node><entry><content>content_ppagby0204</content></entry></data> 2021-05-25 22:30:36 | target: http://localhost:8088 2021-05-25 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-25 22:30:36 | entity: <data><node>node_vsqs7m0203</node><entry><content>content_ppagby0204</content></entry></data> 2021-05-25 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c321780-4d31-423d-a3e0-3b8f014594a4</value></item-id></result> 2021-05-25 22:30:36 | contains: true 2021-05-25 22:30:36 | [Mutex] received everything. 2021-05-25 22:30:36 | [Mutex] isItemNotified: user_regularhs0q5j0202@test-domain.com:message:received:content_ppagby0204 :: true 2021-05-25 22:30:36 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-25 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:36 | command: <data><node>node_vsqs7m0203</node><expire-at>2021-05-26T05:30:31Z</expire-at><entry><content>content_dfoj2r0205</content></entry></data> 2021-05-25 22:30:36 | target: http://localhost:8088 2021-05-25 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-25 22:30:36 | entity: <data><node>node_vsqs7m0203</node><expire-at>2021-05-26T05:30:31Z</expire-at><entry><content>content_dfoj2r0205</content></entry></data> 2021-05-25 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4382c225-d638-4d5f-b22f-5932b473cfd8</value></item-id></result> 2021-05-25 22:30:36 | contains: true 2021-05-25 22:30:36 | [Mutex] waiting for: [user_regularhs0q5j0202@test-domain.com:message:received:content_dfoj2r0205] 2021-05-25 22:30:51 | [Mutex] timeout. Not received [user_regularhs0q5j0202@test-domain.com:message:received:content_dfoj2r0205] 2021-05-25 22:30:51 | [Mutex] isItemNotified: user_regularhs0q5j0202@test-domain.com:message:received:content_dfoj2r0205 :: false 2021-05-25 22:30:51 | ===== publishing normal message (to offline) 2021-05-25 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:51 | command: <data><node>node_vsqs7m0203</node><entry><content>content_g0guec0206</content></entry></data> 2021-05-25 22:30:51 | target: http://localhost:8088 2021-05-25 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-25 22:30:51 | entity: <data><node>node_vsqs7m0203</node><entry><content>content_g0guec0206</content></entry></data> 2021-05-25 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be168a6e-8d83-4b33-9b62-0cddbdbae303</value></item-id></result> 2021-05-25 22:30:51 | contains: true 2021-05-25 22:30:56 | [Mutex] waiting for: [user_regularhs0q5j0202@test-domain.com:message:received:content_g0guec0206] 2021-05-25 22:30:56 | [Mutex] received everything. 2021-05-25 22:30:56 | [Mutex] isItemNotified: user_regularhs0q5j0202@test-domain.com:message:received:content_g0guec0206 :: true 2021-05-25 22:30:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-25 22:30:56 | [Mutex] received everything. 2021-05-25 22:30:56 | [Mutex] isItemNotified: node_vsqs7m0203:subscribe_node:success :: true 2021-05-25 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:56 | command: <data><node>node_vsqs7m0203</node><expire-at>2021-05-26T05:31:01Z</expire-at><entry><content>content_98nl6o0207</content></entry></data> 2021-05-25 22:30:56 | target: http://localhost:8088 2021-05-25 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-25 22:30:56 | entity: <data><node>node_vsqs7m0203</node><expire-at>2021-05-26T05:31:01Z</expire-at><entry><content>content_98nl6o0207</content></entry></data> 2021-05-25 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>445b55f0-4d8e-42a8-b551-6d7d71e8219e</value></item-id></result> 2021-05-25 22:30:56 | contains: true 2021-05-25 22:31:05 | [Mutex] waiting for: [user_regularhs0q5j0202@test-domain.com:message:received:content_98nl6o0207] 2021-05-25 22:31:05 | [Mutex] waiting for: [user_regularhs0q5j0202@test-domain.com:message:received:content_98nl6o0207] 2021-05-25 22:31:20 | [Mutex] timeout. Not received [user_regularhs0q5j0202@test-domain.com:message:received:content_98nl6o0207] 2021-05-25 22:31:20 | [Mutex] received everything. 2021-05-25 22:31:20 | [Mutex] isItemNotified: user_regularhs0q5j0202@test-domain.com:message:received:content_98nl6o0207 :: false 2021-05-25 22:31:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_98nl6o0207 :: true |