Test duration : 44.920s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.602s |
2020-09-16 22:46:22 |
2020-09-16 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-16 22:46:22 | ------------------------------------ 2020-09-16 22:46:22 | [Mutex] isItemNotified: node_ar9kf70203:exists :: false 2020-09-16 22:46:22 | [Mutex] waiting for: [node_ar9kf70203:create_node] 2020-09-16 22:46:22 | [Mutex] received everything. 2020-09-16 22:46:22 | [Mutex] isItemNotified: node_ar9kf70203:create_node:success :: true 2020-09-16 22:46:22 | [Mutex] waiting for: [node_ar9kf70203:subscribe_node] 2020-09-16 22:46:22 | [Mutex] waiting for: [node_ar9kf70203:subscribe_node] 2020-09-16 22:46:22 | [Mutex] received everything. 2020-09-16 22:46:22 | [Mutex] isItemNotified: node_ar9kf70203:subscribe_node:success :: true 2020-09-16 22:46:22 | ===== publishing normal message (to online) 2020-09-16 22:46:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:22 | command: <data><node>node_ar9kf70203</node><entry><content>content_g4uzvd0204</content></entry></data> 2020-09-16 22:46:22 | target: http://localhost:8088 2020-09-16 22:46:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-16 22:46:22 | entity: <data><node>node_ar9kf70203</node><entry><content>content_g4uzvd0204</content></entry></data> 2020-09-16 22:46:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d077aef2-ae66-4539-a6f1-0a0a8e2a8aa1</value></item-id></result> 2020-09-16 22:46:22 | contains: true 2020-09-16 22:46:22 | [Mutex] received everything. 2020-09-16 22:46:22 | [Mutex] isItemNotified: user_regular617cx80202@test-domain.com:message:received:content_g4uzvd0204 :: true 2020-09-16 22:46:22 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-16 22:46:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:22 | command: <data><node>node_ar9kf70203</node><expire-at>2020-09-17T05:46:17Z</expire-at><entry><content>content_f4w5zy0205</content></entry></data> 2020-09-16 22:46:22 | target: http://localhost:8088 2020-09-16 22:46:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-16 22:46:22 | entity: <data><node>node_ar9kf70203</node><expire-at>2020-09-17T05:46:17Z</expire-at><entry><content>content_f4w5zy0205</content></entry></data> 2020-09-16 22:46:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c056ec6b-74d4-4ab1-b4e4-3a61741d40b7</value></item-id></result> 2020-09-16 22:46:22 | contains: true 2020-09-16 22:46:22 | [Mutex] waiting for: [user_regular617cx80202@test-domain.com:message:received:content_f4w5zy0205] 2020-09-16 22:46:37 | [Mutex] timeout. Not received [user_regular617cx80202@test-domain.com:message:received:content_f4w5zy0205] 2020-09-16 22:46:37 | [Mutex] isItemNotified: user_regular617cx80202@test-domain.com:message:received:content_f4w5zy0205 :: false 2020-09-16 22:46:37 | ===== publishing normal message (to offline) 2020-09-16 22:46:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:37 | command: <data><node>node_ar9kf70203</node><entry><content>content_j051k70206</content></entry></data> 2020-09-16 22:46:37 | target: http://localhost:8088 2020-09-16 22:46:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-16 22:46:37 | entity: <data><node>node_ar9kf70203</node><entry><content>content_j051k70206</content></entry></data> 2020-09-16 22:46:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dad8fd4e-2300-4f72-86d7-156cabf2166c</value></item-id></result> 2020-09-16 22:46:37 | contains: true 2020-09-16 22:46:42 | [Mutex] waiting for: [user_regular617cx80202@test-domain.com:message:received:content_j051k70206] 2020-09-16 22:46:42 | [Mutex] received everything. 2020-09-16 22:46:42 | [Mutex] isItemNotified: user_regular617cx80202@test-domain.com:message:received:content_j051k70206 :: true 2020-09-16 22:46:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-16 22:46:42 | [Mutex] received everything. 2020-09-16 22:46:42 | [Mutex] isItemNotified: node_ar9kf70203:subscribe_node:success :: true 2020-09-16 22:46:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:42 | command: <data><node>node_ar9kf70203</node><expire-at>2020-09-17T05:46:47Z</expire-at><entry><content>content_56d50f0207</content></entry></data> 2020-09-16 22:46:42 | target: http://localhost:8088 2020-09-16 22:46:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-16 22:46:42 | entity: <data><node>node_ar9kf70203</node><expire-at>2020-09-17T05:46:47Z</expire-at><entry><content>content_56d50f0207</content></entry></data> 2020-09-16 22:46:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ec52b6dc-cf01-41ef-bf72-47c06a804749</value></item-id></result> 2020-09-16 22:46:42 | contains: true 2020-09-16 22:46:50 | [Mutex] waiting for: [user_regular617cx80202@test-domain.com:message:received:content_56d50f0207] 2020-09-16 22:47:05 | [Mutex] timeout. Not received [user_regular617cx80202@test-domain.com:message:received:content_56d50f0207] 2020-09-16 22:47:05 | [Mutex] received everything. 2020-09-16 22:47:05 | [Mutex] isItemNotified: user_regular617cx80202@test-domain.com:message:received:content_56d50f0207 :: false 2020-09-16 22:47:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_56d50f0207 :: true |