Test duration : 45.576s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.824s |
2020-10-23 22:30:13 |
2020-10-23 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-23 22:30:13 | ------------------------------------ 2020-10-23 22:30:13 | [Mutex] isItemNotified: node_p0tsgj0203:exists :: false 2020-10-23 22:30:13 | [Mutex] waiting for: [node_p0tsgj0203:create_node] 2020-10-23 22:30:13 | [Mutex] received everything. 2020-10-23 22:30:13 | [Mutex] isItemNotified: node_p0tsgj0203:create_node:success :: true 2020-10-23 22:30:13 | [Mutex] waiting for: [node_p0tsgj0203:subscribe_node] 2020-10-23 22:30:13 | [Mutex] received everything. 2020-10-23 22:30:13 | [Mutex] isItemNotified: node_p0tsgj0203:subscribe_node:success :: true 2020-10-23 22:30:13 | ===== publishing normal message (to online) 2020-10-23 22:30:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:30:13 | command: <data><node>node_p0tsgj0203</node><entry><content>content_7e4pdh0204</content></entry></data> 2020-10-23 22:30:13 | target: http://localhost:8088 2020-10-23 22:30:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:30:13 | entity: <data><node>node_p0tsgj0203</node><entry><content>content_7e4pdh0204</content></entry></data> 2020-10-23 22:30:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:30:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:30:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0ce0fce-5037-4aed-9eb9-bbc993189f72</value></item-id></result> 2020-10-23 22:30:13 | contains: true 2020-10-23 22:30:13 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_7e4pdh0204] 2020-10-23 22:30:13 | [Mutex] received everything. 2020-10-23 22:30:13 | [Mutex] isItemNotified: user_regularysds9k0202@test-domain.com:message:received:content_7e4pdh0204 :: true 2020-10-23 22:30:13 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-23 22:30:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:30:13 | command: <data><node>node_p0tsgj0203</node><expire-at>2020-10-24T05:30:08Z</expire-at><entry><content>content_1xc1hm0205</content></entry></data> 2020-10-23 22:30:13 | target: http://localhost:8088 2020-10-23 22:30:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:30:13 | entity: <data><node>node_p0tsgj0203</node><expire-at>2020-10-24T05:30:08Z</expire-at><entry><content>content_1xc1hm0205</content></entry></data> 2020-10-23 22:30:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:30:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:30:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f9b0f21d-c193-4c60-8c11-d66eb5e56127</value></item-id></result> 2020-10-23 22:30:13 | contains: true 2020-10-23 22:30:13 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_1xc1hm0205] 2020-10-23 22:30:28 | [Mutex] timeout. Not received [user_regularysds9k0202@test-domain.com:message:received:content_1xc1hm0205] 2020-10-23 22:30:28 | [Mutex] isItemNotified: user_regularysds9k0202@test-domain.com:message:received:content_1xc1hm0205 :: false 2020-10-23 22:30:28 | ===== publishing normal message (to offline) 2020-10-23 22:30:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:30:28 | command: <data><node>node_p0tsgj0203</node><entry><content>content_cefq7r0206</content></entry></data> 2020-10-23 22:30:28 | target: http://localhost:8088 2020-10-23 22:30:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:30:28 | entity: <data><node>node_p0tsgj0203</node><entry><content>content_cefq7r0206</content></entry></data> 2020-10-23 22:30:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:30:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:30:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08d08ba6-fb50-4365-a962-bed97ce80f25</value></item-id></result> 2020-10-23 22:30:28 | contains: true 2020-10-23 22:30:34 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_cefq7r0206] 2020-10-23 22:30:34 | [Mutex] received everything. 2020-10-23 22:30:34 | [Mutex] isItemNotified: user_regularysds9k0202@test-domain.com:message:received:content_cefq7r0206 :: true 2020-10-23 22:30:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-23 22:30:34 | [Mutex] received everything. 2020-10-23 22:30:34 | [Mutex] isItemNotified: node_p0tsgj0203:subscribe_node:success :: true 2020-10-23 22:30:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:30:34 | command: <data><node>node_p0tsgj0203</node><expire-at>2020-10-24T05:30:39Z</expire-at><entry><content>content_yy6tm10207</content></entry></data> 2020-10-23 22:30:34 | target: http://localhost:8088 2020-10-23 22:30:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:30:34 | entity: <data><node>node_p0tsgj0203</node><expire-at>2020-10-24T05:30:39Z</expire-at><entry><content>content_yy6tm10207</content></entry></data> 2020-10-23 22:30:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:30:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:30:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11c4f4d8-bdce-4cda-adf2-d2899c1ea80c</value></item-id></result> 2020-10-23 22:30:34 | contains: true 2020-10-23 22:30:42 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_yy6tm10207] 2020-10-23 22:30:42 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_yy6tm10207] 2020-10-23 22:30:42 | [Mutex] waiting for: [user_regularysds9k0202@test-domain.com:message:received:content_yy6tm10207] 2020-10-23 22:30:57 | [Mutex] timeout. Not received [user_regularysds9k0202@test-domain.com:message:received:content_yy6tm10207] 2020-10-23 22:30:57 | [Mutex] received everything. 2020-10-23 22:30:57 | [Mutex] isItemNotified: user_regularysds9k0202@test-domain.com:message:received:content_yy6tm10207 :: false 2020-10-23 22:30:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yy6tm10207 :: true |