Test duration : 45.265s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2020-09-01 22:34:43 |
2020-09-01 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-01 22:34:43 | ------------------------------------ 2020-09-01 22:34:43 | [Mutex] isItemNotified: node_kab67s0203:exists :: false 2020-09-01 22:34:43 | [Mutex] waiting for: [node_kab67s0203:create_node] 2020-09-01 22:34:43 | [Mutex] waiting for: [node_kab67s0203:create_node] 2020-09-01 22:34:43 | [Mutex] received everything. 2020-09-01 22:34:43 | [Mutex] isItemNotified: node_kab67s0203:create_node:success :: true 2020-09-01 22:34:43 | [Mutex] waiting for: [node_kab67s0203:subscribe_node] 2020-09-01 22:34:43 | [Mutex] waiting for: [node_kab67s0203:subscribe_node] 2020-09-01 22:34:43 | [Mutex] received everything. 2020-09-01 22:34:43 | [Mutex] isItemNotified: node_kab67s0203:subscribe_node:success :: true 2020-09-01 22:34:43 | ===== publishing normal message (to online) 2020-09-01 22:34:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 22:34:43 | command: <data><node>node_kab67s0203</node><entry><content>content_hnt6r20204</content></entry></data> 2020-09-01 22:34:43 | target: http://localhost:8088 2020-09-01 22:34:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 22:34:43 | entity: <data><node>node_kab67s0203</node><entry><content>content_hnt6r20204</content></entry></data> 2020-09-01 22:34:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 05:34:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 22:34:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa5ea1fd-7713-4b9a-ad7c-a80f8d1c52a3</value></item-id></result> 2020-09-01 22:34:43 | contains: true 2020-09-01 22:34:43 | [Mutex] waiting for: [user_regular3m8l7s0202@test-domain.com:message:received:content_hnt6r20204] 2020-09-01 22:34:43 | [Mutex] received everything. 2020-09-01 22:34:43 | [Mutex] isItemNotified: user_regular3m8l7s0202@test-domain.com:message:received:content_hnt6r20204 :: true 2020-09-01 22:34:43 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-01 22:34:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 22:34:43 | command: <data><node>node_kab67s0203</node><expire-at>2020-09-02T05:34:38Z</expire-at><entry><content>content_9iyjkm0205</content></entry></data> 2020-09-01 22:34:43 | target: http://localhost:8088 2020-09-01 22:34:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 22:34:43 | entity: <data><node>node_kab67s0203</node><expire-at>2020-09-02T05:34:38Z</expire-at><entry><content>content_9iyjkm0205</content></entry></data> 2020-09-01 22:34:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 05:34:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 22:34:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>153bee77-ae80-4a9d-b4a3-abe8e446f1f8</value></item-id></result> 2020-09-01 22:34:43 | contains: true 2020-09-01 22:34:43 | [Mutex] waiting for: [user_regular3m8l7s0202@test-domain.com:message:received:content_9iyjkm0205] 2020-09-01 22:34:58 | [Mutex] timeout. Not received [user_regular3m8l7s0202@test-domain.com:message:received:content_9iyjkm0205] 2020-09-01 22:34:58 | [Mutex] isItemNotified: user_regular3m8l7s0202@test-domain.com:message:received:content_9iyjkm0205 :: false 2020-09-01 22:34:58 | ===== publishing normal message (to offline) 2020-09-01 22:34:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 22:34:58 | command: <data><node>node_kab67s0203</node><entry><content>content_91t96i0206</content></entry></data> 2020-09-01 22:34:58 | target: http://localhost:8088 2020-09-01 22:34:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 22:34:58 | entity: <data><node>node_kab67s0203</node><entry><content>content_91t96i0206</content></entry></data> 2020-09-01 22:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 05:34:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 22:34:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27d3071b-f8fc-48b0-b817-5e6404c17bf8</value></item-id></result> 2020-09-01 22:34:58 | contains: true 2020-09-01 22:35:03 | [Mutex] received everything. 2020-09-01 22:35:03 | [Mutex] isItemNotified: user_regular3m8l7s0202@test-domain.com:message:received:content_91t96i0206 :: true 2020-09-01 22:35:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-01 22:35:03 | [Mutex] received everything. 2020-09-01 22:35:03 | [Mutex] isItemNotified: node_kab67s0203:subscribe_node:success :: true 2020-09-01 22:35:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 22:35:03 | command: <data><node>node_kab67s0203</node><expire-at>2020-09-02T05:35:08Z</expire-at><entry><content>content_v0vgzf0207</content></entry></data> 2020-09-01 22:35:03 | target: http://localhost:8088 2020-09-01 22:35:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 22:35:03 | entity: <data><node>node_kab67s0203</node><expire-at>2020-09-02T05:35:08Z</expire-at><entry><content>content_v0vgzf0207</content></entry></data> 2020-09-01 22:35:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 05:35:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 22:35:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2d7e229-f1c7-41df-bb84-0de47096b439</value></item-id></result> 2020-09-01 22:35:04 | contains: true 2020-09-01 22:35:12 | [Mutex] waiting for: [user_regular3m8l7s0202@test-domain.com:message:received:content_v0vgzf0207] 2020-09-01 22:35:12 | [Mutex] waiting for: [user_regular3m8l7s0202@test-domain.com:message:received:content_v0vgzf0207] 2020-09-01 22:35:27 | [Mutex] timeout. Not received [user_regular3m8l7s0202@test-domain.com:message:received:content_v0vgzf0207] 2020-09-01 22:35:27 | [Mutex] received everything. 2020-09-01 22:35:27 | [Mutex] isItemNotified: user_regular3m8l7s0202@test-domain.com:message:received:content_v0vgzf0207 :: false 2020-09-01 22:35:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v0vgzf0207 :: true |