Test duration : 44.883s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.665s |
2021-10-07 22:37:24 |
2021-10-07 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-07 22:37:24 | ------------------------------------ 2021-10-07 22:37:24 | [Mutex] isItemNotified: node_agszrv0203:exists :: false 2021-10-07 22:37:24 | [Mutex] waiting for: [node_agszrv0203:create_node] 2021-10-07 22:37:24 | [Mutex] received everything. 2021-10-07 22:37:24 | [Mutex] isItemNotified: node_agszrv0203:create_node:success :: true 2021-10-07 22:37:24 | [Mutex] waiting for: [node_agszrv0203:subscribe_node] 2021-10-07 22:37:24 | [Mutex] waiting for: [node_agszrv0203:subscribe_node] 2021-10-07 22:37:24 | [Mutex] received everything. 2021-10-07 22:37:24 | [Mutex] isItemNotified: node_agszrv0203:subscribe_node:success :: true 2021-10-07 22:37:24 | ===== publishing normal message (to online) 2021-10-07 22:37:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:24 | command: <data><node>node_agszrv0203</node><entry><content>content_8b76iu0204</content></entry></data> 2021-10-07 22:37:24 | target: http://localhost:8088 2021-10-07 22:37:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:37:24 | entity: <data><node>node_agszrv0203</node><entry><content>content_8b76iu0204</content></entry></data> 2021-10-07 22:37:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8c313403-794c-4915-93da-6e1cff05cb16</value></item-id></result> 2021-10-07 22:37:24 | contains: true 2021-10-07 22:37:24 | [Mutex] waiting for: [user_regular87v5oc0202@test-domain.com:message:received:content_8b76iu0204] 2021-10-07 22:37:24 | [Mutex] received everything. 2021-10-07 22:37:24 | [Mutex] isItemNotified: user_regular87v5oc0202@test-domain.com:message:received:content_8b76iu0204 :: true 2021-10-07 22:37:24 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-07 22:37:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:24 | command: <data><node>node_agszrv0203</node><expire-at>2021-10-08T05:37:19Z</expire-at><entry><content>content_nagrao0205</content></entry></data> 2021-10-07 22:37:24 | target: http://localhost:8088 2021-10-07 22:37:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:37:24 | entity: <data><node>node_agszrv0203</node><expire-at>2021-10-08T05:37:19Z</expire-at><entry><content>content_nagrao0205</content></entry></data> 2021-10-07 22:37:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>457e7281-80e4-4af5-a25d-89e0d8af3abb</value></item-id></result> 2021-10-07 22:37:24 | contains: true 2021-10-07 22:37:24 | [Mutex] waiting for: [user_regular87v5oc0202@test-domain.com:message:received:content_nagrao0205] 2021-10-07 22:37:39 | [Mutex] timeout. Not received [user_regular87v5oc0202@test-domain.com:message:received:content_nagrao0205] 2021-10-07 22:37:39 | [Mutex] isItemNotified: user_regular87v5oc0202@test-domain.com:message:received:content_nagrao0205 :: false 2021-10-07 22:37:39 | ===== publishing normal message (to offline) 2021-10-07 22:37:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:39 | command: <data><node>node_agszrv0203</node><entry><content>content_ijxns00206</content></entry></data> 2021-10-07 22:37:39 | target: http://localhost:8088 2021-10-07 22:37:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:37:39 | entity: <data><node>node_agszrv0203</node><entry><content>content_ijxns00206</content></entry></data> 2021-10-07 22:37:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33c9d280-4ff5-4c4d-97b0-2915d75cdf37</value></item-id></result> 2021-10-07 22:37:39 | contains: true 2021-10-07 22:37:45 | [Mutex] waiting for: [user_regular87v5oc0202@test-domain.com:message:received:content_ijxns00206] 2021-10-07 22:37:45 | [Mutex] received everything. 2021-10-07 22:37:45 | [Mutex] isItemNotified: user_regular87v5oc0202@test-domain.com:message:received:content_ijxns00206 :: true 2021-10-07 22:37:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-07 22:37:45 | [Mutex] received everything. 2021-10-07 22:37:45 | [Mutex] isItemNotified: node_agszrv0203:subscribe_node:success :: true 2021-10-07 22:37:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:45 | command: <data><node>node_agszrv0203</node><expire-at>2021-10-08T05:37:50Z</expire-at><entry><content>content_qznmbd0207</content></entry></data> 2021-10-07 22:37:45 | target: http://localhost:8088 2021-10-07 22:37:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:37:45 | entity: <data><node>node_agszrv0203</node><expire-at>2021-10-08T05:37:50Z</expire-at><entry><content>content_qznmbd0207</content></entry></data> 2021-10-07 22:37:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cbdb52aa-1b7c-4e4f-a30a-3cd3a7d73481</value></item-id></result> 2021-10-07 22:37:45 | contains: true 2021-10-07 22:37:53 | [Mutex] waiting for: [user_regular87v5oc0202@test-domain.com:message:received:content_qznmbd0207] 2021-10-07 22:38:08 | [Mutex] timeout. Not received [user_regular87v5oc0202@test-domain.com:message:received:content_qznmbd0207] 2021-10-07 22:38:08 | [Mutex] received everything. 2021-10-07 22:38:08 | [Mutex] isItemNotified: user_regular87v5oc0202@test-domain.com:message:received:content_qznmbd0207 :: false 2021-10-07 22:38:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qznmbd0207 :: true |