Test duration : 45.676s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.825s |
2020-10-23 22:58:49 |
2020-10-23 22:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-23 22:58:49 | ------------------------------------ 2020-10-23 22:58:49 | [Mutex] isItemNotified: node_9zhamo0203:exists :: false 2020-10-23 22:58:49 | [Mutex] waiting for: [node_9zhamo0203:create_node] 2020-10-23 22:58:49 | [Mutex] received everything. 2020-10-23 22:58:49 | [Mutex] isItemNotified: node_9zhamo0203:create_node:success :: true 2020-10-23 22:58:49 | [Mutex] waiting for: [node_9zhamo0203:subscribe_node] 2020-10-23 22:58:49 | [Mutex] received everything. 2020-10-23 22:58:49 | [Mutex] isItemNotified: node_9zhamo0203:subscribe_node:success :: true 2020-10-23 22:58:49 | ===== publishing normal message (to online) 2020-10-23 22:58:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:58:49 | command: <data><node>node_9zhamo0203</node><entry><content>content_xr78ng0204</content></entry></data> 2020-10-23 22:58:49 | target: http://localhost:8088 2020-10-23 22:58:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:58:49 | entity: <data><node>node_9zhamo0203</node><entry><content>content_xr78ng0204</content></entry></data> 2020-10-23 22:58:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:58:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:58:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>542cdab5-06ec-4897-968a-9a038b2ba364</value></item-id></result> 2020-10-23 22:58:49 | contains: true 2020-10-23 22:58:49 | [Mutex] received everything. 2020-10-23 22:58:49 | [Mutex] isItemNotified: user_regularyarb7t0202@test-domain.com:message:received:content_xr78ng0204 :: true 2020-10-23 22:58:49 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-23 22:58:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:58:49 | command: <data><node>node_9zhamo0203</node><expire-at>2020-10-24T05:58:44Z</expire-at><entry><content>content_bclqw00205</content></entry></data> 2020-10-23 22:58:49 | target: http://localhost:8088 2020-10-23 22:58:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:58:49 | entity: <data><node>node_9zhamo0203</node><expire-at>2020-10-24T05:58:44Z</expire-at><entry><content>content_bclqw00205</content></entry></data> 2020-10-23 22:58:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:58:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:58:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca483a7c-c8bb-4433-8f2e-4c5821166954</value></item-id></result> 2020-10-23 22:58:49 | contains: true 2020-10-23 22:58:49 | [Mutex] waiting for: [user_regularyarb7t0202@test-domain.com:message:received:content_bclqw00205] 2020-10-23 22:59:04 | [Mutex] timeout. Not received [user_regularyarb7t0202@test-domain.com:message:received:content_bclqw00205] 2020-10-23 22:59:04 | [Mutex] isItemNotified: user_regularyarb7t0202@test-domain.com:message:received:content_bclqw00205 :: false 2020-10-23 22:59:04 | ===== publishing normal message (to offline) 2020-10-23 22:59:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:59:04 | command: <data><node>node_9zhamo0203</node><entry><content>content_5xrqmn0206</content></entry></data> 2020-10-23 22:59:04 | target: http://localhost:8088 2020-10-23 22:59:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-23 22:59:04 | entity: <data><node>node_9zhamo0203</node><entry><content>content_5xrqmn0206</content></entry></data> 2020-10-23 22:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>692c42c3-9f1b-4f2a-b968-9780030ae2b3</value></item-id></result> 2020-10-23 22:59:04 | contains: true 2020-10-23 22:59:09 | [Mutex] waiting for: [user_regularyarb7t0202@test-domain.com:message:received:content_5xrqmn0206] 2020-10-23 22:59:09 | [Mutex] received everything. 2020-10-23 22:59:09 | [Mutex] isItemNotified: user_regularyarb7t0202@test-domain.com:message:received:content_5xrqmn0206 :: true 2020-10-23 22:59:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-23 22:59:09 | [Mutex] received everything. 2020-10-23 22:59:09 | [Mutex] isItemNotified: node_9zhamo0203:subscribe_node:success :: true 2020-10-23 22:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-23 22:59:09 | command: <data><node>node_9zhamo0203</node><expire-at>2020-10-24T05:59:14Z</expire-at><entry><content>content_mylzqa0207</content></entry></data> 2020-10-23 22:59:09 | target: http://localhost:8088 2020-10-23 22:59:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-23 22:59:09 | entity: <data><node>node_9zhamo0203</node><expire-at>2020-10-24T05:59:14Z</expire-at><entry><content>content_mylzqa0207</content></entry></data> 2020-10-23 22:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 24 Oct 2020 05:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-23 22:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2b42bb8-bf22-4db5-a64e-158b1fd40a13</value></item-id></result> 2020-10-23 22:59:09 | contains: true 2020-10-23 22:59:18 | [Mutex] waiting for: [user_regularyarb7t0202@test-domain.com:message:received:content_mylzqa0207] 2020-10-23 22:59:18 | [Mutex] waiting for: [user_regularyarb7t0202@test-domain.com:message:received:content_mylzqa0207] 2020-10-23 22:59:18 | [Mutex] waiting for: [user_regularyarb7t0202@test-domain.com:message:received:content_mylzqa0207] 2020-10-23 22:59:33 | [Mutex] timeout. Not received [user_regularyarb7t0202@test-domain.com:message:received:content_mylzqa0207] 2020-10-23 22:59:33 | [Mutex] received everything. 2020-10-23 22:59:33 | [Mutex] isItemNotified: user_regularyarb7t0202@test-domain.com:message:received:content_mylzqa0207 :: false 2020-10-23 22:59:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mylzqa0207 :: true |