Test duration : 45.655s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.842s |
2020-11-19 21:34:31 |
2020-11-19 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-19 21:34:31 | ------------------------------------ 2020-11-19 21:34:31 | [Mutex] isItemNotified: node_h7h4jk0203:exists :: false 2020-11-19 21:34:31 | [Mutex] waiting for: [node_h7h4jk0203:create_node] 2020-11-19 21:34:31 | [Mutex] received everything. 2020-11-19 21:34:31 | [Mutex] isItemNotified: node_h7h4jk0203:create_node:success :: true 2020-11-19 21:34:31 | [Mutex] waiting for: [node_h7h4jk0203:subscribe_node] 2020-11-19 21:34:31 | [Mutex] waiting for: [node_h7h4jk0203:subscribe_node] 2020-11-19 21:34:31 | [Mutex] received everything. 2020-11-19 21:34:31 | [Mutex] isItemNotified: node_h7h4jk0203:subscribe_node:success :: true 2020-11-19 21:34:31 | ===== publishing normal message (to online) 2020-11-19 21:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:34:31 | command: <data><node>node_h7h4jk0203</node><entry><content>content_nn4v7q0204</content></entry></data> 2020-11-19 21:34:31 | target: http://localhost:8088 2020-11-19 21:34:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-19 21:34:31 | entity: <data><node>node_h7h4jk0203</node><entry><content>content_nn4v7q0204</content></entry></data> 2020-11-19 21:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85cfc8c1-7a6b-4156-ad62-c095a881d930</value></item-id></result> 2020-11-19 21:34:31 | contains: true 2020-11-19 21:34:31 | [Mutex] received everything. 2020-11-19 21:34:31 | [Mutex] isItemNotified: user_regulari42gyt0202@test-domain.com:message:received:content_nn4v7q0204 :: true 2020-11-19 21:34:31 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-19 21:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:34:31 | command: <data><node>node_h7h4jk0203</node><expire-at>2020-11-20T05:34:26Z</expire-at><entry><content>content_9wjdez0205</content></entry></data> 2020-11-19 21:34:31 | target: http://localhost:8088 2020-11-19 21:34:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 21:34:31 | entity: <data><node>node_h7h4jk0203</node><expire-at>2020-11-20T05:34:26Z</expire-at><entry><content>content_9wjdez0205</content></entry></data> 2020-11-19 21:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f7cc69d-ff48-4a95-86fa-2e1b39f9f7a7</value></item-id></result> 2020-11-19 21:34:31 | contains: true 2020-11-19 21:34:31 | [Mutex] waiting for: [user_regulari42gyt0202@test-domain.com:message:received:content_9wjdez0205] 2020-11-19 21:34:46 | [Mutex] timeout. Not received [user_regulari42gyt0202@test-domain.com:message:received:content_9wjdez0205] 2020-11-19 21:34:46 | [Mutex] isItemNotified: user_regulari42gyt0202@test-domain.com:message:received:content_9wjdez0205 :: false 2020-11-19 21:34:46 | ===== publishing normal message (to offline) 2020-11-19 21:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:34:46 | command: <data><node>node_h7h4jk0203</node><entry><content>content_arzj5d0206</content></entry></data> 2020-11-19 21:34:46 | target: http://localhost:8088 2020-11-19 21:34:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-19 21:34:46 | entity: <data><node>node_h7h4jk0203</node><entry><content>content_arzj5d0206</content></entry></data> 2020-11-19 21:34:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:34:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5d3a3777-3201-47c3-9612-4a4b98c7cb76</value></item-id></result> 2020-11-19 21:34:46 | contains: true 2020-11-19 21:34:51 | [Mutex] waiting for: [user_regulari42gyt0202@test-domain.com:message:received:content_arzj5d0206] 2020-11-19 21:34:51 | [Mutex] received everything. 2020-11-19 21:34:51 | [Mutex] isItemNotified: user_regulari42gyt0202@test-domain.com:message:received:content_arzj5d0206 :: true 2020-11-19 21:34:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-19 21:34:51 | [Mutex] received everything. 2020-11-19 21:34:51 | [Mutex] isItemNotified: node_h7h4jk0203:subscribe_node:success :: true 2020-11-19 21:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:34:51 | command: <data><node>node_h7h4jk0203</node><expire-at>2020-11-20T05:34:56Z</expire-at><entry><content>content_mw69w70207</content></entry></data> 2020-11-19 21:34:51 | target: http://localhost:8088 2020-11-19 21:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 21:34:51 | entity: <data><node>node_h7h4jk0203</node><expire-at>2020-11-20T05:34:56Z</expire-at><entry><content>content_mw69w70207</content></entry></data> 2020-11-19 21:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b191550-0e9f-4edb-9a84-514ce2fa43c9</value></item-id></result> 2020-11-19 21:34:51 | contains: true 2020-11-19 21:35:00 | [Mutex] waiting for: [user_regulari42gyt0202@test-domain.com:message:received:content_mw69w70207] 2020-11-19 21:35:00 | [Mutex] waiting for: [user_regulari42gyt0202@test-domain.com:message:received:content_mw69w70207] 2020-11-19 21:35:00 | [Mutex] waiting for: [user_regulari42gyt0202@test-domain.com:message:received:content_mw69w70207] 2020-11-19 21:35:15 | [Mutex] timeout. Not received [user_regulari42gyt0202@test-domain.com:message:received:content_mw69w70207] 2020-11-19 21:35:15 | [Mutex] received everything. 2020-11-19 21:35:15 | [Mutex] isItemNotified: user_regulari42gyt0202@test-domain.com:message:received:content_mw69w70207 :: false 2020-11-19 21:35:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mw69w70207 :: true |