Test duration : 45.251s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.628s |
2021-06-13 22:40:59 |
2021-06-13 22:40:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-13 22:40:59 | ------------------------------------ 2021-06-13 22:40:59 | [Mutex] isItemNotified: node_cvnn5a0203:exists :: false 2021-06-13 22:40:59 | [Mutex] waiting for: [node_cvnn5a0203:create_node] 2021-06-13 22:40:59 | [Mutex] received everything. 2021-06-13 22:40:59 | [Mutex] isItemNotified: node_cvnn5a0203:create_node:success :: true 2021-06-13 22:40:59 | [Mutex] waiting for: [node_cvnn5a0203:subscribe_node] 2021-06-13 22:40:59 | [Mutex] waiting for: [node_cvnn5a0203:subscribe_node] 2021-06-13 22:40:59 | [Mutex] received everything. 2021-06-13 22:40:59 | [Mutex] isItemNotified: node_cvnn5a0203:subscribe_node:success :: true 2021-06-13 22:40:59 | ===== publishing normal message (to online) 2021-06-13 22:40:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:40:59 | command: <data><node>node_cvnn5a0203</node><entry><content>content_bt2saf0204</content></entry></data> 2021-06-13 22:40:59 | target: http://localhost:8088 2021-06-13 22:40:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:40:59 | entity: <data><node>node_cvnn5a0203</node><entry><content>content_bt2saf0204</content></entry></data> 2021-06-13 22:40:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:40:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:40:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9e8a0473-8f82-4ba2-9f38-c21fe2c2aa29</value></item-id></result> 2021-06-13 22:40:59 | contains: true 2021-06-13 22:40:59 | [Mutex] received everything. 2021-06-13 22:40:59 | [Mutex] isItemNotified: user_regularkect3y0202@test-domain.com:message:received:content_bt2saf0204 :: true 2021-06-13 22:40:59 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-13 22:40:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:40:59 | command: <data><node>node_cvnn5a0203</node><expire-at>2021-06-14T05:40:54Z</expire-at><entry><content>content_cvc8d10205</content></entry></data> 2021-06-13 22:40:59 | target: http://localhost:8088 2021-06-13 22:40:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:40:59 | entity: <data><node>node_cvnn5a0203</node><expire-at>2021-06-14T05:40:54Z</expire-at><entry><content>content_cvc8d10205</content></entry></data> 2021-06-13 22:40:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:40:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:40:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>760fe553-f463-4636-bcff-91c9812b4856</value></item-id></result> 2021-06-13 22:40:59 | contains: true 2021-06-13 22:40:59 | [Mutex] waiting for: [user_regularkect3y0202@test-domain.com:message:received:content_cvc8d10205] 2021-06-13 22:41:14 | [Mutex] timeout. Not received [user_regularkect3y0202@test-domain.com:message:received:content_cvc8d10205] 2021-06-13 22:41:14 | [Mutex] isItemNotified: user_regularkect3y0202@test-domain.com:message:received:content_cvc8d10205 :: false 2021-06-13 22:41:14 | ===== publishing normal message (to offline) 2021-06-13 22:41:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:41:14 | command: <data><node>node_cvnn5a0203</node><entry><content>content_6lj39l0206</content></entry></data> 2021-06-13 22:41:14 | target: http://localhost:8088 2021-06-13 22:41:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:41:14 | entity: <data><node>node_cvnn5a0203</node><entry><content>content_6lj39l0206</content></entry></data> 2021-06-13 22:41:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:41:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:41:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3517da99-322d-4b3e-a79b-e349e6bbb5c8</value></item-id></result> 2021-06-13 22:41:14 | contains: true 2021-06-13 22:41:20 | [Mutex] waiting for: [user_regularkect3y0202@test-domain.com:message:received:content_6lj39l0206] 2021-06-13 22:41:20 | [Mutex] received everything. 2021-06-13 22:41:20 | [Mutex] isItemNotified: user_regularkect3y0202@test-domain.com:message:received:content_6lj39l0206 :: true 2021-06-13 22:41:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-13 22:41:20 | [Mutex] received everything. 2021-06-13 22:41:20 | [Mutex] isItemNotified: node_cvnn5a0203:subscribe_node:success :: true 2021-06-13 22:41:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:41:20 | command: <data><node>node_cvnn5a0203</node><expire-at>2021-06-14T05:41:25Z</expire-at><entry><content>content_x6xysp0207</content></entry></data> 2021-06-13 22:41:20 | target: http://localhost:8088 2021-06-13 22:41:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:41:20 | entity: <data><node>node_cvnn5a0203</node><expire-at>2021-06-14T05:41:25Z</expire-at><entry><content>content_x6xysp0207</content></entry></data> 2021-06-13 22:41:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:41:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:41:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52c07cbc-e1c8-4a3e-8996-6d399a55b60b</value></item-id></result> 2021-06-13 22:41:20 | contains: true 2021-06-13 22:41:28 | [Mutex] waiting for: [user_regularkect3y0202@test-domain.com:message:received:content_x6xysp0207] 2021-06-13 22:41:43 | [Mutex] timeout. Not received [user_regularkect3y0202@test-domain.com:message:received:content_x6xysp0207] 2021-06-13 22:41:43 | [Mutex] received everything. 2021-06-13 22:41:43 | [Mutex] isItemNotified: user_regularkect3y0202@test-domain.com:message:received:content_x6xysp0207 :: false 2021-06-13 22:41:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x6xysp0207 :: true |