Test duration : 44.745s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2021-03-01 21:23:43 |
2021-03-01 21:23:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-01 21:23:43 | ------------------------------------ 2021-03-01 21:23:43 | [Mutex] isItemNotified: node_ks87270203:exists :: false 2021-03-01 21:23:43 | [Mutex] waiting for: [node_ks87270203:create_node] 2021-03-01 21:23:43 | [Mutex] received everything. 2021-03-01 21:23:43 | [Mutex] isItemNotified: node_ks87270203:create_node:success :: true 2021-03-01 21:23:43 | [Mutex] waiting for: [node_ks87270203:subscribe_node] 2021-03-01 21:23:43 | [Mutex] received everything. 2021-03-01 21:23:43 | [Mutex] isItemNotified: node_ks87270203:subscribe_node:success :: true 2021-03-01 21:23:43 | ===== publishing normal message (to online) 2021-03-01 21:23:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:23:43 | command: <data><node>node_ks87270203</node><entry><content>content_lt8r1y0204</content></entry></data> 2021-03-01 21:23:43 | target: http://localhost:8088 2021-03-01 21:23:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-01 21:23:43 | entity: <data><node>node_ks87270203</node><entry><content>content_lt8r1y0204</content></entry></data> 2021-03-01 21:23:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:23:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:23:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5130a534-acbc-494b-af0a-f05a4bd41a49</value></item-id></result> 2021-03-01 21:23:43 | contains: true 2021-03-01 21:23:43 | [Mutex] received everything. 2021-03-01 21:23:43 | [Mutex] isItemNotified: user_regularqj6fnn0202@test-domain.com:message:received:content_lt8r1y0204 :: true 2021-03-01 21:23:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-01 21:23:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:23:43 | command: <data><node>node_ks87270203</node><expire-at>2021-03-02T05:23:38Z</expire-at><entry><content>content_z0yewv0205</content></entry></data> 2021-03-01 21:23:43 | target: http://localhost:8088 2021-03-01 21:23:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-01 21:23:43 | entity: <data><node>node_ks87270203</node><expire-at>2021-03-02T05:23:38Z</expire-at><entry><content>content_z0yewv0205</content></entry></data> 2021-03-01 21:23:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:23:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:23:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>044f4e3d-fe2a-4f62-bcab-9c3f0df51060</value></item-id></result> 2021-03-01 21:23:43 | contains: true 2021-03-01 21:23:43 | [Mutex] waiting for: [user_regularqj6fnn0202@test-domain.com:message:received:content_z0yewv0205] 2021-03-01 21:23:58 | [Mutex] timeout. Not received [user_regularqj6fnn0202@test-domain.com:message:received:content_z0yewv0205] 2021-03-01 21:23:58 | [Mutex] isItemNotified: user_regularqj6fnn0202@test-domain.com:message:received:content_z0yewv0205 :: false 2021-03-01 21:23:58 | ===== publishing normal message (to offline) 2021-03-01 21:23:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:23:58 | command: <data><node>node_ks87270203</node><entry><content>content_9j0iqk0206</content></entry></data> 2021-03-01 21:23:58 | target: http://localhost:8088 2021-03-01 21:23:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-01 21:23:58 | entity: <data><node>node_ks87270203</node><entry><content>content_9j0iqk0206</content></entry></data> 2021-03-01 21:23:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:23:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:23:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3b29b624-52f5-465d-aa9e-e820c62dd873</value></item-id></result> 2021-03-01 21:23:58 | contains: true 2021-03-01 21:24:04 | [Mutex] waiting for: [user_regularqj6fnn0202@test-domain.com:message:received:content_9j0iqk0206] 2021-03-01 21:24:04 | [Mutex] received everything. 2021-03-01 21:24:04 | [Mutex] isItemNotified: user_regularqj6fnn0202@test-domain.com:message:received:content_9j0iqk0206 :: true 2021-03-01 21:24:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-01 21:24:04 | [Mutex] received everything. 2021-03-01 21:24:04 | [Mutex] isItemNotified: node_ks87270203:subscribe_node:success :: true 2021-03-01 21:24:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:24:04 | command: <data><node>node_ks87270203</node><expire-at>2021-03-02T05:24:09Z</expire-at><entry><content>content_res8gr0207</content></entry></data> 2021-03-01 21:24:04 | target: http://localhost:8088 2021-03-01 21:24:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-01 21:24:04 | entity: <data><node>node_ks87270203</node><expire-at>2021-03-02T05:24:09Z</expire-at><entry><content>content_res8gr0207</content></entry></data> 2021-03-01 21:24:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:24:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:24:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>25f5fc5d-346b-403e-8d09-e5d4aaaf7744</value></item-id></result> 2021-03-01 21:24:04 | contains: true 2021-03-01 21:24:12 | [Mutex] waiting for: [user_regularqj6fnn0202@test-domain.com:message:received:content_res8gr0207] 2021-03-01 21:24:27 | [Mutex] timeout. Not received [user_regularqj6fnn0202@test-domain.com:message:received:content_res8gr0207] 2021-03-01 21:24:27 | [Mutex] received everything. 2021-03-01 21:24:27 | [Mutex] isItemNotified: user_regularqj6fnn0202@test-domain.com:message:received:content_res8gr0207 :: false 2021-03-01 21:24:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_res8gr0207 :: true |