Test duration : 45.229s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.805s |
2020-08-28 22:51:16 |
2020-08-28 22:51:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-28 22:51:16 | ------------------------------------ 2020-08-28 22:51:16 | [Mutex] isItemNotified: node_wfs4pn0203:exists :: false 2020-08-28 22:51:16 | [Mutex] waiting for: [node_wfs4pn0203:create_node] 2020-08-28 22:51:16 | [Mutex] received everything. 2020-08-28 22:51:16 | [Mutex] isItemNotified: node_wfs4pn0203:create_node:success :: true 2020-08-28 22:51:16 | [Mutex] waiting for: [node_wfs4pn0203:subscribe_node] 2020-08-28 22:51:16 | [Mutex] received everything. 2020-08-28 22:51:16 | [Mutex] isItemNotified: node_wfs4pn0203:subscribe_node:success :: true 2020-08-28 22:51:16 | ===== publishing normal message (to online) 2020-08-28 22:51:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:51:16 | command: <data><node>node_wfs4pn0203</node><entry><content>content_aqqc5s0204</content></entry></data> 2020-08-28 22:51:16 | target: http://localhost:8088 2020-08-28 22:51:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 22:51:16 | entity: <data><node>node_wfs4pn0203</node><entry><content>content_aqqc5s0204</content></entry></data> 2020-08-28 22:51:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:51:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:51:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>818996d0-06f9-4a28-b135-bcef14498fbd</value></item-id></result> 2020-08-28 22:51:16 | contains: true 2020-08-28 22:51:16 | [Mutex] received everything. 2020-08-28 22:51:16 | [Mutex] isItemNotified: user_regular9xwae00202@test-domain.com:message:received:content_aqqc5s0204 :: true 2020-08-28 22:51:16 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-28 22:51:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:51:16 | command: <data><node>node_wfs4pn0203</node><expire-at>2020-08-29T05:51:11Z</expire-at><entry><content>content_yhqcgw0205</content></entry></data> 2020-08-28 22:51:16 | target: http://localhost:8088 2020-08-28 22:51:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 22:51:16 | entity: <data><node>node_wfs4pn0203</node><expire-at>2020-08-29T05:51:11Z</expire-at><entry><content>content_yhqcgw0205</content></entry></data> 2020-08-28 22:51:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:51:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:51:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a62383bf-b801-472f-a07b-baab2dc26b4e</value></item-id></result> 2020-08-28 22:51:17 | contains: true 2020-08-28 22:51:17 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_yhqcgw0205] 2020-08-28 22:51:32 | [Mutex] timeout. Not received [user_regular9xwae00202@test-domain.com:message:received:content_yhqcgw0205] 2020-08-28 22:51:32 | [Mutex] isItemNotified: user_regular9xwae00202@test-domain.com:message:received:content_yhqcgw0205 :: false 2020-08-28 22:51:32 | ===== publishing normal message (to offline) 2020-08-28 22:51:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:51:32 | command: <data><node>node_wfs4pn0203</node><entry><content>content_mqdyod0206</content></entry></data> 2020-08-28 22:51:32 | target: http://localhost:8088 2020-08-28 22:51:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 22:51:32 | entity: <data><node>node_wfs4pn0203</node><entry><content>content_mqdyod0206</content></entry></data> 2020-08-28 22:51:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:51:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:51:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a3b0b82-e87a-44f2-8c42-cd32e62b900d</value></item-id></result> 2020-08-28 22:51:32 | contains: true 2020-08-28 22:51:37 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_mqdyod0206] 2020-08-28 22:51:37 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_mqdyod0206] 2020-08-28 22:51:37 | [Mutex] received everything. 2020-08-28 22:51:37 | [Mutex] isItemNotified: user_regular9xwae00202@test-domain.com:message:received:content_mqdyod0206 :: true 2020-08-28 22:51:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-28 22:51:37 | [Mutex] received everything. 2020-08-28 22:51:37 | [Mutex] isItemNotified: node_wfs4pn0203:subscribe_node:success :: true 2020-08-28 22:51:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:51:37 | command: <data><node>node_wfs4pn0203</node><expire-at>2020-08-29T05:51:42Z</expire-at><entry><content>content_p260yl0207</content></entry></data> 2020-08-28 22:51:37 | target: http://localhost:8088 2020-08-28 22:51:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 22:51:37 | entity: <data><node>node_wfs4pn0203</node><expire-at>2020-08-29T05:51:42Z</expire-at><entry><content>content_p260yl0207</content></entry></data> 2020-08-28 22:51:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:51:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:51:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1c547b6-d69d-4731-9f6f-2acced2dda7b</value></item-id></result> 2020-08-28 22:51:37 | contains: true 2020-08-28 22:51:45 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_p260yl0207] 2020-08-28 22:51:45 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_p260yl0207] 2020-08-28 22:51:45 | [Mutex] waiting for: [user_regular9xwae00202@test-domain.com:message:received:content_p260yl0207] 2020-08-28 22:52:00 | [Mutex] timeout. Not received [user_regular9xwae00202@test-domain.com:message:received:content_p260yl0207] 2020-08-28 22:52:00 | [Mutex] received everything. 2020-08-28 22:52:00 | [Mutex] isItemNotified: user_regular9xwae00202@test-domain.com:message:received:content_p260yl0207 :: false 2020-08-28 22:52:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p260yl0207 :: true |