Test duration : 45.343s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.854s |
2022-02-08 21:50:39 |
2022-02-08 21:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-08 21:50:39 | ------------------------------------ 2022-02-08 21:50:39 | [Mutex] isItemNotified: node_vqdlcr0203:exists :: false 2022-02-08 21:50:39 | [Mutex] waiting for: [node_vqdlcr0203:create_node] 2022-02-08 21:50:39 | [Mutex] received everything. 2022-02-08 21:50:39 | [Mutex] isItemNotified: node_vqdlcr0203:create_node:success :: true 2022-02-08 21:50:39 | [Mutex] waiting for: [node_vqdlcr0203:subscribe_node] 2022-02-08 21:50:39 | [Mutex] waiting for: [node_vqdlcr0203:subscribe_node] 2022-02-08 21:50:39 | [Mutex] received everything. 2022-02-08 21:50:39 | [Mutex] isItemNotified: node_vqdlcr0203:subscribe_node:success :: true 2022-02-08 21:50:39 | ===== publishing normal message (to online) 2022-02-08 21:50:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:39 | command: <data><node>node_vqdlcr0203</node><entry><content>content_7brg4y0204</content></entry></data> 2022-02-08 21:50:39 | target: http://localhost:8088 2022-02-08 21:50:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 21:50:39 | entity: <data><node>node_vqdlcr0203</node><entry><content>content_7brg4y0204</content></entry></data> 2022-02-08 21:50:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5586d746-342e-4612-9b57-982e24edde8c</value></item-id></result> 2022-02-08 21:50:39 | contains: true 2022-02-08 21:50:39 | [Mutex] received everything. 2022-02-08 21:50:39 | [Mutex] isItemNotified: user_regulartk44kb0202@test-domain.com:message:received:content_7brg4y0204 :: true 2022-02-08 21:50:39 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-08 21:50:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:39 | command: <data><node>node_vqdlcr0203</node><expire-at>2022-02-09T05:50:34Z</expire-at><entry><content>content_i0oaaj0205</content></entry></data> 2022-02-08 21:50:39 | target: http://localhost:8088 2022-02-08 21:50:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 21:50:39 | entity: <data><node>node_vqdlcr0203</node><expire-at>2022-02-09T05:50:34Z</expire-at><entry><content>content_i0oaaj0205</content></entry></data> 2022-02-08 21:50:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5de4aedc-738c-4b9b-be0f-f62d2159c7fe</value></item-id></result> 2022-02-08 21:50:39 | contains: true 2022-02-08 21:50:39 | [Mutex] waiting for: [user_regulartk44kb0202@test-domain.com:message:received:content_i0oaaj0205] 2022-02-08 21:50:54 | [Mutex] timeout. Not received [user_regulartk44kb0202@test-domain.com:message:received:content_i0oaaj0205] 2022-02-08 21:50:54 | [Mutex] isItemNotified: user_regulartk44kb0202@test-domain.com:message:received:content_i0oaaj0205 :: false 2022-02-08 21:50:54 | ===== publishing normal message (to offline) 2022-02-08 21:50:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:54 | command: <data><node>node_vqdlcr0203</node><entry><content>content_p2xfpp0206</content></entry></data> 2022-02-08 21:50:54 | target: http://localhost:8088 2022-02-08 21:50:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 21:50:54 | entity: <data><node>node_vqdlcr0203</node><entry><content>content_p2xfpp0206</content></entry></data> 2022-02-08 21:50:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40d974e4-9fd2-41a0-8b4b-e89387fee0ea</value></item-id></result> 2022-02-08 21:50:54 | contains: true 2022-02-08 21:50:59 | [Mutex] waiting for: [user_regulartk44kb0202@test-domain.com:message:received:content_p2xfpp0206] 2022-02-08 21:50:59 | [Mutex] received everything. 2022-02-08 21:50:59 | [Mutex] isItemNotified: user_regulartk44kb0202@test-domain.com:message:received:content_p2xfpp0206 :: true 2022-02-08 21:50:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-08 21:50:59 | [Mutex] received everything. 2022-02-08 21:50:59 | [Mutex] isItemNotified: node_vqdlcr0203:subscribe_node:success :: true 2022-02-08 21:50:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:59 | command: <data><node>node_vqdlcr0203</node><expire-at>2022-02-09T05:51:04Z</expire-at><entry><content>content_s57ekk0207</content></entry></data> 2022-02-08 21:50:59 | target: http://localhost:8088 2022-02-08 21:50:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 21:50:59 | entity: <data><node>node_vqdlcr0203</node><expire-at>2022-02-09T05:51:04Z</expire-at><entry><content>content_s57ekk0207</content></entry></data> 2022-02-08 21:50:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e22e8948-6dca-42c2-9cc8-41790ea53813</value></item-id></result> 2022-02-08 21:50:59 | contains: true 2022-02-08 21:51:08 | [Mutex] waiting for: [user_regulartk44kb0202@test-domain.com:message:received:content_s57ekk0207] 2022-02-08 21:51:08 | [Mutex] waiting for: [user_regulartk44kb0202@test-domain.com:message:received:content_s57ekk0207] 2022-02-08 21:51:08 | [Mutex] waiting for: [user_regulartk44kb0202@test-domain.com:message:received:content_s57ekk0207] 2022-02-08 21:51:23 | [Mutex] timeout. Not received [user_regulartk44kb0202@test-domain.com:message:received:content_s57ekk0207] 2022-02-08 21:51:23 | [Mutex] received everything. 2022-02-08 21:51:23 | [Mutex] isItemNotified: user_regulartk44kb0202@test-domain.com:message:received:content_s57ekk0207 :: false 2022-02-08 21:51:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s57ekk0207 :: true |