Test duration : 45.518s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.774s |
2020-08-28 23:47:32 |
2020-08-28 23:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-28 23:47:32 | ------------------------------------ 2020-08-28 23:47:32 | [Mutex] isItemNotified: node_3llvro0203:exists :: false 2020-08-28 23:47:32 | [Mutex] waiting for: [node_3llvro0203:create_node] 2020-08-28 23:47:32 | [Mutex] received everything. 2020-08-28 23:47:32 | [Mutex] isItemNotified: node_3llvro0203:create_node:success :: true 2020-08-28 23:47:32 | [Mutex] waiting for: [node_3llvro0203:subscribe_node] 2020-08-28 23:47:32 | [Mutex] received everything. 2020-08-28 23:47:32 | [Mutex] isItemNotified: node_3llvro0203:subscribe_node:success :: true 2020-08-28 23:47:32 | ===== publishing normal message (to online) 2020-08-28 23:47:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 23:47:32 | command: <data><node>node_3llvro0203</node><entry><content>content_tmhcx90204</content></entry></data> 2020-08-28 23:47:32 | target: http://localhost:8088 2020-08-28 23:47:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 23:47:32 | entity: <data><node>node_3llvro0203</node><entry><content>content_tmhcx90204</content></entry></data> 2020-08-28 23:47:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:47:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 23:47:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad46fcba-fbcb-4638-b38e-b117c4def953</value></item-id></result> 2020-08-28 23:47:32 | contains: true 2020-08-28 23:47:32 | [Mutex] received everything. 2020-08-28 23:47:32 | [Mutex] isItemNotified: user_regularf7rxeq0202@test-domain.com:message:received:content_tmhcx90204 :: true 2020-08-28 23:47:32 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-28 23:47:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 23:47:32 | command: <data><node>node_3llvro0203</node><expire-at>2020-08-29T06:47:27Z</expire-at><entry><content>content_yy1r3x0205</content></entry></data> 2020-08-28 23:47:32 | target: http://localhost:8088 2020-08-28 23:47:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 23:47:32 | entity: <data><node>node_3llvro0203</node><expire-at>2020-08-29T06:47:27Z</expire-at><entry><content>content_yy1r3x0205</content></entry></data> 2020-08-28 23:47:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:47:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 23:47:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8090d06d-bd8f-4386-9344-55cc0c41fb18</value></item-id></result> 2020-08-28 23:47:32 | contains: true 2020-08-28 23:47:32 | [Mutex] waiting for: [user_regularf7rxeq0202@test-domain.com:message:received:content_yy1r3x0205] 2020-08-28 23:47:47 | [Mutex] timeout. Not received [user_regularf7rxeq0202@test-domain.com:message:received:content_yy1r3x0205] 2020-08-28 23:47:47 | [Mutex] isItemNotified: user_regularf7rxeq0202@test-domain.com:message:received:content_yy1r3x0205 :: false 2020-08-28 23:47:47 | ===== publishing normal message (to offline) 2020-08-28 23:47:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 23:47:47 | command: <data><node>node_3llvro0203</node><entry><content>content_rxk53b0206</content></entry></data> 2020-08-28 23:47:47 | target: http://localhost:8088 2020-08-28 23:47:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 23:47:47 | entity: <data><node>node_3llvro0203</node><entry><content>content_rxk53b0206</content></entry></data> 2020-08-28 23:47:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:47:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 23:47:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6785a8a0-f884-48ac-ad0e-dd05951af896</value></item-id></result> 2020-08-28 23:47:47 | contains: true 2020-08-28 23:47:53 | [Mutex] received everything. 2020-08-28 23:47:53 | [Mutex] isItemNotified: user_regularf7rxeq0202@test-domain.com:message:received:content_rxk53b0206 :: true 2020-08-28 23:47:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-28 23:47:53 | [Mutex] received everything. 2020-08-28 23:47:53 | [Mutex] isItemNotified: node_3llvro0203:subscribe_node:success :: true 2020-08-28 23:47:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 23:47:53 | command: <data><node>node_3llvro0203</node><expire-at>2020-08-29T06:47:58Z</expire-at><entry><content>content_c9s4vk0207</content></entry></data> 2020-08-28 23:47:53 | target: http://localhost:8088 2020-08-28 23:47:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 23:47:53 | entity: <data><node>node_3llvro0203</node><expire-at>2020-08-29T06:47:58Z</expire-at><entry><content>content_c9s4vk0207</content></entry></data> 2020-08-28 23:47:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:47:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 23:47:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff8bbcf2-c190-42c2-87b8-c322f32dd976</value></item-id></result> 2020-08-28 23:47:53 | contains: true 2020-08-28 23:48:01 | [Mutex] waiting for: [user_regularf7rxeq0202@test-domain.com:message:received:content_c9s4vk0207] 2020-08-28 23:48:16 | [Mutex] timeout. Not received [user_regularf7rxeq0202@test-domain.com:message:received:content_c9s4vk0207] 2020-08-28 23:48:16 | [Mutex] received everything. 2020-08-28 23:48:16 | [Mutex] isItemNotified: user_regularf7rxeq0202@test-domain.com:message:received:content_c9s4vk0207 :: false 2020-08-28 23:48:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c9s4vk0207 :: true |