Test duration : 45.496s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.767s |
2020-08-25 19:38:50 |
2020-08-25 19:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-25 19:38:50 | ------------------------------------ 2020-08-25 19:38:50 | [Mutex] isItemNotified: node_8b89ni0203:exists :: false 2020-08-25 19:38:50 | [Mutex] waiting for: [node_8b89ni0203:create_node] 2020-08-25 19:38:50 | [Mutex] received everything. 2020-08-25 19:38:50 | [Mutex] isItemNotified: node_8b89ni0203:create_node:success :: true 2020-08-25 19:38:50 | [Mutex] waiting for: [node_8b89ni0203:subscribe_node] 2020-08-25 19:38:50 | [Mutex] received everything. 2020-08-25 19:38:50 | [Mutex] isItemNotified: node_8b89ni0203:subscribe_node:success :: true 2020-08-25 19:38:50 | ===== publishing normal message (to online) 2020-08-25 19:38:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:38:50 | command: <data><node>node_8b89ni0203</node><entry><content>content_um6cvo0204</content></entry></data> 2020-08-25 19:38:50 | target: http://localhost:8088 2020-08-25 19:38:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 19:38:50 | entity: <data><node>node_8b89ni0203</node><entry><content>content_um6cvo0204</content></entry></data> 2020-08-25 19:38:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:38:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:38:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb01334f-85a8-4b49-811d-cd44b97c3f10</value></item-id></result> 2020-08-25 19:38:50 | contains: true 2020-08-25 19:38:50 | [Mutex] received everything. 2020-08-25 19:38:50 | [Mutex] isItemNotified: user_regular6pf320202@test-domain.com:message:received:content_um6cvo0204 :: true 2020-08-25 19:38:50 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-25 19:38:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:38:50 | command: <data><node>node_8b89ni0203</node><expire-at>2020-08-26T02:38:45Z</expire-at><entry><content>content_b9k3xi0205</content></entry></data> 2020-08-25 19:38:50 | target: http://localhost:8088 2020-08-25 19:38:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 19:38:50 | entity: <data><node>node_8b89ni0203</node><expire-at>2020-08-26T02:38:45Z</expire-at><entry><content>content_b9k3xi0205</content></entry></data> 2020-08-25 19:38:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:38:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:38:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e8741539-5795-4a15-a352-79bfde656271</value></item-id></result> 2020-08-25 19:38:50 | contains: true 2020-08-25 19:38:50 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_b9k3xi0205] 2020-08-25 19:39:05 | [Mutex] timeout. Not received [user_regular6pf320202@test-domain.com:message:received:content_b9k3xi0205] 2020-08-25 19:39:05 | [Mutex] isItemNotified: user_regular6pf320202@test-domain.com:message:received:content_b9k3xi0205 :: false 2020-08-25 19:39:05 | ===== publishing normal message (to offline) 2020-08-25 19:39:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:39:05 | command: <data><node>node_8b89ni0203</node><entry><content>content_wsfl8b0206</content></entry></data> 2020-08-25 19:39:05 | target: http://localhost:8088 2020-08-25 19:39:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 19:39:05 | entity: <data><node>node_8b89ni0203</node><entry><content>content_wsfl8b0206</content></entry></data> 2020-08-25 19:39:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:39:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:39:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2f0f8b7b-71f1-42ba-9217-2225e55897fb</value></item-id></result> 2020-08-25 19:39:05 | contains: true 2020-08-25 19:39:10 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_wsfl8b0206] 2020-08-25 19:39:10 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_wsfl8b0206] 2020-08-25 19:39:10 | [Mutex] received everything. 2020-08-25 19:39:10 | [Mutex] isItemNotified: user_regular6pf320202@test-domain.com:message:received:content_wsfl8b0206 :: true 2020-08-25 19:39:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-25 19:39:10 | [Mutex] received everything. 2020-08-25 19:39:10 | [Mutex] isItemNotified: node_8b89ni0203:subscribe_node:success :: true 2020-08-25 19:39:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:39:10 | command: <data><node>node_8b89ni0203</node><expire-at>2020-08-26T02:39:15Z</expire-at><entry><content>content_28g6h00207</content></entry></data> 2020-08-25 19:39:10 | target: http://localhost:8088 2020-08-25 19:39:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 19:39:10 | entity: <data><node>node_8b89ni0203</node><expire-at>2020-08-26T02:39:15Z</expire-at><entry><content>content_28g6h00207</content></entry></data> 2020-08-25 19:39:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:39:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:39:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec27fed3-46c1-4854-8293-70ea8d482223</value></item-id></result> 2020-08-25 19:39:10 | contains: true 2020-08-25 19:39:18 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_28g6h00207] 2020-08-25 19:39:18 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_28g6h00207] 2020-08-25 19:39:18 | [Mutex] waiting for: [user_regular6pf320202@test-domain.com:message:received:content_28g6h00207] 2020-08-25 19:39:33 | [Mutex] timeout. Not received [user_regular6pf320202@test-domain.com:message:received:content_28g6h00207] 2020-08-25 19:39:33 | [Mutex] received everything. 2020-08-25 19:39:33 | [Mutex] isItemNotified: user_regular6pf320202@test-domain.com:message:received:content_28g6h00207 :: false 2020-08-25 19:39:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_28g6h00207 :: true |