Test duration : 45.868s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.785s |
2021-01-21 21:57:53 |
2021-01-21 21:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-21 21:57:53 | ------------------------------------ 2021-01-21 21:57:53 | [Mutex] isItemNotified: node_14aqzf0203:exists :: false 2021-01-21 21:57:53 | [Mutex] waiting for: [node_14aqzf0203:create_node] 2021-01-21 21:57:53 | [Mutex] received everything. 2021-01-21 21:57:53 | [Mutex] isItemNotified: node_14aqzf0203:create_node:success :: true 2021-01-21 21:57:53 | [Mutex] waiting for: [node_14aqzf0203:subscribe_node] 2021-01-21 21:57:53 | [Mutex] received everything. 2021-01-21 21:57:53 | [Mutex] isItemNotified: node_14aqzf0203:subscribe_node:success :: true 2021-01-21 21:57:53 | ===== publishing normal message (to online) 2021-01-21 21:57:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:57:53 | command: <data><node>node_14aqzf0203</node><entry><content>content_jp3gvk0204</content></entry></data> 2021-01-21 21:57:53 | target: http://localhost:8088 2021-01-21 21:57:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-21 21:57:53 | entity: <data><node>node_14aqzf0203</node><entry><content>content_jp3gvk0204</content></entry></data> 2021-01-21 21:57:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:57:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:57:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0908fb6-0cc8-446d-8536-9bd4e6801995</value></item-id></result> 2021-01-21 21:57:53 | contains: true 2021-01-21 21:57:53 | [Mutex] received everything. 2021-01-21 21:57:53 | [Mutex] isItemNotified: user_regulary4pk0x0202@test-domain.com:message:received:content_jp3gvk0204 :: true 2021-01-21 21:57:53 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-21 21:57:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:57:53 | command: <data><node>node_14aqzf0203</node><expire-at>2021-01-22T05:57:48Z</expire-at><entry><content>content_254vgk0205</content></entry></data> 2021-01-21 21:57:53 | target: http://localhost:8088 2021-01-21 21:57:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-21 21:57:53 | entity: <data><node>node_14aqzf0203</node><expire-at>2021-01-22T05:57:48Z</expire-at><entry><content>content_254vgk0205</content></entry></data> 2021-01-21 21:57:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:57:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:57:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>21c699aa-2e94-4546-8add-e5395fa127be</value></item-id></result> 2021-01-21 21:57:53 | contains: true 2021-01-21 21:57:53 | [Mutex] waiting for: [user_regulary4pk0x0202@test-domain.com:message:received:content_254vgk0205] 2021-01-21 21:58:08 | [Mutex] timeout. Not received [user_regulary4pk0x0202@test-domain.com:message:received:content_254vgk0205] 2021-01-21 21:58:08 | [Mutex] isItemNotified: user_regulary4pk0x0202@test-domain.com:message:received:content_254vgk0205 :: false 2021-01-21 21:58:08 | ===== publishing normal message (to offline) 2021-01-21 21:58:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:58:08 | command: <data><node>node_14aqzf0203</node><entry><content>content_j2zsnl0206</content></entry></data> 2021-01-21 21:58:08 | target: http://localhost:8088 2021-01-21 21:58:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-21 21:58:08 | entity: <data><node>node_14aqzf0203</node><entry><content>content_j2zsnl0206</content></entry></data> 2021-01-21 21:58:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:58:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:58:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b2c3627-e621-4c16-b877-7c12bbce6261</value></item-id></result> 2021-01-21 21:58:08 | contains: true 2021-01-21 21:58:13 | [Mutex] waiting for: [user_regulary4pk0x0202@test-domain.com:message:received:content_j2zsnl0206] 2021-01-21 21:58:13 | [Mutex] received everything. 2021-01-21 21:58:13 | [Mutex] isItemNotified: user_regulary4pk0x0202@test-domain.com:message:received:content_j2zsnl0206 :: true 2021-01-21 21:58:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-21 21:58:13 | [Mutex] received everything. 2021-01-21 21:58:13 | [Mutex] isItemNotified: node_14aqzf0203:subscribe_node:success :: true 2021-01-21 21:58:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:58:13 | command: <data><node>node_14aqzf0203</node><expire-at>2021-01-22T05:58:18Z</expire-at><entry><content>content_z0252k0207</content></entry></data> 2021-01-21 21:58:13 | target: http://localhost:8088 2021-01-21 21:58:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-21 21:58:13 | entity: <data><node>node_14aqzf0203</node><expire-at>2021-01-22T05:58:18Z</expire-at><entry><content>content_z0252k0207</content></entry></data> 2021-01-21 21:58:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:58:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:58:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bf4dd7ac-9092-4c3d-9841-a28be1dcfb4a</value></item-id></result> 2021-01-21 21:58:13 | contains: true 2021-01-21 21:58:22 | [Mutex] waiting for: [user_regulary4pk0x0202@test-domain.com:message:received:content_z0252k0207] 2021-01-21 21:58:22 | [Mutex] waiting for: [user_regulary4pk0x0202@test-domain.com:message:received:content_z0252k0207] 2021-01-21 21:58:37 | [Mutex] timeout. Not received [user_regulary4pk0x0202@test-domain.com:message:received:content_z0252k0207] 2021-01-21 21:58:37 | [Mutex] received everything. 2021-01-21 21:58:37 | [Mutex] isItemNotified: user_regulary4pk0x0202@test-domain.com:message:received:content_z0252k0207 :: false 2021-01-21 21:58:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z0252k0207 :: true |