Test duration : 45.511s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.794s |
2020-08-27 22:59:30 |
2020-08-27 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-27 22:59:30 | ------------------------------------ 2020-08-27 22:59:30 | [Mutex] isItemNotified: node_pnza5f0203:exists :: false 2020-08-27 22:59:30 | [Mutex] waiting for: [node_pnza5f0203:create_node] 2020-08-27 22:59:30 | [Mutex] received everything. 2020-08-27 22:59:30 | [Mutex] isItemNotified: node_pnza5f0203:create_node:success :: true 2020-08-27 22:59:30 | [Mutex] waiting for: [node_pnza5f0203:subscribe_node] 2020-08-27 22:59:30 | [Mutex] received everything. 2020-08-27 22:59:30 | [Mutex] isItemNotified: node_pnza5f0203:subscribe_node:success :: true 2020-08-27 22:59:30 | ===== publishing normal message (to online) 2020-08-27 22:59:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:59:30 | command: <data><node>node_pnza5f0203</node><entry><content>content_1v3lzk0204</content></entry></data> 2020-08-27 22:59:30 | target: http://localhost:8088 2020-08-27 22:59:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:59:30 | entity: <data><node>node_pnza5f0203</node><entry><content>content_1v3lzk0204</content></entry></data> 2020-08-27 22:59:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:59:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:59:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e0522c14-cc9d-4e24-a85e-8be9cae33399</value></item-id></result> 2020-08-27 22:59:30 | contains: true 2020-08-27 22:59:30 | [Mutex] received everything. 2020-08-27 22:59:30 | [Mutex] isItemNotified: user_regularah1get0202@test-domain.com:message:received:content_1v3lzk0204 :: true 2020-08-27 22:59:30 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-27 22:59:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:59:30 | command: <data><node>node_pnza5f0203</node><expire-at>2020-08-28T05:59:25Z</expire-at><entry><content>content_sr8zou0205</content></entry></data> 2020-08-27 22:59:30 | target: http://localhost:8088 2020-08-27 22:59:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:59:30 | entity: <data><node>node_pnza5f0203</node><expire-at>2020-08-28T05:59:25Z</expire-at><entry><content>content_sr8zou0205</content></entry></data> 2020-08-27 22:59:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:59:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:59:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53c6fffa-d40a-4040-881b-5b316ef4ef02</value></item-id></result> 2020-08-27 22:59:30 | contains: true 2020-08-27 22:59:30 | [Mutex] waiting for: [user_regularah1get0202@test-domain.com:message:received:content_sr8zou0205] 2020-08-27 22:59:45 | [Mutex] timeout. Not received [user_regularah1get0202@test-domain.com:message:received:content_sr8zou0205] 2020-08-27 22:59:45 | [Mutex] isItemNotified: user_regularah1get0202@test-domain.com:message:received:content_sr8zou0205 :: false 2020-08-27 22:59:45 | ===== publishing normal message (to offline) 2020-08-27 22:59:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:59:45 | command: <data><node>node_pnza5f0203</node><entry><content>content_k6qxz20206</content></entry></data> 2020-08-27 22:59:45 | target: http://localhost:8088 2020-08-27 22:59:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:59:45 | entity: <data><node>node_pnza5f0203</node><entry><content>content_k6qxz20206</content></entry></data> 2020-08-27 22:59:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:59:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:59:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac1461b3-f790-4da3-969d-55865a14a0c1</value></item-id></result> 2020-08-27 22:59:45 | contains: true 2020-08-27 22:59:50 | [Mutex] waiting for: [user_regularah1get0202@test-domain.com:message:received:content_k6qxz20206] 2020-08-27 22:59:50 | [Mutex] waiting for: [user_regularah1get0202@test-domain.com:message:received:content_k6qxz20206] 2020-08-27 22:59:50 | [Mutex] received everything. 2020-08-27 22:59:50 | [Mutex] isItemNotified: user_regularah1get0202@test-domain.com:message:received:content_k6qxz20206 :: true 2020-08-27 22:59:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-27 22:59:50 | [Mutex] received everything. 2020-08-27 22:59:50 | [Mutex] isItemNotified: node_pnza5f0203:subscribe_node:success :: true 2020-08-27 22:59:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:59:50 | command: <data><node>node_pnza5f0203</node><expire-at>2020-08-28T05:59:55Z</expire-at><entry><content>content_j5ib6n0207</content></entry></data> 2020-08-27 22:59:50 | target: http://localhost:8088 2020-08-27 22:59:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:59:50 | entity: <data><node>node_pnza5f0203</node><expire-at>2020-08-28T05:59:55Z</expire-at><entry><content>content_j5ib6n0207</content></entry></data> 2020-08-27 22:59:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:59:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:59:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3dfb269d-6627-4039-9e19-cdc75766013f</value></item-id></result> 2020-08-27 22:59:50 | contains: true 2020-08-27 22:59:59 | [Mutex] waiting for: [user_regularah1get0202@test-domain.com:message:received:content_j5ib6n0207] 2020-08-27 23:00:14 | [Mutex] timeout. Not received [user_regularah1get0202@test-domain.com:message:received:content_j5ib6n0207] 2020-08-27 23:00:14 | [Mutex] received everything. 2020-08-27 23:00:14 | [Mutex] isItemNotified: user_regularah1get0202@test-domain.com:message:received:content_j5ib6n0207 :: false 2020-08-27 23:00:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j5ib6n0207 :: true |