Test duration : 45.518s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.764s |
2020-09-20 22:39:23 |
2020-09-20 22:39:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-20 22:39:23 | ------------------------------------ 2020-09-20 22:39:23 | [Mutex] isItemNotified: node_riq1bk0203:exists :: false 2020-09-20 22:39:23 | [Mutex] waiting for: [node_riq1bk0203:create_node] 2020-09-20 22:39:23 | [Mutex] received everything. 2020-09-20 22:39:23 | [Mutex] isItemNotified: node_riq1bk0203:create_node:success :: true 2020-09-20 22:39:23 | [Mutex] waiting for: [node_riq1bk0203:subscribe_node] 2020-09-20 22:39:23 | [Mutex] waiting for: [node_riq1bk0203:subscribe_node] 2020-09-20 22:39:23 | [Mutex] received everything. 2020-09-20 22:39:23 | [Mutex] isItemNotified: node_riq1bk0203:subscribe_node:success :: true 2020-09-20 22:39:23 | ===== publishing normal message (to online) 2020-09-20 22:39:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:39:23 | command: <data><node>node_riq1bk0203</node><entry><content>content_yn1esg0204</content></entry></data> 2020-09-20 22:39:23 | target: http://localhost:8088 2020-09-20 22:39:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-20 22:39:23 | entity: <data><node>node_riq1bk0203</node><entry><content>content_yn1esg0204</content></entry></data> 2020-09-20 22:39:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:39:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:39:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c7c21be1-1a4b-4269-902d-13ab61a3f3ff</value></item-id></result> 2020-09-20 22:39:23 | contains: true 2020-09-20 22:39:23 | [Mutex] received everything. 2020-09-20 22:39:23 | [Mutex] isItemNotified: user_regular4nhyno0202@test-domain.com:message:received:content_yn1esg0204 :: true 2020-09-20 22:39:23 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-20 22:39:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:39:23 | command: <data><node>node_riq1bk0203</node><expire-at>2020-09-21T05:39:18Z</expire-at><entry><content>content_x3303c0205</content></entry></data> 2020-09-20 22:39:23 | target: http://localhost:8088 2020-09-20 22:39:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-20 22:39:23 | entity: <data><node>node_riq1bk0203</node><expire-at>2020-09-21T05:39:18Z</expire-at><entry><content>content_x3303c0205</content></entry></data> 2020-09-20 22:39:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:39:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:39:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11a6cca1-81f1-4218-8096-a93cd411ce2e</value></item-id></result> 2020-09-20 22:39:23 | contains: true 2020-09-20 22:39:24 | [Mutex] waiting for: [user_regular4nhyno0202@test-domain.com:message:received:content_x3303c0205] 2020-09-20 22:39:39 | [Mutex] timeout. Not received [user_regular4nhyno0202@test-domain.com:message:received:content_x3303c0205] 2020-09-20 22:39:39 | [Mutex] isItemNotified: user_regular4nhyno0202@test-domain.com:message:received:content_x3303c0205 :: false 2020-09-20 22:39:39 | ===== publishing normal message (to offline) 2020-09-20 22:39:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:39:39 | command: <data><node>node_riq1bk0203</node><entry><content>content_aayfkm0206</content></entry></data> 2020-09-20 22:39:39 | target: http://localhost:8088 2020-09-20 22:39:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-20 22:39:39 | entity: <data><node>node_riq1bk0203</node><entry><content>content_aayfkm0206</content></entry></data> 2020-09-20 22:39:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:39:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:39:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8a3938d9-0996-496c-b44b-ee5cb93d212c</value></item-id></result> 2020-09-20 22:39:39 | contains: true 2020-09-20 22:39:44 | [Mutex] waiting for: [user_regular4nhyno0202@test-domain.com:message:received:content_aayfkm0206] 2020-09-20 22:39:44 | [Mutex] received everything. 2020-09-20 22:39:44 | [Mutex] isItemNotified: user_regular4nhyno0202@test-domain.com:message:received:content_aayfkm0206 :: true 2020-09-20 22:39:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-20 22:39:44 | [Mutex] received everything. 2020-09-20 22:39:44 | [Mutex] isItemNotified: node_riq1bk0203:subscribe_node:success :: true 2020-09-20 22:39:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:39:44 | command: <data><node>node_riq1bk0203</node><expire-at>2020-09-21T05:39:49Z</expire-at><entry><content>content_n5hr9d0207</content></entry></data> 2020-09-20 22:39:44 | target: http://localhost:8088 2020-09-20 22:39:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-20 22:39:44 | entity: <data><node>node_riq1bk0203</node><expire-at>2020-09-21T05:39:49Z</expire-at><entry><content>content_n5hr9d0207</content></entry></data> 2020-09-20 22:39:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:39:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:39:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc81b938-2090-4250-b987-f77d691cd1d2</value></item-id></result> 2020-09-20 22:39:44 | contains: true 2020-09-20 22:39:52 | [Mutex] waiting for: [user_regular4nhyno0202@test-domain.com:message:received:content_n5hr9d0207] 2020-09-20 22:40:07 | [Mutex] timeout. Not received [user_regular4nhyno0202@test-domain.com:message:received:content_n5hr9d0207] 2020-09-20 22:40:07 | [Mutex] received everything. 2020-09-20 22:40:07 | [Mutex] isItemNotified: user_regular4nhyno0202@test-domain.com:message:received:content_n5hr9d0207 :: false 2020-09-20 22:40:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n5hr9d0207 :: true |