Test duration : 44.992s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.683s |
2021-09-22 22:53:14 |
2021-09-22 22:53:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-22 22:53:14 | ------------------------------------ 2021-09-22 22:53:14 | [Mutex] isItemNotified: node_i445k40203:exists :: false 2021-09-22 22:53:14 | [Mutex] waiting for: [node_i445k40203:create_node] 2021-09-22 22:53:14 | [Mutex] received everything. 2021-09-22 22:53:14 | [Mutex] isItemNotified: node_i445k40203:create_node:success :: true 2021-09-22 22:53:14 | [Mutex] waiting for: [node_i445k40203:subscribe_node] 2021-09-22 22:53:14 | [Mutex] waiting for: [node_i445k40203:subscribe_node] 2021-09-22 22:53:14 | [Mutex] received everything. 2021-09-22 22:53:14 | [Mutex] isItemNotified: node_i445k40203:subscribe_node:success :: true 2021-09-22 22:53:14 | ===== publishing normal message (to online) 2021-09-22 22:53:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-22 22:53:14 | command: <data><node>node_i445k40203</node><entry><content>content_lldkw80204</content></entry></data> 2021-09-22 22:53:14 | target: http://localhost:8088 2021-09-22 22:53:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-22 22:53:14 | entity: <data><node>node_i445k40203</node><entry><content>content_lldkw80204</content></entry></data> 2021-09-22 22:53:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:53:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-22 22:53:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e9f70f6-1ac3-42cc-9a0d-073c96a016bd</value></item-id></result> 2021-09-22 22:53:14 | contains: true 2021-09-22 22:53:14 | [Mutex] received everything. 2021-09-22 22:53:14 | [Mutex] isItemNotified: user_regularivx8d90202@test-domain.com:message:received:content_lldkw80204 :: true 2021-09-22 22:53:14 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-22 22:53:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-22 22:53:14 | command: <data><node>node_i445k40203</node><expire-at>2021-09-23T05:53:09Z</expire-at><entry><content>content_o67wky0205</content></entry></data> 2021-09-22 22:53:14 | target: http://localhost:8088 2021-09-22 22:53:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-22 22:53:14 | entity: <data><node>node_i445k40203</node><expire-at>2021-09-23T05:53:09Z</expire-at><entry><content>content_o67wky0205</content></entry></data> 2021-09-22 22:53:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:53:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-22 22:53:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c15d2c88-e099-4d1d-b7ff-7d021c8722b0</value></item-id></result> 2021-09-22 22:53:14 | contains: true 2021-09-22 22:53:14 | [Mutex] waiting for: [user_regularivx8d90202@test-domain.com:message:received:content_o67wky0205] 2021-09-22 22:53:29 | [Mutex] timeout. Not received [user_regularivx8d90202@test-domain.com:message:received:content_o67wky0205] 2021-09-22 22:53:29 | [Mutex] isItemNotified: user_regularivx8d90202@test-domain.com:message:received:content_o67wky0205 :: false 2021-09-22 22:53:29 | ===== publishing normal message (to offline) 2021-09-22 22:53:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-22 22:53:29 | command: <data><node>node_i445k40203</node><entry><content>content_7fq9rw0206</content></entry></data> 2021-09-22 22:53:29 | target: http://localhost:8088 2021-09-22 22:53:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-22 22:53:29 | entity: <data><node>node_i445k40203</node><entry><content>content_7fq9rw0206</content></entry></data> 2021-09-22 22:53:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:53:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-22 22:53:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>731e572d-239c-4f2d-bb61-719c625c8a6e</value></item-id></result> 2021-09-22 22:53:29 | contains: true 2021-09-22 22:53:34 | [Mutex] waiting for: [user_regularivx8d90202@test-domain.com:message:received:content_7fq9rw0206] 2021-09-22 22:53:34 | [Mutex] waiting for: [user_regularivx8d90202@test-domain.com:message:received:content_7fq9rw0206] 2021-09-22 22:53:34 | [Mutex] received everything. 2021-09-22 22:53:34 | [Mutex] isItemNotified: user_regularivx8d90202@test-domain.com:message:received:content_7fq9rw0206 :: true 2021-09-22 22:53:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-22 22:53:34 | [Mutex] received everything. 2021-09-22 22:53:34 | [Mutex] isItemNotified: node_i445k40203:subscribe_node:success :: true 2021-09-22 22:53:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-22 22:53:35 | command: <data><node>node_i445k40203</node><expire-at>2021-09-23T05:53:40Z</expire-at><entry><content>content_vjtwy70207</content></entry></data> 2021-09-22 22:53:35 | target: http://localhost:8088 2021-09-22 22:53:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-22 22:53:35 | entity: <data><node>node_i445k40203</node><expire-at>2021-09-23T05:53:40Z</expire-at><entry><content>content_vjtwy70207</content></entry></data> 2021-09-22 22:53:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:53:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-22 22:53:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4aee255b-9383-4d19-8ca7-cae7bf5d979c</value></item-id></result> 2021-09-22 22:53:35 | contains: true 2021-09-22 22:53:43 | [Mutex] waiting for: [user_regularivx8d90202@test-domain.com:message:received:content_vjtwy70207] 2021-09-22 22:53:58 | [Mutex] timeout. Not received [user_regularivx8d90202@test-domain.com:message:received:content_vjtwy70207] 2021-09-22 22:53:58 | [Mutex] received everything. 2021-09-22 22:53:58 | [Mutex] isItemNotified: user_regularivx8d90202@test-domain.com:message:received:content_vjtwy70207 :: false 2021-09-22 22:53:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vjtwy70207 :: true |