Test duration : 45.490s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.734s |
2020-09-25 16:30:09 |
2020-09-25 16:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-25 16:30:09 | ------------------------------------ 2020-09-25 16:30:09 | [Mutex] isItemNotified: node_lo4bd90203:exists :: false 2020-09-25 16:30:09 | [Mutex] waiting for: [node_lo4bd90203:create_node] 2020-09-25 16:30:10 | [Mutex] received everything. 2020-09-25 16:30:10 | [Mutex] isItemNotified: node_lo4bd90203:create_node:success :: true 2020-09-25 16:30:10 | [Mutex] waiting for: [node_lo4bd90203:subscribe_node] 2020-09-25 16:30:10 | [Mutex] waiting for: [node_lo4bd90203:subscribe_node] 2020-09-25 16:30:10 | [Mutex] received everything. 2020-09-25 16:30:10 | [Mutex] isItemNotified: node_lo4bd90203:subscribe_node:success :: true 2020-09-25 16:30:10 | ===== publishing normal message (to online) 2020-09-25 16:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 16:30:10 | command: <data><node>node_lo4bd90203</node><entry><content>content_g8q93f0204</content></entry></data> 2020-09-25 16:30:10 | target: http://localhost:8088 2020-09-25 16:30:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 16:30:10 | entity: <data><node>node_lo4bd90203</node><entry><content>content_g8q93f0204</content></entry></data> 2020-09-25 16:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 16:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e8b97ab7-dcfe-451e-b259-beecbae2d856</value></item-id></result> 2020-09-25 16:30:10 | contains: true 2020-09-25 16:30:10 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_g8q93f0204] 2020-09-25 16:30:10 | [Mutex] received everything. 2020-09-25 16:30:10 | [Mutex] isItemNotified: user_regularkxbew70202@test-domain.com:message:received:content_g8q93f0204 :: true 2020-09-25 16:30:10 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-25 16:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 16:30:10 | command: <data><node>node_lo4bd90203</node><expire-at>2020-09-25T23:30:05Z</expire-at><entry><content>content_w9mz8r0205</content></entry></data> 2020-09-25 16:30:10 | target: http://localhost:8088 2020-09-25 16:30:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 16:30:10 | entity: <data><node>node_lo4bd90203</node><expire-at>2020-09-25T23:30:05Z</expire-at><entry><content>content_w9mz8r0205</content></entry></data> 2020-09-25 16:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 16:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3f03719-3b12-4bec-8678-8eec96cf6abc</value></item-id></result> 2020-09-25 16:30:10 | contains: true 2020-09-25 16:30:10 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_w9mz8r0205] 2020-09-25 16:30:25 | [Mutex] timeout. Not received [user_regularkxbew70202@test-domain.com:message:received:content_w9mz8r0205] 2020-09-25 16:30:25 | [Mutex] isItemNotified: user_regularkxbew70202@test-domain.com:message:received:content_w9mz8r0205 :: false 2020-09-25 16:30:25 | ===== publishing normal message (to offline) 2020-09-25 16:30:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 16:30:25 | command: <data><node>node_lo4bd90203</node><entry><content>content_vwfk580206</content></entry></data> 2020-09-25 16:30:25 | target: http://localhost:8088 2020-09-25 16:30:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 16:30:25 | entity: <data><node>node_lo4bd90203</node><entry><content>content_vwfk580206</content></entry></data> 2020-09-25 16:30:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 16:30:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5963019c-e154-4c80-bf6a-caee7c84fd3b</value></item-id></result> 2020-09-25 16:30:25 | contains: true 2020-09-25 16:30:30 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_vwfk580206] 2020-09-25 16:30:30 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_vwfk580206] 2020-09-25 16:30:30 | [Mutex] received everything. 2020-09-25 16:30:30 | [Mutex] isItemNotified: user_regularkxbew70202@test-domain.com:message:received:content_vwfk580206 :: true 2020-09-25 16:30:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-25 16:30:30 | [Mutex] received everything. 2020-09-25 16:30:30 | [Mutex] isItemNotified: node_lo4bd90203:subscribe_node:success :: true 2020-09-25 16:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 16:30:30 | command: <data><node>node_lo4bd90203</node><expire-at>2020-09-25T23:30:35Z</expire-at><entry><content>content_mv4gu00207</content></entry></data> 2020-09-25 16:30:30 | target: http://localhost:8088 2020-09-25 16:30:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 16:30:30 | entity: <data><node>node_lo4bd90203</node><expire-at>2020-09-25T23:30:35Z</expire-at><entry><content>content_mv4gu00207</content></entry></data> 2020-09-25 16:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 16:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5fccfe1f-6336-4a83-95f2-8bafc08f1511</value></item-id></result> 2020-09-25 16:30:30 | contains: true 2020-09-25 16:30:38 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_mv4gu00207] 2020-09-25 16:30:38 | [Mutex] waiting for: [user_regularkxbew70202@test-domain.com:message:received:content_mv4gu00207] 2020-09-25 16:30:53 | [Mutex] timeout. Not received [user_regularkxbew70202@test-domain.com:message:received:content_mv4gu00207] 2020-09-25 16:30:53 | [Mutex] received everything. 2020-09-25 16:30:53 | [Mutex] isItemNotified: user_regularkxbew70202@test-domain.com:message:received:content_mv4gu00207 :: false 2020-09-25 16:30:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mv4gu00207 :: true |