Test duration : 45.326s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.654s |
2021-09-13 22:32:42 |
2021-09-13 22:32:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-13 22:32:42 | ------------------------------------ 2021-09-13 22:32:42 | [Mutex] isItemNotified: node_6vfyvy0203:exists :: false 2021-09-13 22:32:42 | [Mutex] waiting for: [node_6vfyvy0203:create_node] 2021-09-13 22:32:42 | [Mutex] received everything. 2021-09-13 22:32:42 | [Mutex] isItemNotified: node_6vfyvy0203:create_node:success :: true 2021-09-13 22:32:42 | [Mutex] waiting for: [node_6vfyvy0203:subscribe_node] 2021-09-13 22:32:42 | [Mutex] received everything. 2021-09-13 22:32:42 | [Mutex] isItemNotified: node_6vfyvy0203:subscribe_node:success :: true 2021-09-13 22:32:42 | ===== publishing normal message (to online) 2021-09-13 22:32:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:32:42 | command: <data><node>node_6vfyvy0203</node><entry><content>content_tgbmut0204</content></entry></data> 2021-09-13 22:32:42 | target: http://localhost:8088 2021-09-13 22:32:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 22:32:42 | entity: <data><node>node_6vfyvy0203</node><entry><content>content_tgbmut0204</content></entry></data> 2021-09-13 22:32:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:32:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:32:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2578836b-7e51-49e0-87c4-027bdb31433d</value></item-id></result> 2021-09-13 22:32:42 | contains: true 2021-09-13 22:32:42 | [Mutex] received everything. 2021-09-13 22:32:42 | [Mutex] isItemNotified: user_regulara2di5t0202@test-domain.com:message:received:content_tgbmut0204 :: true 2021-09-13 22:32:42 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-13 22:32:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:32:42 | command: <data><node>node_6vfyvy0203</node><expire-at>2021-09-14T05:32:37Z</expire-at><entry><content>content_b4uueu0205</content></entry></data> 2021-09-13 22:32:42 | target: http://localhost:8088 2021-09-13 22:32:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 22:32:42 | entity: <data><node>node_6vfyvy0203</node><expire-at>2021-09-14T05:32:37Z</expire-at><entry><content>content_b4uueu0205</content></entry></data> 2021-09-13 22:32:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:32:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:32:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea193147-3bcb-4693-a0bc-58ab674c6d19</value></item-id></result> 2021-09-13 22:32:42 | contains: true 2021-09-13 22:32:42 | [Mutex] waiting for: [user_regulara2di5t0202@test-domain.com:message:received:content_b4uueu0205] 2021-09-13 22:32:57 | [Mutex] timeout. Not received [user_regulara2di5t0202@test-domain.com:message:received:content_b4uueu0205] 2021-09-13 22:32:57 | [Mutex] isItemNotified: user_regulara2di5t0202@test-domain.com:message:received:content_b4uueu0205 :: false 2021-09-13 22:32:57 | ===== publishing normal message (to offline) 2021-09-13 22:32:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:32:57 | command: <data><node>node_6vfyvy0203</node><entry><content>content_s96fe70206</content></entry></data> 2021-09-13 22:32:57 | target: http://localhost:8088 2021-09-13 22:32:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 22:32:57 | entity: <data><node>node_6vfyvy0203</node><entry><content>content_s96fe70206</content></entry></data> 2021-09-13 22:32:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:32:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:32:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdb71e89-bb65-4aa8-9fcb-09464c81e17c</value></item-id></result> 2021-09-13 22:32:57 | contains: true 2021-09-13 22:33:02 | [Mutex] waiting for: [user_regulara2di5t0202@test-domain.com:message:received:content_s96fe70206] 2021-09-13 22:33:02 | [Mutex] waiting for: [user_regulara2di5t0202@test-domain.com:message:received:content_s96fe70206] 2021-09-13 22:33:02 | [Mutex] received everything. 2021-09-13 22:33:02 | [Mutex] isItemNotified: user_regulara2di5t0202@test-domain.com:message:received:content_s96fe70206 :: true 2021-09-13 22:33:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-13 22:33:02 | [Mutex] received everything. 2021-09-13 22:33:02 | [Mutex] isItemNotified: node_6vfyvy0203:subscribe_node:success :: true 2021-09-13 22:33:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:33:02 | command: <data><node>node_6vfyvy0203</node><expire-at>2021-09-14T05:33:07Z</expire-at><entry><content>content_vb535h0207</content></entry></data> 2021-09-13 22:33:02 | target: http://localhost:8088 2021-09-13 22:33:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 22:33:02 | entity: <data><node>node_6vfyvy0203</node><expire-at>2021-09-14T05:33:07Z</expire-at><entry><content>content_vb535h0207</content></entry></data> 2021-09-13 22:33:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:33:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:33:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a9ec959-02e6-4ac6-a2b9-05c578ceb50e</value></item-id></result> 2021-09-13 22:33:02 | contains: true 2021-09-13 22:33:10 | [Mutex] waiting for: [user_regulara2di5t0202@test-domain.com:message:received:content_vb535h0207] 2021-09-13 22:33:25 | [Mutex] timeout. Not received [user_regulara2di5t0202@test-domain.com:message:received:content_vb535h0207] 2021-09-13 22:33:25 | [Mutex] received everything. 2021-09-13 22:33:25 | [Mutex] isItemNotified: user_regulara2di5t0202@test-domain.com:message:received:content_vb535h0207 :: false 2021-09-13 22:33:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vb535h0207 :: true |