Test duration : 45.378s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.717s |
2021-09-20 23:06:17 |
2021-09-20 23:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-20 23:06:17 | ------------------------------------ 2021-09-20 23:06:17 | [Mutex] isItemNotified: node_a1kyfa0203:exists :: false 2021-09-20 23:06:17 | [Mutex] waiting for: [node_a1kyfa0203:create_node] 2021-09-20 23:06:17 | [Mutex] received everything. 2021-09-20 23:06:17 | [Mutex] isItemNotified: node_a1kyfa0203:create_node:success :: true 2021-09-20 23:06:17 | [Mutex] waiting for: [node_a1kyfa0203:subscribe_node] 2021-09-20 23:06:17 | [Mutex] waiting for: [node_a1kyfa0203:subscribe_node] 2021-09-20 23:06:17 | [Mutex] received everything. 2021-09-20 23:06:17 | [Mutex] isItemNotified: node_a1kyfa0203:subscribe_node:success :: true 2021-09-20 23:06:17 | ===== publishing normal message (to online) 2021-09-20 23:06:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:06:17 | command: <data><node>node_a1kyfa0203</node><entry><content>content_k3u82c0204</content></entry></data> 2021-09-20 23:06:17 | target: http://localhost:8088 2021-09-20 23:06:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-20 23:06:17 | entity: <data><node>node_a1kyfa0203</node><entry><content>content_k3u82c0204</content></entry></data> 2021-09-20 23:06:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:06:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:06:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b5c8a2f-483b-4089-ae2c-d61a49876073</value></item-id></result> 2021-09-20 23:06:17 | contains: true 2021-09-20 23:06:17 | [Mutex] waiting for: [user_regularmcef8m0202@test-domain.com:message:received:content_k3u82c0204] 2021-09-20 23:06:17 | [Mutex] received everything. 2021-09-20 23:06:17 | [Mutex] isItemNotified: user_regularmcef8m0202@test-domain.com:message:received:content_k3u82c0204 :: true 2021-09-20 23:06:17 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-20 23:06:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:06:17 | command: <data><node>node_a1kyfa0203</node><expire-at>2021-09-21T06:06:12Z</expire-at><entry><content>content_fto1xz0205</content></entry></data> 2021-09-20 23:06:17 | target: http://localhost:8088 2021-09-20 23:06:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-20 23:06:17 | entity: <data><node>node_a1kyfa0203</node><expire-at>2021-09-21T06:06:12Z</expire-at><entry><content>content_fto1xz0205</content></entry></data> 2021-09-20 23:06:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:06:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:06:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>42eccd30-cb25-4175-9131-da4a7a6bed67</value></item-id></result> 2021-09-20 23:06:17 | contains: true 2021-09-20 23:06:17 | [Mutex] waiting for: [user_regularmcef8m0202@test-domain.com:message:received:content_fto1xz0205] 2021-09-20 23:06:32 | [Mutex] timeout. Not received [user_regularmcef8m0202@test-domain.com:message:received:content_fto1xz0205] 2021-09-20 23:06:32 | [Mutex] isItemNotified: user_regularmcef8m0202@test-domain.com:message:received:content_fto1xz0205 :: false 2021-09-20 23:06:32 | ===== publishing normal message (to offline) 2021-09-20 23:06:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:06:32 | command: <data><node>node_a1kyfa0203</node><entry><content>content_qxzj1z0206</content></entry></data> 2021-09-20 23:06:32 | target: http://localhost:8088 2021-09-20 23:06:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-20 23:06:32 | entity: <data><node>node_a1kyfa0203</node><entry><content>content_qxzj1z0206</content></entry></data> 2021-09-20 23:06:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:06:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:06:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fbbcdccc-9732-4040-9770-32c6e77258d0</value></item-id></result> 2021-09-20 23:06:32 | contains: true 2021-09-20 23:06:37 | [Mutex] waiting for: [user_regularmcef8m0202@test-domain.com:message:received:content_qxzj1z0206] 2021-09-20 23:06:37 | [Mutex] received everything. 2021-09-20 23:06:37 | [Mutex] isItemNotified: user_regularmcef8m0202@test-domain.com:message:received:content_qxzj1z0206 :: true 2021-09-20 23:06:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-20 23:06:37 | [Mutex] received everything. 2021-09-20 23:06:37 | [Mutex] isItemNotified: node_a1kyfa0203:subscribe_node:success :: true 2021-09-20 23:06:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:06:37 | command: <data><node>node_a1kyfa0203</node><expire-at>2021-09-21T06:06:42Z</expire-at><entry><content>content_yjcs960207</content></entry></data> 2021-09-20 23:06:37 | target: http://localhost:8088 2021-09-20 23:06:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-20 23:06:37 | entity: <data><node>node_a1kyfa0203</node><expire-at>2021-09-21T06:06:42Z</expire-at><entry><content>content_yjcs960207</content></entry></data> 2021-09-20 23:06:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:06:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:06:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12b8224b-4eff-4c81-a7cf-266bb5d258e2</value></item-id></result> 2021-09-20 23:06:37 | contains: true 2021-09-20 23:06:46 | [Mutex] waiting for: [user_regularmcef8m0202@test-domain.com:message:received:content_yjcs960207] 2021-09-20 23:07:01 | [Mutex] timeout. Not received [user_regularmcef8m0202@test-domain.com:message:received:content_yjcs960207] 2021-09-20 23:07:01 | [Mutex] received everything. 2021-09-20 23:07:01 | [Mutex] isItemNotified: user_regularmcef8m0202@test-domain.com:message:received:content_yjcs960207 :: false 2021-09-20 23:07:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yjcs960207 :: true |