Test duration : 45.631s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.725s |
2021-04-06 22:37:16 |
2021-04-06 22:37:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-06 22:37:16 | ------------------------------------ 2021-04-06 22:37:16 | [Mutex] isItemNotified: node_sq581p0203:exists :: false 2021-04-06 22:37:16 | [Mutex] waiting for: [node_sq581p0203:create_node] 2021-04-06 22:37:16 | [Mutex] received everything. 2021-04-06 22:37:16 | [Mutex] isItemNotified: node_sq581p0203:create_node:success :: true 2021-04-06 22:37:16 | [Mutex] waiting for: [node_sq581p0203:subscribe_node] 2021-04-06 22:37:16 | [Mutex] waiting for: [node_sq581p0203:subscribe_node] 2021-04-06 22:37:16 | [Mutex] received everything. 2021-04-06 22:37:16 | [Mutex] isItemNotified: node_sq581p0203:subscribe_node:success :: true 2021-04-06 22:37:16 | ===== publishing normal message (to online) 2021-04-06 22:37:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-06 22:37:16 | command: <data><node>node_sq581p0203</node><entry><content>content_sfowh90204</content></entry></data> 2021-04-06 22:37:16 | target: http://localhost:8088 2021-04-06 22:37:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-06 22:37:16 | entity: <data><node>node_sq581p0203</node><entry><content>content_sfowh90204</content></entry></data> 2021-04-06 22:37:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:37:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-06 22:37:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b3bcb423-29b2-4a77-bfa2-b5a21bc5e841</value></item-id></result> 2021-04-06 22:37:16 | contains: true 2021-04-06 22:37:16 | [Mutex] received everything. 2021-04-06 22:37:16 | [Mutex] isItemNotified: user_regularyx347e0202@test-domain.com:message:received:content_sfowh90204 :: true 2021-04-06 22:37:16 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-06 22:37:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-06 22:37:16 | command: <data><node>node_sq581p0203</node><expire-at>2021-04-07T05:37:11Z</expire-at><entry><content>content_gzljj50205</content></entry></data> 2021-04-06 22:37:16 | target: http://localhost:8088 2021-04-06 22:37:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-06 22:37:16 | entity: <data><node>node_sq581p0203</node><expire-at>2021-04-07T05:37:11Z</expire-at><entry><content>content_gzljj50205</content></entry></data> 2021-04-06 22:37:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:37:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-06 22:37:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>47258008-509a-4c58-acd8-bc1f2fc67196</value></item-id></result> 2021-04-06 22:37:16 | contains: true 2021-04-06 22:37:16 | [Mutex] waiting for: [user_regularyx347e0202@test-domain.com:message:received:content_gzljj50205] 2021-04-06 22:37:31 | [Mutex] timeout. Not received [user_regularyx347e0202@test-domain.com:message:received:content_gzljj50205] 2021-04-06 22:37:31 | [Mutex] isItemNotified: user_regularyx347e0202@test-domain.com:message:received:content_gzljj50205 :: false 2021-04-06 22:37:31 | ===== publishing normal message (to offline) 2021-04-06 22:37:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-06 22:37:32 | command: <data><node>node_sq581p0203</node><entry><content>content_9b4xvd0206</content></entry></data> 2021-04-06 22:37:32 | target: http://localhost:8088 2021-04-06 22:37:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-06 22:37:32 | entity: <data><node>node_sq581p0203</node><entry><content>content_9b4xvd0206</content></entry></data> 2021-04-06 22:37:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:37:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-06 22:37:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce753e58-addf-4235-9ec5-9994062c50d0</value></item-id></result> 2021-04-06 22:37:32 | contains: true 2021-04-06 22:37:37 | [Mutex] waiting for: [user_regularyx347e0202@test-domain.com:message:received:content_9b4xvd0206] 2021-04-06 22:37:37 | [Mutex] waiting for: [user_regularyx347e0202@test-domain.com:message:received:content_9b4xvd0206] 2021-04-06 22:37:37 | [Mutex] received everything. 2021-04-06 22:37:37 | [Mutex] isItemNotified: user_regularyx347e0202@test-domain.com:message:received:content_9b4xvd0206 :: true 2021-04-06 22:37:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-06 22:37:37 | [Mutex] received everything. 2021-04-06 22:37:37 | [Mutex] isItemNotified: node_sq581p0203:subscribe_node:success :: true 2021-04-06 22:37:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-06 22:37:37 | command: <data><node>node_sq581p0203</node><expire-at>2021-04-07T05:37:42Z</expire-at><entry><content>content_b2ku3m0207</content></entry></data> 2021-04-06 22:37:37 | target: http://localhost:8088 2021-04-06 22:37:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-06 22:37:37 | entity: <data><node>node_sq581p0203</node><expire-at>2021-04-07T05:37:42Z</expire-at><entry><content>content_b2ku3m0207</content></entry></data> 2021-04-06 22:37:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:37:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-06 22:37:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb180d3f-2b54-45ce-9190-62355a62236d</value></item-id></result> 2021-04-06 22:37:37 | contains: true 2021-04-06 22:37:45 | [Mutex] waiting for: [user_regularyx347e0202@test-domain.com:message:received:content_b2ku3m0207] 2021-04-06 22:38:00 | [Mutex] timeout. Not received [user_regularyx347e0202@test-domain.com:message:received:content_b2ku3m0207] 2021-04-06 22:38:00 | [Mutex] received everything. 2021-04-06 22:38:00 | [Mutex] isItemNotified: user_regularyx347e0202@test-domain.com:message:received:content_b2ku3m0207 :: false 2021-04-06 22:38:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b2ku3m0207 :: true |