Test duration : 45.744s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.741s |
2020-10-08 22:27:53 |
2020-10-08 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-08 22:27:53 | ------------------------------------ 2020-10-08 22:27:53 | [Mutex] isItemNotified: node_dr0tx60203:exists :: false 2020-10-08 22:27:53 | [Mutex] waiting for: [node_dr0tx60203:create_node] 2020-10-08 22:27:53 | [Mutex] received everything. 2020-10-08 22:27:53 | [Mutex] isItemNotified: node_dr0tx60203:create_node:success :: true 2020-10-08 22:27:53 | [Mutex] waiting for: [node_dr0tx60203:subscribe_node] 2020-10-08 22:27:53 | [Mutex] received everything. 2020-10-08 22:27:53 | [Mutex] isItemNotified: node_dr0tx60203:subscribe_node:success :: true 2020-10-08 22:27:53 | ===== publishing normal message (to online) 2020-10-08 22:27:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:27:53 | command: <data><node>node_dr0tx60203</node><entry><content>content_p08qtm0204</content></entry></data> 2020-10-08 22:27:53 | target: http://localhost:8088 2020-10-08 22:27:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-08 22:27:53 | entity: <data><node>node_dr0tx60203</node><entry><content>content_p08qtm0204</content></entry></data> 2020-10-08 22:27:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:27:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:27:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>441b2ceb-3999-4d9b-8892-57122f4db332</value></item-id></result> 2020-10-08 22:27:53 | contains: true 2020-10-08 22:27:53 | [Mutex] received everything. 2020-10-08 22:27:53 | [Mutex] isItemNotified: user_regularm4frtf0202@test-domain.com:message:received:content_p08qtm0204 :: true 2020-10-08 22:27:53 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-08 22:27:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:27:53 | command: <data><node>node_dr0tx60203</node><expire-at>2020-10-09T05:27:48Z</expire-at><entry><content>content_adidgj0205</content></entry></data> 2020-10-08 22:27:53 | target: http://localhost:8088 2020-10-08 22:27:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-08 22:27:53 | entity: <data><node>node_dr0tx60203</node><expire-at>2020-10-09T05:27:48Z</expire-at><entry><content>content_adidgj0205</content></entry></data> 2020-10-08 22:27:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:27:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:27:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3627846-0e09-4f30-8672-642c85f603e6</value></item-id></result> 2020-10-08 22:27:53 | contains: true 2020-10-08 22:27:53 | [Mutex] waiting for: [user_regularm4frtf0202@test-domain.com:message:received:content_adidgj0205] 2020-10-08 22:28:08 | [Mutex] timeout. Not received [user_regularm4frtf0202@test-domain.com:message:received:content_adidgj0205] 2020-10-08 22:28:08 | [Mutex] isItemNotified: user_regularm4frtf0202@test-domain.com:message:received:content_adidgj0205 :: false 2020-10-08 22:28:08 | ===== publishing normal message (to offline) 2020-10-08 22:28:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:28:08 | command: <data><node>node_dr0tx60203</node><entry><content>content_day15v0206</content></entry></data> 2020-10-08 22:28:08 | target: http://localhost:8088 2020-10-08 22:28:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-08 22:28:08 | entity: <data><node>node_dr0tx60203</node><entry><content>content_day15v0206</content></entry></data> 2020-10-08 22:28:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:28:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:28:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ecc470d-e5fe-4c1e-86d8-64472c7352a6</value></item-id></result> 2020-10-08 22:28:08 | contains: true 2020-10-08 22:28:13 | [Mutex] received everything. 2020-10-08 22:28:13 | [Mutex] isItemNotified: user_regularm4frtf0202@test-domain.com:message:received:content_day15v0206 :: true 2020-10-08 22:28:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-08 22:28:13 | [Mutex] received everything. 2020-10-08 22:28:13 | [Mutex] isItemNotified: node_dr0tx60203:subscribe_node:success :: true 2020-10-08 22:28:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:28:13 | command: <data><node>node_dr0tx60203</node><expire-at>2020-10-09T05:28:18Z</expire-at><entry><content>content_qlbegs0207</content></entry></data> 2020-10-08 22:28:13 | target: http://localhost:8088 2020-10-08 22:28:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-08 22:28:13 | entity: <data><node>node_dr0tx60203</node><expire-at>2020-10-09T05:28:18Z</expire-at><entry><content>content_qlbegs0207</content></entry></data> 2020-10-08 22:28:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:28:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:28:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5dbe753-f730-41cb-8d23-bb327c2fcce0</value></item-id></result> 2020-10-08 22:28:14 | contains: true 2020-10-08 22:28:22 | [Mutex] waiting for: [user_regularm4frtf0202@test-domain.com:message:received:content_qlbegs0207] 2020-10-08 22:28:22 | [Mutex] waiting for: [user_regularm4frtf0202@test-domain.com:message:received:content_qlbegs0207] 2020-10-08 22:28:37 | [Mutex] timeout. Not received [user_regularm4frtf0202@test-domain.com:message:received:content_qlbegs0207] 2020-10-08 22:28:37 | [Mutex] received everything. 2020-10-08 22:28:37 | [Mutex] isItemNotified: user_regularm4frtf0202@test-domain.com:message:received:content_qlbegs0207 :: false 2020-10-08 22:28:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qlbegs0207 :: true |