Test duration : 45.981s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.801s |
2021-01-17 22:03:04 |
2021-01-17 22:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-17 22:03:04 | ------------------------------------ 2021-01-17 22:03:04 | [Mutex] isItemNotified: node_jqlr4x0203:exists :: false 2021-01-17 22:03:04 | [Mutex] waiting for: [node_jqlr4x0203:create_node] 2021-01-17 22:03:04 | [Mutex] received everything. 2021-01-17 22:03:04 | [Mutex] isItemNotified: node_jqlr4x0203:create_node:success :: true 2021-01-17 22:03:04 | [Mutex] waiting for: [node_jqlr4x0203:subscribe_node] 2021-01-17 22:03:04 | [Mutex] waiting for: [node_jqlr4x0203:subscribe_node] 2021-01-17 22:03:04 | [Mutex] received everything. 2021-01-17 22:03:04 | [Mutex] isItemNotified: node_jqlr4x0203:subscribe_node:success :: true 2021-01-17 22:03:04 | ===== publishing normal message (to online) 2021-01-17 22:03:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-17 22:03:04 | command: <data><node>node_jqlr4x0203</node><entry><content>content_3dfkvz0204</content></entry></data> 2021-01-17 22:03:04 | target: http://localhost:8088 2021-01-17 22:03:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-17 22:03:04 | entity: <data><node>node_jqlr4x0203</node><entry><content>content_3dfkvz0204</content></entry></data> 2021-01-17 22:03:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-17 22:03:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68e097ed-0b7a-4ee2-8e1e-7907687d146b</value></item-id></result> 2021-01-17 22:03:04 | contains: true 2021-01-17 22:03:04 | [Mutex] received everything. 2021-01-17 22:03:04 | [Mutex] isItemNotified: user_regularxnzpa20202@test-domain.com:message:received:content_3dfkvz0204 :: true 2021-01-17 22:03:04 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-17 22:03:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-17 22:03:04 | command: <data><node>node_jqlr4x0203</node><expire-at>2021-01-18T06:02:59Z</expire-at><entry><content>content_oaafrf0205</content></entry></data> 2021-01-17 22:03:04 | target: http://localhost:8088 2021-01-17 22:03:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-17 22:03:04 | entity: <data><node>node_jqlr4x0203</node><expire-at>2021-01-18T06:02:59Z</expire-at><entry><content>content_oaafrf0205</content></entry></data> 2021-01-17 22:03:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-17 22:03:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69e84a2c-ccc2-42c5-bbbc-100b49add826</value></item-id></result> 2021-01-17 22:03:04 | contains: true 2021-01-17 22:03:04 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_oaafrf0205] 2021-01-17 22:03:19 | [Mutex] timeout. Not received [user_regularxnzpa20202@test-domain.com:message:received:content_oaafrf0205] 2021-01-17 22:03:19 | [Mutex] isItemNotified: user_regularxnzpa20202@test-domain.com:message:received:content_oaafrf0205 :: false 2021-01-17 22:03:19 | ===== publishing normal message (to offline) 2021-01-17 22:03:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-17 22:03:19 | command: <data><node>node_jqlr4x0203</node><entry><content>content_l7qpj80206</content></entry></data> 2021-01-17 22:03:19 | target: http://localhost:8088 2021-01-17 22:03:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-17 22:03:19 | entity: <data><node>node_jqlr4x0203</node><entry><content>content_l7qpj80206</content></entry></data> 2021-01-17 22:03:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-17 22:03:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc11b7f7-eded-438f-97d5-1969ffb472b0</value></item-id></result> 2021-01-17 22:03:19 | contains: true 2021-01-17 22:03:25 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_l7qpj80206] 2021-01-17 22:03:25 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_l7qpj80206] 2021-01-17 22:03:25 | [Mutex] received everything. 2021-01-17 22:03:25 | [Mutex] isItemNotified: user_regularxnzpa20202@test-domain.com:message:received:content_l7qpj80206 :: true 2021-01-17 22:03:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-17 22:03:25 | [Mutex] received everything. 2021-01-17 22:03:25 | [Mutex] isItemNotified: node_jqlr4x0203:subscribe_node:success :: true 2021-01-17 22:03:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-17 22:03:25 | command: <data><node>node_jqlr4x0203</node><expire-at>2021-01-18T06:03:30Z</expire-at><entry><content>content_swgdih0207</content></entry></data> 2021-01-17 22:03:25 | target: http://localhost:8088 2021-01-17 22:03:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-17 22:03:25 | entity: <data><node>node_jqlr4x0203</node><expire-at>2021-01-18T06:03:30Z</expire-at><entry><content>content_swgdih0207</content></entry></data> 2021-01-17 22:03:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 06:03:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-17 22:03:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f228ba2-e131-4d1a-901c-de9a2369f6ce</value></item-id></result> 2021-01-17 22:03:25 | contains: true 2021-01-17 22:03:33 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_swgdih0207] 2021-01-17 22:03:33 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_swgdih0207] 2021-01-17 22:03:33 | [Mutex] waiting for: [user_regularxnzpa20202@test-domain.com:message:received:content_swgdih0207] 2021-01-17 22:03:48 | [Mutex] timeout. Not received [user_regularxnzpa20202@test-domain.com:message:received:content_swgdih0207] 2021-01-17 22:03:48 | [Mutex] received everything. 2021-01-17 22:03:48 | [Mutex] isItemNotified: user_regularxnzpa20202@test-domain.com:message:received:content_swgdih0207 :: false 2021-01-17 22:03:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_swgdih0207 :: true |