Test duration : 45.154s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.755s |
2021-09-19 22:29:34 |
2021-09-19 22:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-19 22:29:34 | ------------------------------------ 2021-09-19 22:29:34 | [Mutex] isItemNotified: node_pw150u0203:exists :: false 2021-09-19 22:29:34 | [Mutex] waiting for: [node_pw150u0203:create_node] 2021-09-19 22:29:34 | [Mutex] received everything. 2021-09-19 22:29:34 | [Mutex] isItemNotified: node_pw150u0203:create_node:success :: true 2021-09-19 22:29:34 | [Mutex] waiting for: [node_pw150u0203:subscribe_node] 2021-09-19 22:29:34 | [Mutex] received everything. 2021-09-19 22:29:34 | [Mutex] isItemNotified: node_pw150u0203:subscribe_node:success :: true 2021-09-19 22:29:34 | ===== publishing normal message (to online) 2021-09-19 22:29:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:29:34 | command: <data><node>node_pw150u0203</node><entry><content>content_p700tg0204</content></entry></data> 2021-09-19 22:29:34 | target: http://localhost:8088 2021-09-19 22:29:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:29:34 | entity: <data><node>node_pw150u0203</node><entry><content>content_p700tg0204</content></entry></data> 2021-09-19 22:29:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:29:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:29:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9981e2bc-753b-40cc-a01d-3025cb3651f5</value></item-id></result> 2021-09-19 22:29:34 | contains: true 2021-09-19 22:29:34 | [Mutex] received everything. 2021-09-19 22:29:34 | [Mutex] isItemNotified: user_regular3qo9q00202@test-domain.com:message:received:content_p700tg0204 :: true 2021-09-19 22:29:34 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-19 22:29:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:29:34 | command: <data><node>node_pw150u0203</node><expire-at>2021-09-20T05:29:29Z</expire-at><entry><content>content_u4vcwp0205</content></entry></data> 2021-09-19 22:29:34 | target: http://localhost:8088 2021-09-19 22:29:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-19 22:29:34 | entity: <data><node>node_pw150u0203</node><expire-at>2021-09-20T05:29:29Z</expire-at><entry><content>content_u4vcwp0205</content></entry></data> 2021-09-19 22:29:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:29:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:29:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10265f55-97c8-48e6-98b6-49216282dbe4</value></item-id></result> 2021-09-19 22:29:35 | contains: true 2021-09-19 22:29:35 | [Mutex] waiting for: [user_regular3qo9q00202@test-domain.com:message:received:content_u4vcwp0205] 2021-09-19 22:29:50 | [Mutex] timeout. Not received [user_regular3qo9q00202@test-domain.com:message:received:content_u4vcwp0205] 2021-09-19 22:29:50 | [Mutex] isItemNotified: user_regular3qo9q00202@test-domain.com:message:received:content_u4vcwp0205 :: false 2021-09-19 22:29:50 | ===== publishing normal message (to offline) 2021-09-19 22:29:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:29:50 | command: <data><node>node_pw150u0203</node><entry><content>content_vd4cnv0206</content></entry></data> 2021-09-19 22:29:50 | target: http://localhost:8088 2021-09-19 22:29:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:29:50 | entity: <data><node>node_pw150u0203</node><entry><content>content_vd4cnv0206</content></entry></data> 2021-09-19 22:29:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:29:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:29:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7d0af129-ce85-41cb-9acc-5bd04c1c840a</value></item-id></result> 2021-09-19 22:29:50 | contains: true 2021-09-19 22:29:55 | [Mutex] waiting for: [user_regular3qo9q00202@test-domain.com:message:received:content_vd4cnv0206] 2021-09-19 22:29:55 | [Mutex] received everything. 2021-09-19 22:29:55 | [Mutex] isItemNotified: user_regular3qo9q00202@test-domain.com:message:received:content_vd4cnv0206 :: true 2021-09-19 22:29:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-19 22:29:55 | [Mutex] received everything. 2021-09-19 22:29:55 | [Mutex] isItemNotified: node_pw150u0203:subscribe_node:success :: true 2021-09-19 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:29:55 | command: <data><node>node_pw150u0203</node><expire-at>2021-09-20T05:30:00Z</expire-at><entry><content>content_4hwg940207</content></entry></data> 2021-09-19 22:29:55 | target: http://localhost:8088 2021-09-19 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-19 22:29:55 | entity: <data><node>node_pw150u0203</node><expire-at>2021-09-20T05:30:00Z</expire-at><entry><content>content_4hwg940207</content></entry></data> 2021-09-19 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0617a2b0-a200-4c9d-9d0f-2b6272c9c212</value></item-id></result> 2021-09-19 22:29:55 | contains: true 2021-09-19 22:30:03 | [Mutex] waiting for: [user_regular3qo9q00202@test-domain.com:message:received:content_4hwg940207] 2021-09-19 22:30:03 | [Mutex] waiting for: [user_regular3qo9q00202@test-domain.com:message:received:content_4hwg940207] 2021-09-19 22:30:18 | [Mutex] timeout. Not received [user_regular3qo9q00202@test-domain.com:message:received:content_4hwg940207] 2021-09-19 22:30:18 | [Mutex] received everything. 2021-09-19 22:30:18 | [Mutex] isItemNotified: user_regular3qo9q00202@test-domain.com:message:received:content_4hwg940207 :: false 2021-09-19 22:30:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4hwg940207 :: true |