Test duration : 45.367s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.633s |
2021-03-08 21:30:27 |
2021-03-08 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-08 21:30:27 | ------------------------------------ 2021-03-08 21:30:27 | [Mutex] isItemNotified: node_xie0my0203:exists :: false 2021-03-08 21:30:27 | [Mutex] waiting for: [node_xie0my0203:create_node] 2021-03-08 21:30:27 | [Mutex] received everything. 2021-03-08 21:30:27 | [Mutex] isItemNotified: node_xie0my0203:create_node:success :: true 2021-03-08 21:30:27 | [Mutex] waiting for: [node_xie0my0203:subscribe_node] 2021-03-08 21:30:27 | [Mutex] received everything. 2021-03-08 21:30:27 | [Mutex] isItemNotified: node_xie0my0203:subscribe_node:success :: true 2021-03-08 21:30:27 | ===== publishing normal message (to online) 2021-03-08 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:30:27 | command: <data><node>node_xie0my0203</node><entry><content>content_tqbylv0204</content></entry></data> 2021-03-08 21:30:27 | target: http://localhost:8088 2021-03-08 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 21:30:27 | entity: <data><node>node_xie0my0203</node><entry><content>content_tqbylv0204</content></entry></data> 2021-03-08 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbdde954-39fe-49e7-ac71-b690082ec014</value></item-id></result> 2021-03-08 21:30:27 | contains: true 2021-03-08 21:30:27 | [Mutex] received everything. 2021-03-08 21:30:27 | [Mutex] isItemNotified: user_regulare15cg50202@test-domain.com:message:received:content_tqbylv0204 :: true 2021-03-08 21:30:27 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-08 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:30:27 | command: <data><node>node_xie0my0203</node><expire-at>2021-03-09T05:30:22Z</expire-at><entry><content>content_v7cl270205</content></entry></data> 2021-03-08 21:30:27 | target: http://localhost:8088 2021-03-08 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 21:30:27 | entity: <data><node>node_xie0my0203</node><expire-at>2021-03-09T05:30:22Z</expire-at><entry><content>content_v7cl270205</content></entry></data> 2021-03-08 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf0eb4e5-c603-431a-9e95-9b14097e6956</value></item-id></result> 2021-03-08 21:30:27 | contains: true 2021-03-08 21:30:27 | [Mutex] waiting for: [user_regulare15cg50202@test-domain.com:message:received:content_v7cl270205] 2021-03-08 21:30:42 | [Mutex] timeout. Not received [user_regulare15cg50202@test-domain.com:message:received:content_v7cl270205] 2021-03-08 21:30:42 | [Mutex] isItemNotified: user_regulare15cg50202@test-domain.com:message:received:content_v7cl270205 :: false 2021-03-08 21:30:42 | ===== publishing normal message (to offline) 2021-03-08 21:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:30:43 | command: <data><node>node_xie0my0203</node><entry><content>content_8dnm0k0206</content></entry></data> 2021-03-08 21:30:43 | target: http://localhost:8088 2021-03-08 21:30:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 21:30:43 | entity: <data><node>node_xie0my0203</node><entry><content>content_8dnm0k0206</content></entry></data> 2021-03-08 21:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>358ea501-74c7-4114-b1b6-4b922309ace0</value></item-id></result> 2021-03-08 21:30:43 | contains: true 2021-03-08 21:30:48 | [Mutex] waiting for: [user_regulare15cg50202@test-domain.com:message:received:content_8dnm0k0206] 2021-03-08 21:30:48 | [Mutex] received everything. 2021-03-08 21:30:48 | [Mutex] isItemNotified: user_regulare15cg50202@test-domain.com:message:received:content_8dnm0k0206 :: true 2021-03-08 21:30:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-08 21:30:48 | [Mutex] received everything. 2021-03-08 21:30:48 | [Mutex] isItemNotified: node_xie0my0203:subscribe_node:success :: true 2021-03-08 21:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:30:48 | command: <data><node>node_xie0my0203</node><expire-at>2021-03-09T05:30:53Z</expire-at><entry><content>content_9hppm30207</content></entry></data> 2021-03-08 21:30:48 | target: http://localhost:8088 2021-03-08 21:30:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 21:30:48 | entity: <data><node>node_xie0my0203</node><expire-at>2021-03-09T05:30:53Z</expire-at><entry><content>content_9hppm30207</content></entry></data> 2021-03-08 21:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>589128bf-f829-4739-9bce-0af2f1f64660</value></item-id></result> 2021-03-08 21:30:48 | contains: true 2021-03-08 21:30:56 | [Mutex] waiting for: [user_regulare15cg50202@test-domain.com:message:received:content_9hppm30207] 2021-03-08 21:31:11 | [Mutex] timeout. Not received [user_regulare15cg50202@test-domain.com:message:received:content_9hppm30207] 2021-03-08 21:31:11 | [Mutex] received everything. 2021-03-08 21:31:11 | [Mutex] isItemNotified: user_regulare15cg50202@test-domain.com:message:received:content_9hppm30207 :: false 2021-03-08 21:31:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9hppm30207 :: true |