Test duration : 45.690s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2021-01-27 21:42:20 |
2021-01-27 21:42:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 21:42:20 | ------------------------------------ 2021-01-27 21:42:20 | [Mutex] isItemNotified: node_hlqwsk0203:exists :: false 2021-01-27 21:42:20 | [Mutex] waiting for: [node_hlqwsk0203:create_node] 2021-01-27 21:42:20 | [Mutex] received everything. 2021-01-27 21:42:20 | [Mutex] isItemNotified: node_hlqwsk0203:create_node:success :: true 2021-01-27 21:42:20 | [Mutex] waiting for: [node_hlqwsk0203:subscribe_node] 2021-01-27 21:42:20 | [Mutex] waiting for: [node_hlqwsk0203:subscribe_node] 2021-01-27 21:42:20 | [Mutex] received everything. 2021-01-27 21:42:20 | [Mutex] isItemNotified: node_hlqwsk0203:subscribe_node:success :: true 2021-01-27 21:42:20 | ===== publishing normal message (to online) 2021-01-27 21:42:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:42:20 | command: <data><node>node_hlqwsk0203</node><entry><content>content_eyzmm30204</content></entry></data> 2021-01-27 21:42:20 | target: http://localhost:8088 2021-01-27 21:42:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:42:20 | entity: <data><node>node_hlqwsk0203</node><entry><content>content_eyzmm30204</content></entry></data> 2021-01-27 21:42:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:42:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:42:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2310380-6fc5-4748-8fe1-53bca8b1c501</value></item-id></result> 2021-01-27 21:42:20 | contains: true 2021-01-27 21:42:20 | [Mutex] waiting for: [user_regular92oag30202@test-domain.com:message:received:content_eyzmm30204] 2021-01-27 21:42:20 | [Mutex] received everything. 2021-01-27 21:42:20 | [Mutex] isItemNotified: user_regular92oag30202@test-domain.com:message:received:content_eyzmm30204 :: true 2021-01-27 21:42:20 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 21:42:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:42:20 | command: <data><node>node_hlqwsk0203</node><expire-at>2021-01-28T05:42:15Z</expire-at><entry><content>content_dnosqy0205</content></entry></data> 2021-01-27 21:42:20 | target: http://localhost:8088 2021-01-27 21:42:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 21:42:20 | entity: <data><node>node_hlqwsk0203</node><expire-at>2021-01-28T05:42:15Z</expire-at><entry><content>content_dnosqy0205</content></entry></data> 2021-01-27 21:42:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:42:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:42:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40409f9b-28b1-4c6a-af53-a6763960adfe</value></item-id></result> 2021-01-27 21:42:20 | contains: true 2021-01-27 21:42:20 | [Mutex] waiting for: [user_regular92oag30202@test-domain.com:message:received:content_dnosqy0205] 2021-01-27 21:42:35 | [Mutex] timeout. Not received [user_regular92oag30202@test-domain.com:message:received:content_dnosqy0205] 2021-01-27 21:42:35 | [Mutex] isItemNotified: user_regular92oag30202@test-domain.com:message:received:content_dnosqy0205 :: false 2021-01-27 21:42:35 | ===== publishing normal message (to offline) 2021-01-27 21:42:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:42:35 | command: <data><node>node_hlqwsk0203</node><entry><content>content_rc3z3j0206</content></entry></data> 2021-01-27 21:42:35 | target: http://localhost:8088 2021-01-27 21:42:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:42:35 | entity: <data><node>node_hlqwsk0203</node><entry><content>content_rc3z3j0206</content></entry></data> 2021-01-27 21:42:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:42:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:42:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6766c3a3-7c9c-41e2-9c1e-8e2fc4958105</value></item-id></result> 2021-01-27 21:42:35 | contains: true 2021-01-27 21:42:41 | [Mutex] waiting for: [user_regular92oag30202@test-domain.com:message:received:content_rc3z3j0206] 2021-01-27 21:42:41 | [Mutex] received everything. 2021-01-27 21:42:41 | [Mutex] isItemNotified: user_regular92oag30202@test-domain.com:message:received:content_rc3z3j0206 :: true 2021-01-27 21:42:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 21:42:41 | [Mutex] received everything. 2021-01-27 21:42:41 | [Mutex] isItemNotified: node_hlqwsk0203:subscribe_node:success :: true 2021-01-27 21:42:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:42:41 | command: <data><node>node_hlqwsk0203</node><expire-at>2021-01-28T05:42:46Z</expire-at><entry><content>content_f4qczo0207</content></entry></data> 2021-01-27 21:42:41 | target: http://localhost:8088 2021-01-27 21:42:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 21:42:41 | entity: <data><node>node_hlqwsk0203</node><expire-at>2021-01-28T05:42:46Z</expire-at><entry><content>content_f4qczo0207</content></entry></data> 2021-01-27 21:42:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:42:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:42:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>49f4eace-e689-4d06-bb22-6c8f078b0b19</value></item-id></result> 2021-01-27 21:42:41 | contains: true 2021-01-27 21:42:49 | [Mutex] waiting for: [user_regular92oag30202@test-domain.com:message:received:content_f4qczo0207] 2021-01-27 21:42:49 | [Mutex] waiting for: [user_regular92oag30202@test-domain.com:message:received:content_f4qczo0207] 2021-01-27 21:43:04 | [Mutex] timeout. Not received [user_regular92oag30202@test-domain.com:message:received:content_f4qczo0207] 2021-01-27 21:43:04 | [Mutex] received everything. 2021-01-27 21:43:04 | [Mutex] isItemNotified: user_regular92oag30202@test-domain.com:message:received:content_f4qczo0207 :: false 2021-01-27 21:43:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f4qczo0207 :: true |