Test duration : 45.802s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.764s |
2020-08-27 12:38:52 |
2020-08-27 12:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-27 12:38:52 | ------------------------------------ 2020-08-27 12:38:52 | [Mutex] isItemNotified: node_7t3dxa0203:exists :: false 2020-08-27 12:38:52 | [Mutex] waiting for: [node_7t3dxa0203:create_node] 2020-08-27 12:38:52 | [Mutex] received everything. 2020-08-27 12:38:52 | [Mutex] isItemNotified: node_7t3dxa0203:create_node:success :: true 2020-08-27 12:38:52 | [Mutex] waiting for: [node_7t3dxa0203:subscribe_node] 2020-08-27 12:38:52 | [Mutex] received everything. 2020-08-27 12:38:52 | [Mutex] isItemNotified: node_7t3dxa0203:subscribe_node:success :: true 2020-08-27 12:38:52 | ===== publishing normal message (to online) 2020-08-27 12:38:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 12:38:52 | command: <data><node>node_7t3dxa0203</node><entry><content>content_goeigp0204</content></entry></data> 2020-08-27 12:38:52 | target: http://localhost:8088 2020-08-27 12:38:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 12:38:52 | entity: <data><node>node_7t3dxa0203</node><entry><content>content_goeigp0204</content></entry></data> 2020-08-27 12:38:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 19:38:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 12:38:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93f2f170-fabb-4f5a-ab4f-1394eb408131</value></item-id></result> 2020-08-27 12:38:52 | contains: true 2020-08-27 12:38:52 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_goeigp0204] 2020-08-27 12:38:52 | [Mutex] received everything. 2020-08-27 12:38:52 | [Mutex] isItemNotified: user_regularu36orf0202@test-domain.com:message:received:content_goeigp0204 :: true 2020-08-27 12:38:52 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-27 12:38:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 12:38:52 | command: <data><node>node_7t3dxa0203</node><expire-at>2020-08-27T19:38:47Z</expire-at><entry><content>content_riydy40205</content></entry></data> 2020-08-27 12:38:52 | target: http://localhost:8088 2020-08-27 12:38:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 12:38:52 | entity: <data><node>node_7t3dxa0203</node><expire-at>2020-08-27T19:38:47Z</expire-at><entry><content>content_riydy40205</content></entry></data> 2020-08-27 12:38:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 19:38:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 12:38:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>042969b6-ca5d-4811-81b3-149866775ae9</value></item-id></result> 2020-08-27 12:38:52 | contains: true 2020-08-27 12:38:52 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_riydy40205] 2020-08-27 12:39:07 | [Mutex] timeout. Not received [user_regularu36orf0202@test-domain.com:message:received:content_riydy40205] 2020-08-27 12:39:07 | [Mutex] isItemNotified: user_regularu36orf0202@test-domain.com:message:received:content_riydy40205 :: false 2020-08-27 12:39:07 | ===== publishing normal message (to offline) 2020-08-27 12:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 12:39:07 | command: <data><node>node_7t3dxa0203</node><entry><content>content_w7lc410206</content></entry></data> 2020-08-27 12:39:07 | target: http://localhost:8088 2020-08-27 12:39:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 12:39:07 | entity: <data><node>node_7t3dxa0203</node><entry><content>content_w7lc410206</content></entry></data> 2020-08-27 12:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 19:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 12:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d1cc19e-04c7-45a0-9341-d588a4ae2bb5</value></item-id></result> 2020-08-27 12:39:07 | contains: true 2020-08-27 12:39:13 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_w7lc410206] 2020-08-27 12:39:13 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_w7lc410206] 2020-08-27 12:39:13 | [Mutex] received everything. 2020-08-27 12:39:13 | [Mutex] isItemNotified: user_regularu36orf0202@test-domain.com:message:received:content_w7lc410206 :: true 2020-08-27 12:39:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-27 12:39:13 | [Mutex] received everything. 2020-08-27 12:39:13 | [Mutex] isItemNotified: node_7t3dxa0203:subscribe_node:success :: true 2020-08-27 12:39:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 12:39:13 | command: <data><node>node_7t3dxa0203</node><expire-at>2020-08-27T19:39:18Z</expire-at><entry><content>content_6fxgd30207</content></entry></data> 2020-08-27 12:39:13 | target: http://localhost:8088 2020-08-27 12:39:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 12:39:13 | entity: <data><node>node_7t3dxa0203</node><expire-at>2020-08-27T19:39:18Z</expire-at><entry><content>content_6fxgd30207</content></entry></data> 2020-08-27 12:39:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 19:39:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 12:39:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>13145423-fb00-431b-a313-d1c4b6ee5dc4</value></item-id></result> 2020-08-27 12:39:13 | contains: true 2020-08-27 12:39:21 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_6fxgd30207] 2020-08-27 12:39:21 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_6fxgd30207] 2020-08-27 12:39:21 | [Mutex] waiting for: [user_regularu36orf0202@test-domain.com:message:received:content_6fxgd30207] 2020-08-27 12:39:36 | [Mutex] timeout. Not received [user_regularu36orf0202@test-domain.com:message:received:content_6fxgd30207] 2020-08-27 12:39:36 | [Mutex] received everything. 2020-08-27 12:39:36 | [Mutex] isItemNotified: user_regularu36orf0202@test-domain.com:message:received:content_6fxgd30207 :: false 2020-08-27 12:39:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6fxgd30207 :: true |