Test duration : 45.451s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.662s |
2022-01-19 21:58:50 |
2022-01-19 21:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-01-19 21:58:50 | ------------------------------------ 2022-01-19 21:58:50 | [Mutex] isItemNotified: node_hubwm90203:exists :: false 2022-01-19 21:58:50 | [Mutex] waiting for: [node_hubwm90203:create_node] 2022-01-19 21:58:50 | [Mutex] received everything. 2022-01-19 21:58:50 | [Mutex] isItemNotified: node_hubwm90203:create_node:success :: true 2022-01-19 21:58:50 | [Mutex] waiting for: [node_hubwm90203:subscribe_node] 2022-01-19 21:58:50 | [Mutex] waiting for: [node_hubwm90203:subscribe_node] 2022-01-19 21:58:50 | [Mutex] received everything. 2022-01-19 21:58:50 | [Mutex] isItemNotified: node_hubwm90203:subscribe_node:success :: true 2022-01-19 21:58:50 | ===== publishing normal message (to online) 2022-01-19 21:58:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 21:58:50 | command: <data><node>node_hubwm90203</node><entry><content>content_nyl59b0204</content></entry></data> 2022-01-19 21:58:50 | target: http://localhost:8088 2022-01-19 21:58:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-19 21:58:50 | entity: <data><node>node_hubwm90203</node><entry><content>content_nyl59b0204</content></entry></data> 2022-01-19 21:58:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:58:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 21:58:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c10fb557-5b44-465b-b35b-fa03d5824f74</value></item-id></result> 2022-01-19 21:58:51 | contains: true 2022-01-19 21:58:51 | [Mutex] received everything. 2022-01-19 21:58:51 | [Mutex] isItemNotified: user_regularv8ek230202@test-domain.com:message:received:content_nyl59b0204 :: true 2022-01-19 21:58:51 | ===== publishing already old message - expecting message being filtered out (to online) 2022-01-19 21:58:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 21:58:51 | command: <data><node>node_hubwm90203</node><expire-at>2022-01-20T05:58:46Z</expire-at><entry><content>content_pvhlj20205</content></entry></data> 2022-01-19 21:58:51 | target: http://localhost:8088 2022-01-19 21:58:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-19 21:58:51 | entity: <data><node>node_hubwm90203</node><expire-at>2022-01-20T05:58:46Z</expire-at><entry><content>content_pvhlj20205</content></entry></data> 2022-01-19 21:58:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:58:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 21:58:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7378bbad-05f7-404e-a961-1228ec6fcb7b</value></item-id></result> 2022-01-19 21:58:51 | contains: true 2022-01-19 21:58:51 | [Mutex] waiting for: [user_regularv8ek230202@test-domain.com:message:received:content_pvhlj20205] 2022-01-19 21:59:06 | [Mutex] timeout. Not received [user_regularv8ek230202@test-domain.com:message:received:content_pvhlj20205] 2022-01-19 21:59:06 | [Mutex] isItemNotified: user_regularv8ek230202@test-domain.com:message:received:content_pvhlj20205 :: false 2022-01-19 21:59:06 | ===== publishing normal message (to offline) 2022-01-19 21:59:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 21:59:06 | command: <data><node>node_hubwm90203</node><entry><content>content_6wj6o80206</content></entry></data> 2022-01-19 21:59:06 | target: http://localhost:8088 2022-01-19 21:59:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-19 21:59:06 | entity: <data><node>node_hubwm90203</node><entry><content>content_6wj6o80206</content></entry></data> 2022-01-19 21:59:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:59:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 21:59:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bdc5ecc5-640f-4a96-a3ff-bc6ed858c4a9</value></item-id></result> 2022-01-19 21:59:06 | contains: true 2022-01-19 21:59:11 | [Mutex] waiting for: [user_regularv8ek230202@test-domain.com:message:received:content_6wj6o80206] 2022-01-19 21:59:11 | [Mutex] waiting for: [user_regularv8ek230202@test-domain.com:message:received:content_6wj6o80206] 2022-01-19 21:59:11 | [Mutex] received everything. 2022-01-19 21:59:11 | [Mutex] isItemNotified: user_regularv8ek230202@test-domain.com:message:received:content_6wj6o80206 :: true 2022-01-19 21:59:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-01-19 21:59:11 | [Mutex] received everything. 2022-01-19 21:59:11 | [Mutex] isItemNotified: node_hubwm90203:subscribe_node:success :: true 2022-01-19 21:59:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 21:59:11 | command: <data><node>node_hubwm90203</node><expire-at>2022-01-20T05:59:16Z</expire-at><entry><content>content_71tw5q0207</content></entry></data> 2022-01-19 21:59:11 | target: http://localhost:8088 2022-01-19 21:59:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-19 21:59:11 | entity: <data><node>node_hubwm90203</node><expire-at>2022-01-20T05:59:16Z</expire-at><entry><content>content_71tw5q0207</content></entry></data> 2022-01-19 21:59:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:59:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 21:59:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c2a36ee6-a951-406f-9e88-81c60a4b42f8</value></item-id></result> 2022-01-19 21:59:11 | contains: true 2022-01-19 21:59:19 | [Mutex] waiting for: [user_regularv8ek230202@test-domain.com:message:received:content_71tw5q0207] 2022-01-19 21:59:34 | [Mutex] timeout. Not received [user_regularv8ek230202@test-domain.com:message:received:content_71tw5q0207] 2022-01-19 21:59:34 | [Mutex] received everything. 2022-01-19 21:59:34 | [Mutex] isItemNotified: user_regularv8ek230202@test-domain.com:message:received:content_71tw5q0207 :: false 2022-01-19 21:59:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_71tw5q0207 :: true |