Test duration : 45.113s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.719s |
2020-09-18 10:08:22 |
2020-09-18 10:08:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 10:08:22 | ------------------------------------ 2020-09-18 10:08:22 | [Mutex] isItemNotified: node_9rvw8z0201:exists :: false 2020-09-18 10:08:22 | [Mutex] waiting for: [node_9rvw8z0201:create_node] 2020-09-18 10:08:22 | [Mutex] received everything. 2020-09-18 10:08:22 | [Mutex] isItemNotified: node_9rvw8z0201:create_node:success :: true 2020-09-18 10:08:22 | [Mutex] waiting for: [node_9rvw8z0201:subscribe_node] 2020-09-18 10:08:22 | [Mutex] waiting for: [node_9rvw8z0201:subscribe_node] 2020-09-18 10:08:22 | [Mutex] received everything. 2020-09-18 10:08:22 | [Mutex] isItemNotified: node_9rvw8z0201:subscribe_node:success :: true 2020-09-18 10:08:22 | ===== publishing normal message (to online) 2020-09-18 10:08:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 10:08:22 | command: <data><node>node_9rvw8z0201</node><entry><content>content_duqn8v0202</content></entry></data> 2020-09-18 10:08:22 | target: http://localhost:8088 2020-09-18 10:08:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 10:08:22 | entity: <data><node>node_9rvw8z0201</node><entry><content>content_duqn8v0202</content></entry></data> 2020-09-18 10:08:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:08:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 10:08:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>295be9bd-4ade-4d29-a81f-ad31c354059b</value></item-id></result> 2020-09-18 10:08:22 | contains: true 2020-09-18 10:08:22 | [Mutex] received everything. 2020-09-18 10:08:22 | [Mutex] isItemNotified: user_regularkfytvd0200@test-domain.com:message:received:content_duqn8v0202 :: true 2020-09-18 10:08:22 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 10:08:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 10:08:22 | command: <data><node>node_9rvw8z0201</node><expire-at>2020-09-18T17:08:17Z</expire-at><entry><content>content_abt8g70203</content></entry></data> 2020-09-18 10:08:22 | target: http://localhost:8088 2020-09-18 10:08:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 10:08:22 | entity: <data><node>node_9rvw8z0201</node><expire-at>2020-09-18T17:08:17Z</expire-at><entry><content>content_abt8g70203</content></entry></data> 2020-09-18 10:08:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:08:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 10:08:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c24b4ff-9c8a-4d98-b8c1-a33a21910e44</value></item-id></result> 2020-09-18 10:08:22 | contains: true 2020-09-18 10:08:22 | [Mutex] waiting for: [user_regularkfytvd0200@test-domain.com:message:received:content_abt8g70203] 2020-09-18 10:08:37 | [Mutex] timeout. Not received [user_regularkfytvd0200@test-domain.com:message:received:content_abt8g70203] 2020-09-18 10:08:37 | [Mutex] isItemNotified: user_regularkfytvd0200@test-domain.com:message:received:content_abt8g70203 :: false 2020-09-18 10:08:37 | ===== publishing normal message (to offline) 2020-09-18 10:08:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 10:08:37 | command: <data><node>node_9rvw8z0201</node><entry><content>content_vhtum20204</content></entry></data> 2020-09-18 10:08:37 | target: http://localhost:8088 2020-09-18 10:08:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 10:08:37 | entity: <data><node>node_9rvw8z0201</node><entry><content>content_vhtum20204</content></entry></data> 2020-09-18 10:08:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:08:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 10:08:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8060f39a-d2c6-4b3a-8bac-e5be7b50b357</value></item-id></result> 2020-09-18 10:08:37 | contains: true 2020-09-18 10:08:42 | [Mutex] waiting for: [user_regularkfytvd0200@test-domain.com:message:received:content_vhtum20204] 2020-09-18 10:08:42 | [Mutex] waiting for: [user_regularkfytvd0200@test-domain.com:message:received:content_vhtum20204] 2020-09-18 10:08:42 | [Mutex] received everything. 2020-09-18 10:08:42 | [Mutex] isItemNotified: user_regularkfytvd0200@test-domain.com:message:received:content_vhtum20204 :: true 2020-09-18 10:08:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 10:08:42 | [Mutex] received everything. 2020-09-18 10:08:42 | [Mutex] isItemNotified: node_9rvw8z0201:subscribe_node:success :: true 2020-09-18 10:08:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 10:08:42 | command: <data><node>node_9rvw8z0201</node><expire-at>2020-09-18T17:08:47Z</expire-at><entry><content>content_u3ik770205</content></entry></data> 2020-09-18 10:08:42 | target: http://localhost:8088 2020-09-18 10:08:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 10:08:42 | entity: <data><node>node_9rvw8z0201</node><expire-at>2020-09-18T17:08:47Z</expire-at><entry><content>content_u3ik770205</content></entry></data> 2020-09-18 10:08:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:08:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 10:08:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3cecf1d4-e221-4800-9638-1e8aa799d9a1</value></item-id></result> 2020-09-18 10:08:42 | contains: true 2020-09-18 10:08:50 | [Mutex] waiting for: [user_regularkfytvd0200@test-domain.com:message:received:content_u3ik770205] 2020-09-18 10:08:50 | [Mutex] waiting for: [user_regularkfytvd0200@test-domain.com:message:received:content_u3ik770205] 2020-09-18 10:09:05 | [Mutex] timeout. Not received [user_regularkfytvd0200@test-domain.com:message:received:content_u3ik770205] 2020-09-18 10:09:05 | [Mutex] received everything. 2020-09-18 10:09:05 | [Mutex] isItemNotified: user_regularkfytvd0200@test-domain.com:message:received:content_u3ik770205 :: false 2020-09-18 10:09:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u3ik770205 :: true |