Test duration : 45.945s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.757s |
2020-12-28 21:29:20 |
2020-12-28 21:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-28 21:29:20 | ------------------------------------ 2020-12-28 21:29:20 | [Mutex] isItemNotified: node_vetwa80203:exists :: false 2020-12-28 21:29:20 | [Mutex] waiting for: [node_vetwa80203:create_node] 2020-12-28 21:29:20 | [Mutex] received everything. 2020-12-28 21:29:20 | [Mutex] isItemNotified: node_vetwa80203:create_node:success :: true 2020-12-28 21:29:20 | [Mutex] waiting for: [node_vetwa80203:subscribe_node] 2020-12-28 21:29:20 | [Mutex] waiting for: [node_vetwa80203:subscribe_node] 2020-12-28 21:29:20 | [Mutex] received everything. 2020-12-28 21:29:20 | [Mutex] isItemNotified: node_vetwa80203:subscribe_node:success :: true 2020-12-28 21:29:20 | ===== publishing normal message (to online) 2020-12-28 21:29:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:29:20 | command: <data><node>node_vetwa80203</node><entry><content>content_6ripm80204</content></entry></data> 2020-12-28 21:29:20 | target: http://localhost:8088 2020-12-28 21:29:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-28 21:29:20 | entity: <data><node>node_vetwa80203</node><entry><content>content_6ripm80204</content></entry></data> 2020-12-28 21:29:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:29:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:29:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2d3008cd-36de-43d0-8d16-338e1644126a</value></item-id></result> 2020-12-28 21:29:20 | contains: true 2020-12-28 21:29:20 | [Mutex] waiting for: [user_regularvfwr6y0202@test-domain.com:message:received:content_6ripm80204] 2020-12-28 21:29:20 | [Mutex] received everything. 2020-12-28 21:29:20 | [Mutex] isItemNotified: user_regularvfwr6y0202@test-domain.com:message:received:content_6ripm80204 :: true 2020-12-28 21:29:20 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-28 21:29:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:29:20 | command: <data><node>node_vetwa80203</node><expire-at>2020-12-29T05:29:15Z</expire-at><entry><content>content_2h17dz0205</content></entry></data> 2020-12-28 21:29:20 | target: http://localhost:8088 2020-12-28 21:29:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-28 21:29:20 | entity: <data><node>node_vetwa80203</node><expire-at>2020-12-29T05:29:15Z</expire-at><entry><content>content_2h17dz0205</content></entry></data> 2020-12-28 21:29:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:29:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:29:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2dc596ec-ca1a-42fd-a75b-6cc48a1a8508</value></item-id></result> 2020-12-28 21:29:20 | contains: true 2020-12-28 21:29:20 | [Mutex] waiting for: [user_regularvfwr6y0202@test-domain.com:message:received:content_2h17dz0205] 2020-12-28 21:29:35 | [Mutex] timeout. Not received [user_regularvfwr6y0202@test-domain.com:message:received:content_2h17dz0205] 2020-12-28 21:29:35 | [Mutex] isItemNotified: user_regularvfwr6y0202@test-domain.com:message:received:content_2h17dz0205 :: false 2020-12-28 21:29:35 | ===== publishing normal message (to offline) 2020-12-28 21:29:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:29:35 | command: <data><node>node_vetwa80203</node><entry><content>content_rxdggb0206</content></entry></data> 2020-12-28 21:29:35 | target: http://localhost:8088 2020-12-28 21:29:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-28 21:29:35 | entity: <data><node>node_vetwa80203</node><entry><content>content_rxdggb0206</content></entry></data> 2020-12-28 21:29:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:29:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:29:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5cc6441b-d48d-4ef4-af80-fd51932dce68</value></item-id></result> 2020-12-28 21:29:36 | contains: true 2020-12-28 21:29:41 | [Mutex] received everything. 2020-12-28 21:29:41 | [Mutex] isItemNotified: user_regularvfwr6y0202@test-domain.com:message:received:content_rxdggb0206 :: true 2020-12-28 21:29:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-28 21:29:41 | [Mutex] received everything. 2020-12-28 21:29:41 | [Mutex] isItemNotified: node_vetwa80203:subscribe_node:success :: true 2020-12-28 21:29:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:29:41 | command: <data><node>node_vetwa80203</node><expire-at>2020-12-29T05:29:46Z</expire-at><entry><content>content_as6u0c0207</content></entry></data> 2020-12-28 21:29:41 | target: http://localhost:8088 2020-12-28 21:29:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-28 21:29:41 | entity: <data><node>node_vetwa80203</node><expire-at>2020-12-29T05:29:46Z</expire-at><entry><content>content_as6u0c0207</content></entry></data> 2020-12-28 21:29:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:29:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:29:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f08a02e2-16b5-49d2-a35f-afaddb90dcf6</value></item-id></result> 2020-12-28 21:29:41 | contains: true 2020-12-28 21:29:49 | [Mutex] waiting for: [user_regularvfwr6y0202@test-domain.com:message:received:content_as6u0c0207] 2020-12-28 21:30:04 | [Mutex] timeout. Not received [user_regularvfwr6y0202@test-domain.com:message:received:content_as6u0c0207] 2020-12-28 21:30:04 | [Mutex] received everything. 2020-12-28 21:30:04 | [Mutex] isItemNotified: user_regularvfwr6y0202@test-domain.com:message:received:content_as6u0c0207 :: false 2020-12-28 21:30:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_as6u0c0207 :: true |