Test duration : 45.739s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.749s |
2021-03-24 22:58:56 |
2021-03-24 22:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-24 22:58:56 | ------------------------------------ 2021-03-24 22:58:56 | [Mutex] isItemNotified: node_ttfwiv0203:exists :: false 2021-03-24 22:58:56 | [Mutex] waiting for: [node_ttfwiv0203:create_node] 2021-03-24 22:58:56 | [Mutex] received everything. 2021-03-24 22:58:56 | [Mutex] isItemNotified: node_ttfwiv0203:create_node:success :: true 2021-03-24 22:58:56 | [Mutex] waiting for: [node_ttfwiv0203:subscribe_node] 2021-03-24 22:58:56 | [Mutex] received everything. 2021-03-24 22:58:56 | [Mutex] isItemNotified: node_ttfwiv0203:subscribe_node:success :: true 2021-03-24 22:58:56 | ===== publishing normal message (to online) 2021-03-24 22:58:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:56 | command: <data><node>node_ttfwiv0203</node><entry><content>content_r0p7l20204</content></entry></data> 2021-03-24 22:58:56 | target: http://localhost:8088 2021-03-24 22:58:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:58:56 | entity: <data><node>node_ttfwiv0203</node><entry><content>content_r0p7l20204</content></entry></data> 2021-03-24 22:58:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0fb6608d-0e19-4b8a-9efb-d58a6db0a373</value></item-id></result> 2021-03-24 22:58:56 | contains: true 2021-03-24 22:58:56 | [Mutex] received everything. 2021-03-24 22:58:56 | [Mutex] isItemNotified: user_regularlk40gi0202@test-domain.com:message:received:content_r0p7l20204 :: true 2021-03-24 22:58:56 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-24 22:58:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:56 | command: <data><node>node_ttfwiv0203</node><expire-at>2021-03-25T05:58:51Z</expire-at><entry><content>content_rjtrd40205</content></entry></data> 2021-03-24 22:58:56 | target: http://localhost:8088 2021-03-24 22:58:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:58:56 | entity: <data><node>node_ttfwiv0203</node><expire-at>2021-03-25T05:58:51Z</expire-at><entry><content>content_rjtrd40205</content></entry></data> 2021-03-24 22:58:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7da8dd95-57e8-4891-9000-2cfd92ec72eb</value></item-id></result> 2021-03-24 22:58:56 | contains: true 2021-03-24 22:58:56 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_rjtrd40205] 2021-03-24 22:59:11 | [Mutex] timeout. Not received [user_regularlk40gi0202@test-domain.com:message:received:content_rjtrd40205] 2021-03-24 22:59:11 | [Mutex] isItemNotified: user_regularlk40gi0202@test-domain.com:message:received:content_rjtrd40205 :: false 2021-03-24 22:59:11 | ===== publishing normal message (to offline) 2021-03-24 22:59:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:59:11 | command: <data><node>node_ttfwiv0203</node><entry><content>content_ucbdpq0206</content></entry></data> 2021-03-24 22:59:11 | target: http://localhost:8088 2021-03-24 22:59:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:59:11 | entity: <data><node>node_ttfwiv0203</node><entry><content>content_ucbdpq0206</content></entry></data> 2021-03-24 22:59:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:59:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:59:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e484d51-16ac-4e6a-b4bf-c07fd9bbf797</value></item-id></result> 2021-03-24 22:59:11 | contains: true 2021-03-24 22:59:17 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_ucbdpq0206] 2021-03-24 22:59:17 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_ucbdpq0206] 2021-03-24 22:59:17 | [Mutex] received everything. 2021-03-24 22:59:17 | [Mutex] isItemNotified: user_regularlk40gi0202@test-domain.com:message:received:content_ucbdpq0206 :: true 2021-03-24 22:59:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-24 22:59:17 | [Mutex] received everything. 2021-03-24 22:59:17 | [Mutex] isItemNotified: node_ttfwiv0203:subscribe_node:success :: true 2021-03-24 22:59:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:59:17 | command: <data><node>node_ttfwiv0203</node><expire-at>2021-03-25T05:59:22Z</expire-at><entry><content>content_hj2yxa0207</content></entry></data> 2021-03-24 22:59:17 | target: http://localhost:8088 2021-03-24 22:59:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:59:17 | entity: <data><node>node_ttfwiv0203</node><expire-at>2021-03-25T05:59:22Z</expire-at><entry><content>content_hj2yxa0207</content></entry></data> 2021-03-24 22:59:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:59:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:59:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>656a0c54-aff4-4f11-8fda-dfc51a04ceae</value></item-id></result> 2021-03-24 22:59:17 | contains: true 2021-03-24 22:59:25 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_hj2yxa0207] 2021-03-24 22:59:25 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_hj2yxa0207] 2021-03-24 22:59:25 | [Mutex] waiting for: [user_regularlk40gi0202@test-domain.com:message:received:content_hj2yxa0207] 2021-03-24 22:59:40 | [Mutex] timeout. Not received [user_regularlk40gi0202@test-domain.com:message:received:content_hj2yxa0207] 2021-03-24 22:59:40 | [Mutex] received everything. 2021-03-24 22:59:40 | [Mutex] isItemNotified: user_regularlk40gi0202@test-domain.com:message:received:content_hj2yxa0207 :: false 2021-03-24 22:59:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hj2yxa0207 :: true |