Test duration : 45.837s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.796s |
2020-11-26 21:28:35 |
2020-11-26 21:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-26 21:28:35 | ------------------------------------ 2020-11-26 21:28:35 | [Mutex] isItemNotified: node_93an040203:exists :: false 2020-11-26 21:28:35 | [Mutex] waiting for: [node_93an040203:create_node] 2020-11-26 21:28:35 | [Mutex] received everything. 2020-11-26 21:28:35 | [Mutex] isItemNotified: node_93an040203:create_node:success :: true 2020-11-26 21:28:35 | [Mutex] waiting for: [node_93an040203:subscribe_node] 2020-11-26 21:28:35 | [Mutex] waiting for: [node_93an040203:subscribe_node] 2020-11-26 21:28:35 | [Mutex] received everything. 2020-11-26 21:28:35 | [Mutex] isItemNotified: node_93an040203:subscribe_node:success :: true 2020-11-26 21:28:35 | ===== publishing normal message (to online) 2020-11-26 21:28:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:35 | command: <data><node>node_93an040203</node><entry><content>content_4uykcq0204</content></entry></data> 2020-11-26 21:28:35 | target: http://localhost:8088 2020-11-26 21:28:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-26 21:28:35 | entity: <data><node>node_93an040203</node><entry><content>content_4uykcq0204</content></entry></data> 2020-11-26 21:28:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bac62edc-fa9c-42f4-9523-279527a92424</value></item-id></result> 2020-11-26 21:28:35 | contains: true 2020-11-26 21:28:35 | [Mutex] received everything. 2020-11-26 21:28:35 | [Mutex] isItemNotified: user_regularcxh3bn0202@test-domain.com:message:received:content_4uykcq0204 :: true 2020-11-26 21:28:35 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-26 21:28:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:35 | command: <data><node>node_93an040203</node><expire-at>2020-11-27T05:28:30Z</expire-at><entry><content>content_e6mqx40205</content></entry></data> 2020-11-26 21:28:35 | target: http://localhost:8088 2020-11-26 21:28:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:28:35 | entity: <data><node>node_93an040203</node><expire-at>2020-11-27T05:28:30Z</expire-at><entry><content>content_e6mqx40205</content></entry></data> 2020-11-26 21:28:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>384ebd79-46ac-4097-917f-956d48e1aad4</value></item-id></result> 2020-11-26 21:28:35 | contains: true 2020-11-26 21:28:35 | [Mutex] waiting for: [user_regularcxh3bn0202@test-domain.com:message:received:content_e6mqx40205] 2020-11-26 21:28:50 | [Mutex] timeout. Not received [user_regularcxh3bn0202@test-domain.com:message:received:content_e6mqx40205] 2020-11-26 21:28:50 | [Mutex] isItemNotified: user_regularcxh3bn0202@test-domain.com:message:received:content_e6mqx40205 :: false 2020-11-26 21:28:50 | ===== publishing normal message (to offline) 2020-11-26 21:28:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:50 | command: <data><node>node_93an040203</node><entry><content>content_t1p5i10206</content></entry></data> 2020-11-26 21:28:50 | target: http://localhost:8088 2020-11-26 21:28:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-26 21:28:50 | entity: <data><node>node_93an040203</node><entry><content>content_t1p5i10206</content></entry></data> 2020-11-26 21:28:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>240e53fb-6daf-4801-9927-c0e289347f9f</value></item-id></result> 2020-11-26 21:28:50 | contains: true 2020-11-26 21:28:55 | [Mutex] waiting for: [user_regularcxh3bn0202@test-domain.com:message:received:content_t1p5i10206] 2020-11-26 21:28:55 | [Mutex] waiting for: [user_regularcxh3bn0202@test-domain.com:message:received:content_t1p5i10206] 2020-11-26 21:28:55 | [Mutex] received everything. 2020-11-26 21:28:55 | [Mutex] isItemNotified: user_regularcxh3bn0202@test-domain.com:message:received:content_t1p5i10206 :: true 2020-11-26 21:28:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-26 21:28:55 | [Mutex] received everything. 2020-11-26 21:28:55 | [Mutex] isItemNotified: node_93an040203:subscribe_node:success :: true 2020-11-26 21:28:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:55 | command: <data><node>node_93an040203</node><expire-at>2020-11-27T05:29:00Z</expire-at><entry><content>content_w2w2k70207</content></entry></data> 2020-11-26 21:28:55 | target: http://localhost:8088 2020-11-26 21:28:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:28:55 | entity: <data><node>node_93an040203</node><expire-at>2020-11-27T05:29:00Z</expire-at><entry><content>content_w2w2k70207</content></entry></data> 2020-11-26 21:28:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>734b2425-5159-404b-bc5f-3abf315d9d85</value></item-id></result> 2020-11-26 21:28:55 | contains: true 2020-11-26 21:29:03 | [Mutex] waiting for: [user_regularcxh3bn0202@test-domain.com:message:received:content_w2w2k70207] 2020-11-26 21:29:18 | [Mutex] timeout. Not received [user_regularcxh3bn0202@test-domain.com:message:received:content_w2w2k70207] 2020-11-26 21:29:18 | [Mutex] received everything. 2020-11-26 21:29:18 | [Mutex] isItemNotified: user_regularcxh3bn0202@test-domain.com:message:received:content_w2w2k70207 :: false 2020-11-26 21:29:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w2w2k70207 :: true |