Test duration : 45.247s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.735s |
2020-09-09 23:27:01 |
2020-09-09 23:27:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 23:27:01 | ------------------------------------ 2020-09-09 23:27:01 | [Mutex] isItemNotified: node_cpna4s0203:exists :: false 2020-09-09 23:27:01 | [Mutex] waiting for: [node_cpna4s0203:create_node] 2020-09-09 23:27:01 | [Mutex] received everything. 2020-09-09 23:27:01 | [Mutex] isItemNotified: node_cpna4s0203:create_node:success :: true 2020-09-09 23:27:01 | [Mutex] waiting for: [node_cpna4s0203:subscribe_node] 2020-09-09 23:27:01 | [Mutex] waiting for: [node_cpna4s0203:subscribe_node] 2020-09-09 23:27:01 | [Mutex] received everything. 2020-09-09 23:27:01 | [Mutex] isItemNotified: node_cpna4s0203:subscribe_node:success :: true 2020-09-09 23:27:01 | ===== publishing normal message (to online) 2020-09-09 23:27:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:27:01 | command: <data><node>node_cpna4s0203</node><entry><content>content_48urbu0204</content></entry></data> 2020-09-09 23:27:01 | target: http://localhost:8088 2020-09-09 23:27:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 23:27:01 | entity: <data><node>node_cpna4s0203</node><entry><content>content_48urbu0204</content></entry></data> 2020-09-09 23:27:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:27:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:27:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>27a06709-1307-4865-add4-49ec8d80e709</value></item-id></result> 2020-09-09 23:27:01 | contains: true 2020-09-09 23:27:01 | [Mutex] received everything. 2020-09-09 23:27:01 | [Mutex] isItemNotified: user_regulaream09d0202@test-domain.com:message:received:content_48urbu0204 :: true 2020-09-09 23:27:01 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 23:27:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:27:01 | command: <data><node>node_cpna4s0203</node><expire-at>2020-09-10T06:26:56Z</expire-at><entry><content>content_wwdx5w0205</content></entry></data> 2020-09-09 23:27:01 | target: http://localhost:8088 2020-09-09 23:27:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 23:27:01 | entity: <data><node>node_cpna4s0203</node><expire-at>2020-09-10T06:26:56Z</expire-at><entry><content>content_wwdx5w0205</content></entry></data> 2020-09-09 23:27:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:27:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:27:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91c4c7a1-6359-4b8b-adb3-aee93b900334</value></item-id></result> 2020-09-09 23:27:01 | contains: true 2020-09-09 23:27:01 | [Mutex] waiting for: [user_regulaream09d0202@test-domain.com:message:received:content_wwdx5w0205] 2020-09-09 23:27:16 | [Mutex] timeout. Not received [user_regulaream09d0202@test-domain.com:message:received:content_wwdx5w0205] 2020-09-09 23:27:16 | [Mutex] isItemNotified: user_regulaream09d0202@test-domain.com:message:received:content_wwdx5w0205 :: false 2020-09-09 23:27:16 | ===== publishing normal message (to offline) 2020-09-09 23:27:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:27:16 | command: <data><node>node_cpna4s0203</node><entry><content>content_t6seh10206</content></entry></data> 2020-09-09 23:27:16 | target: http://localhost:8088 2020-09-09 23:27:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 23:27:16 | entity: <data><node>node_cpna4s0203</node><entry><content>content_t6seh10206</content></entry></data> 2020-09-09 23:27:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:27:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:27:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>867e3ef4-257d-40eb-9926-846779b6ac3b</value></item-id></result> 2020-09-09 23:27:16 | contains: true 2020-09-09 23:27:21 | [Mutex] waiting for: [user_regulaream09d0202@test-domain.com:message:received:content_t6seh10206] 2020-09-09 23:27:21 | [Mutex] waiting for: [user_regulaream09d0202@test-domain.com:message:received:content_t6seh10206] 2020-09-09 23:27:21 | [Mutex] received everything. 2020-09-09 23:27:21 | [Mutex] isItemNotified: user_regulaream09d0202@test-domain.com:message:received:content_t6seh10206 :: true 2020-09-09 23:27:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 23:27:21 | [Mutex] received everything. 2020-09-09 23:27:21 | [Mutex] isItemNotified: node_cpna4s0203:subscribe_node:success :: true 2020-09-09 23:27:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:27:21 | command: <data><node>node_cpna4s0203</node><expire-at>2020-09-10T06:27:26Z</expire-at><entry><content>content_mh87dy0207</content></entry></data> 2020-09-09 23:27:21 | target: http://localhost:8088 2020-09-09 23:27:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 23:27:21 | entity: <data><node>node_cpna4s0203</node><expire-at>2020-09-10T06:27:26Z</expire-at><entry><content>content_mh87dy0207</content></entry></data> 2020-09-09 23:27:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:27:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:27:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3853ea9-ae2a-4aa9-bfbc-b2b3b6102753</value></item-id></result> 2020-09-09 23:27:21 | contains: true 2020-09-09 23:27:30 | [Mutex] waiting for: [user_regulaream09d0202@test-domain.com:message:received:content_mh87dy0207] 2020-09-09 23:27:30 | [Mutex] waiting for: [user_regulaream09d0202@test-domain.com:message:received:content_mh87dy0207] 2020-09-09 23:27:45 | [Mutex] timeout. Not received [user_regulaream09d0202@test-domain.com:message:received:content_mh87dy0207] 2020-09-09 23:27:45 | [Mutex] received everything. 2020-09-09 23:27:45 | [Mutex] isItemNotified: user_regulaream09d0202@test-domain.com:message:received:content_mh87dy0207 :: false 2020-09-09 23:27:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mh87dy0207 :: true |