Test duration : 45.231s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.767s |
2020-09-09 22:58:08 |
2020-09-09 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 22:58:08 | ------------------------------------ 2020-09-09 22:58:08 | [Mutex] isItemNotified: node_370wbt0203:exists :: false 2020-09-09 22:58:08 | [Mutex] waiting for: [node_370wbt0203:create_node] 2020-09-09 22:58:08 | [Mutex] received everything. 2020-09-09 22:58:08 | [Mutex] isItemNotified: node_370wbt0203:create_node:success :: true 2020-09-09 22:58:08 | [Mutex] waiting for: [node_370wbt0203:subscribe_node] 2020-09-09 22:58:08 | [Mutex] received everything. 2020-09-09 22:58:08 | [Mutex] isItemNotified: node_370wbt0203:subscribe_node:success :: true 2020-09-09 22:58:08 | ===== publishing normal message (to online) 2020-09-09 22:58:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:58:08 | command: <data><node>node_370wbt0203</node><entry><content>content_kl1euk0204</content></entry></data> 2020-09-09 22:58:08 | target: http://localhost:8088 2020-09-09 22:58:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 22:58:08 | entity: <data><node>node_370wbt0203</node><entry><content>content_kl1euk0204</content></entry></data> 2020-09-09 22:58:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:58:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:58:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f0e5d364-154c-415e-b800-c41fc12580ea</value></item-id></result> 2020-09-09 22:58:08 | contains: true 2020-09-09 22:58:08 | [Mutex] received everything. 2020-09-09 22:58:08 | [Mutex] isItemNotified: user_regular2372l70202@test-domain.com:message:received:content_kl1euk0204 :: true 2020-09-09 22:58:08 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 22:58:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:58:08 | command: <data><node>node_370wbt0203</node><expire-at>2020-09-10T05:58:03Z</expire-at><entry><content>content_xgvl3c0205</content></entry></data> 2020-09-09 22:58:08 | target: http://localhost:8088 2020-09-09 22:58:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 22:58:08 | entity: <data><node>node_370wbt0203</node><expire-at>2020-09-10T05:58:03Z</expire-at><entry><content>content_xgvl3c0205</content></entry></data> 2020-09-09 22:58:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:58:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:58:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3582542c-82fc-4bdd-987e-7e0b790bc93e</value></item-id></result> 2020-09-09 22:58:08 | contains: true 2020-09-09 22:58:08 | [Mutex] waiting for: [user_regular2372l70202@test-domain.com:message:received:content_xgvl3c0205] 2020-09-09 22:58:23 | [Mutex] timeout. Not received [user_regular2372l70202@test-domain.com:message:received:content_xgvl3c0205] 2020-09-09 22:58:23 | [Mutex] isItemNotified: user_regular2372l70202@test-domain.com:message:received:content_xgvl3c0205 :: false 2020-09-09 22:58:23 | ===== publishing normal message (to offline) 2020-09-09 22:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:58:23 | command: <data><node>node_370wbt0203</node><entry><content>content_s3qvzz0206</content></entry></data> 2020-09-09 22:58:23 | target: http://localhost:8088 2020-09-09 22:58:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 22:58:23 | entity: <data><node>node_370wbt0203</node><entry><content>content_s3qvzz0206</content></entry></data> 2020-09-09 22:58:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:58:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:58:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71192a13-d55a-4656-b304-1c6659307e3d</value></item-id></result> 2020-09-09 22:58:24 | contains: true 2020-09-09 22:58:29 | [Mutex] waiting for: [user_regular2372l70202@test-domain.com:message:received:content_s3qvzz0206] 2020-09-09 22:58:29 | [Mutex] received everything. 2020-09-09 22:58:29 | [Mutex] isItemNotified: user_regular2372l70202@test-domain.com:message:received:content_s3qvzz0206 :: true 2020-09-09 22:58:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 22:58:29 | [Mutex] received everything. 2020-09-09 22:58:29 | [Mutex] isItemNotified: node_370wbt0203:subscribe_node:success :: true 2020-09-09 22:58:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:58:29 | command: <data><node>node_370wbt0203</node><expire-at>2020-09-10T05:58:34Z</expire-at><entry><content>content_6bx4500207</content></entry></data> 2020-09-09 22:58:29 | target: http://localhost:8088 2020-09-09 22:58:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 22:58:29 | entity: <data><node>node_370wbt0203</node><expire-at>2020-09-10T05:58:34Z</expire-at><entry><content>content_6bx4500207</content></entry></data> 2020-09-09 22:58:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:58:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:58:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9062314e-a7de-43f7-ae88-6f41d2e8edd5</value></item-id></result> 2020-09-09 22:58:29 | contains: true 2020-09-09 22:58:37 | [Mutex] waiting for: [user_regular2372l70202@test-domain.com:message:received:content_6bx4500207] 2020-09-09 22:58:37 | [Mutex] waiting for: [user_regular2372l70202@test-domain.com:message:received:content_6bx4500207] 2020-09-09 22:58:52 | [Mutex] timeout. Not received [user_regular2372l70202@test-domain.com:message:received:content_6bx4500207] 2020-09-09 22:58:52 | [Mutex] received everything. 2020-09-09 22:58:52 | [Mutex] isItemNotified: user_regular2372l70202@test-domain.com:message:received:content_6bx4500207 :: false 2020-09-09 22:58:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6bx4500207 :: true |