Test duration : 45.306s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.651s |
2021-06-13 22:58:23 |
2021-06-13 22:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-13 22:58:23 | ------------------------------------ 2021-06-13 22:58:23 | [Mutex] isItemNotified: node_lgzr8r0203:exists :: false 2021-06-13 22:58:23 | [Mutex] waiting for: [node_lgzr8r0203:create_node] 2021-06-13 22:58:23 | [Mutex] received everything. 2021-06-13 22:58:23 | [Mutex] isItemNotified: node_lgzr8r0203:create_node:success :: true 2021-06-13 22:58:23 | [Mutex] waiting for: [node_lgzr8r0203:subscribe_node] 2021-06-13 22:58:23 | [Mutex] received everything. 2021-06-13 22:58:23 | [Mutex] isItemNotified: node_lgzr8r0203:subscribe_node:success :: true 2021-06-13 22:58:23 | ===== publishing normal message (to online) 2021-06-13 22:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:58:23 | command: <data><node>node_lgzr8r0203</node><entry><content>content_k6ftvd0204</content></entry></data> 2021-06-13 22:58:23 | target: http://localhost:8088 2021-06-13 22:58:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:58:23 | entity: <data><node>node_lgzr8r0203</node><entry><content>content_k6ftvd0204</content></entry></data> 2021-06-13 22:58:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:58:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:58:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6366d0b-234f-47da-9b3f-5551bdab80ad</value></item-id></result> 2021-06-13 22:58:23 | contains: true 2021-06-13 22:58:23 | [Mutex] received everything. 2021-06-13 22:58:23 | [Mutex] isItemNotified: user_regularubhw4z0202@test-domain.com:message:received:content_k6ftvd0204 :: true 2021-06-13 22:58:23 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-13 22:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:58:23 | command: <data><node>node_lgzr8r0203</node><expire-at>2021-06-14T05:58:18Z</expire-at><entry><content>content_fif8ij0205</content></entry></data> 2021-06-13 22:58:23 | target: http://localhost:8088 2021-06-13 22:58:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:58:23 | entity: <data><node>node_lgzr8r0203</node><expire-at>2021-06-14T05:58:18Z</expire-at><entry><content>content_fif8ij0205</content></entry></data> 2021-06-13 22:58:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:58:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:58:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aea67f97-4149-4238-b530-52e9e12e5277</value></item-id></result> 2021-06-13 22:58:23 | contains: true 2021-06-13 22:58:23 | [Mutex] waiting for: [user_regularubhw4z0202@test-domain.com:message:received:content_fif8ij0205] 2021-06-13 22:58:38 | [Mutex] timeout. Not received [user_regularubhw4z0202@test-domain.com:message:received:content_fif8ij0205] 2021-06-13 22:58:38 | [Mutex] isItemNotified: user_regularubhw4z0202@test-domain.com:message:received:content_fif8ij0205 :: false 2021-06-13 22:58:38 | ===== publishing normal message (to offline) 2021-06-13 22:58:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:58:38 | command: <data><node>node_lgzr8r0203</node><entry><content>content_lzz3ce0206</content></entry></data> 2021-06-13 22:58:38 | target: http://localhost:8088 2021-06-13 22:58:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-13 22:58:38 | entity: <data><node>node_lgzr8r0203</node><entry><content>content_lzz3ce0206</content></entry></data> 2021-06-13 22:58:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:58:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:58:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ae214e51-c4fc-442a-a184-9fa725079ddd</value></item-id></result> 2021-06-13 22:58:38 | contains: true 2021-06-13 22:58:43 | [Mutex] waiting for: [user_regularubhw4z0202@test-domain.com:message:received:content_lzz3ce0206] 2021-06-13 22:58:43 | [Mutex] waiting for: [user_regularubhw4z0202@test-domain.com:message:received:content_lzz3ce0206] 2021-06-13 22:58:43 | [Mutex] received everything. 2021-06-13 22:58:43 | [Mutex] isItemNotified: user_regularubhw4z0202@test-domain.com:message:received:content_lzz3ce0206 :: true 2021-06-13 22:58:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-13 22:58:43 | [Mutex] received everything. 2021-06-13 22:58:43 | [Mutex] isItemNotified: node_lgzr8r0203:subscribe_node:success :: true 2021-06-13 22:58:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-13 22:58:43 | command: <data><node>node_lgzr8r0203</node><expire-at>2021-06-14T05:58:48Z</expire-at><entry><content>content_3r8ldf0207</content></entry></data> 2021-06-13 22:58:43 | target: http://localhost:8088 2021-06-13 22:58:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-13 22:58:43 | entity: <data><node>node_lgzr8r0203</node><expire-at>2021-06-14T05:58:48Z</expire-at><entry><content>content_3r8ldf0207</content></entry></data> 2021-06-13 22:58:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 05:58:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-13 22:58:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>913f8096-be78-4d35-ac21-b4e730ee8701</value></item-id></result> 2021-06-13 22:58:43 | contains: true 2021-06-13 22:58:51 | [Mutex] waiting for: [user_regularubhw4z0202@test-domain.com:message:received:content_3r8ldf0207] 2021-06-13 22:59:06 | [Mutex] timeout. Not received [user_regularubhw4z0202@test-domain.com:message:received:content_3r8ldf0207] 2021-06-13 22:59:06 | [Mutex] received everything. 2021-06-13 22:59:06 | [Mutex] isItemNotified: user_regularubhw4z0202@test-domain.com:message:received:content_3r8ldf0207 :: false 2021-06-13 22:59:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3r8ldf0207 :: true |