Test duration : 45.953s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.873s |
2020-11-29 21:32:44 |
2020-11-29 21:32:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-29 21:32:44 | ------------------------------------ 2020-11-29 21:32:44 | [Mutex] isItemNotified: node_li3bzv0203:exists :: false 2020-11-29 21:32:44 | [Mutex] waiting for: [node_li3bzv0203:create_node] 2020-11-29 21:32:44 | [Mutex] received everything. 2020-11-29 21:32:44 | [Mutex] isItemNotified: node_li3bzv0203:create_node:success :: true 2020-11-29 21:32:44 | [Mutex] waiting for: [node_li3bzv0203:subscribe_node] 2020-11-29 21:32:44 | [Mutex] waiting for: [node_li3bzv0203:subscribe_node] 2020-11-29 21:32:44 | [Mutex] received everything. 2020-11-29 21:32:44 | [Mutex] isItemNotified: node_li3bzv0203:subscribe_node:success :: true 2020-11-29 21:32:44 | ===== publishing normal message (to online) 2020-11-29 21:32:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-29 21:32:44 | command: <data><node>node_li3bzv0203</node><entry><content>content_xiv2by0204</content></entry></data> 2020-11-29 21:32:44 | target: http://localhost:8088 2020-11-29 21:32:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-29 21:32:44 | entity: <data><node>node_li3bzv0203</node><entry><content>content_xiv2by0204</content></entry></data> 2020-11-29 21:32:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 05:32:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-29 21:32:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d1fe687-399a-4214-a0ee-24ca84fb22fb</value></item-id></result> 2020-11-29 21:32:44 | contains: true 2020-11-29 21:32:44 | [Mutex] received everything. 2020-11-29 21:32:44 | [Mutex] isItemNotified: user_regulargbvlmq0202@test-domain.com:message:received:content_xiv2by0204 :: true 2020-11-29 21:32:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-29 21:32:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-29 21:32:44 | command: <data><node>node_li3bzv0203</node><expire-at>2020-11-30T05:32:39Z</expire-at><entry><content>content_313zxf0205</content></entry></data> 2020-11-29 21:32:44 | target: http://localhost:8088 2020-11-29 21:32:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-29 21:32:44 | entity: <data><node>node_li3bzv0203</node><expire-at>2020-11-30T05:32:39Z</expire-at><entry><content>content_313zxf0205</content></entry></data> 2020-11-29 21:32:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 05:32:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-29 21:32:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38d53a53-3d47-4a58-8208-988f57a9664f</value></item-id></result> 2020-11-29 21:32:44 | contains: true 2020-11-29 21:32:44 | [Mutex] waiting for: [user_regulargbvlmq0202@test-domain.com:message:received:content_313zxf0205] 2020-11-29 21:32:59 | [Mutex] timeout. Not received [user_regulargbvlmq0202@test-domain.com:message:received:content_313zxf0205] 2020-11-29 21:32:59 | [Mutex] isItemNotified: user_regulargbvlmq0202@test-domain.com:message:received:content_313zxf0205 :: false 2020-11-29 21:32:59 | ===== publishing normal message (to offline) 2020-11-29 21:32:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-29 21:32:59 | command: <data><node>node_li3bzv0203</node><entry><content>content_e7ore00206</content></entry></data> 2020-11-29 21:32:59 | target: http://localhost:8088 2020-11-29 21:32:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-29 21:32:59 | entity: <data><node>node_li3bzv0203</node><entry><content>content_e7ore00206</content></entry></data> 2020-11-29 21:32:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 05:32:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-29 21:32:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>927054cc-4a8d-4038-950d-d67c9408c579</value></item-id></result> 2020-11-29 21:32:59 | contains: true 2020-11-29 21:33:05 | [Mutex] waiting for: [user_regulargbvlmq0202@test-domain.com:message:received:content_e7ore00206] 2020-11-29 21:33:05 | [Mutex] received everything. 2020-11-29 21:33:05 | [Mutex] isItemNotified: user_regulargbvlmq0202@test-domain.com:message:received:content_e7ore00206 :: true 2020-11-29 21:33:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-29 21:33:05 | [Mutex] received everything. 2020-11-29 21:33:05 | [Mutex] isItemNotified: node_li3bzv0203:subscribe_node:success :: true 2020-11-29 21:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-29 21:33:05 | command: <data><node>node_li3bzv0203</node><expire-at>2020-11-30T05:33:10Z</expire-at><entry><content>content_j76w6o0207</content></entry></data> 2020-11-29 21:33:05 | target: http://localhost:8088 2020-11-29 21:33:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-29 21:33:05 | entity: <data><node>node_li3bzv0203</node><expire-at>2020-11-30T05:33:10Z</expire-at><entry><content>content_j76w6o0207</content></entry></data> 2020-11-29 21:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 05:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-29 21:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79724c50-59c2-4efd-881d-4380cecf716b</value></item-id></result> 2020-11-29 21:33:05 | contains: true 2020-11-29 21:33:13 | [Mutex] waiting for: [user_regulargbvlmq0202@test-domain.com:message:received:content_j76w6o0207] 2020-11-29 21:33:13 | [Mutex] waiting for: [user_regulargbvlmq0202@test-domain.com:message:received:content_j76w6o0207] 2020-11-29 21:33:28 | [Mutex] timeout. Not received [user_regulargbvlmq0202@test-domain.com:message:received:content_j76w6o0207] 2020-11-29 21:33:28 | [Mutex] received everything. 2020-11-29 21:33:28 | [Mutex] isItemNotified: user_regulargbvlmq0202@test-domain.com:message:received:content_j76w6o0207 :: false 2020-11-29 21:33:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j76w6o0207 :: true |