Test duration : 44.409s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.533s |
2022-05-22 22:56:57 |
2022-05-22 22:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-22 22:56:57 | ------------------------------------ 2022-05-22 22:56:57 | [Mutex] isItemNotified: node_oy75h00204:exists :: false 2022-05-22 22:56:57 | [Mutex] waiting for: [node_oy75h00204:create_node] 2022-05-22 22:56:57 | [Mutex] received everything. 2022-05-22 22:56:57 | [Mutex] isItemNotified: node_oy75h00204:create_node:success :: true 2022-05-22 22:56:57 | [Mutex] waiting for: [node_oy75h00204:subscribe_node] 2022-05-22 22:56:57 | [Mutex] received everything. 2022-05-22 22:56:57 | [Mutex] isItemNotified: node_oy75h00204:subscribe_node:success :: true 2022-05-22 22:56:57 | ===== publishing normal message (to online) 2022-05-22 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:56:57 | command: <data><node>node_oy75h00204</node><entry><content>content_b1h190205</content></entry></data> 2022-05-22 22:56:57 | target: http://localhost:8088 2022-05-22 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-05-22 22:56:57 | entity: <data><node>node_oy75h00204</node><entry><content>content_b1h190205</content></entry></data> 2022-05-22 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e6553ed5-9b92-4113-83c0-b6fa7f9c0ccc</value></item-id></result> 2022-05-22 22:56:57 | contains: true 2022-05-22 22:56:57 | [Mutex] received everything. 2022-05-22 22:56:57 | [Mutex] isItemNotified: user_regular2et2et0203@test-domain.com:message:received:content_b1h190205 :: true 2022-05-22 22:56:57 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-22 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:56:57 | command: <data><node>node_oy75h00204</node><expire-at>2022-05-23T05:56:52Z</expire-at><entry><content>content_rdsn4s0206</content></entry></data> 2022-05-22 22:56:57 | target: http://localhost:8088 2022-05-22 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-22 22:56:57 | entity: <data><node>node_oy75h00204</node><expire-at>2022-05-23T05:56:52Z</expire-at><entry><content>content_rdsn4s0206</content></entry></data> 2022-05-22 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>653b9306-d538-411a-9144-1e9fd013eff2</value></item-id></result> 2022-05-22 22:56:57 | contains: true 2022-05-22 22:56:57 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_rdsn4s0206] 2022-05-22 22:57:12 | [Mutex] timeout. Not received [user_regular2et2et0203@test-domain.com:message:received:content_rdsn4s0206] 2022-05-22 22:57:12 | [Mutex] isItemNotified: user_regular2et2et0203@test-domain.com:message:received:content_rdsn4s0206 :: false 2022-05-22 22:57:12 | ===== publishing normal message (to offline) 2022-05-22 22:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:57:12 | command: <data><node>node_oy75h00204</node><entry><content>content_25pgk90207</content></entry></data> 2022-05-22 22:57:12 | target: http://localhost:8088 2022-05-22 22:57:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-22 22:57:12 | entity: <data><node>node_oy75h00204</node><entry><content>content_25pgk90207</content></entry></data> 2022-05-22 22:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97112961-0dc6-46fa-9681-aee7ba68bcbb</value></item-id></result> 2022-05-22 22:57:12 | contains: true 2022-05-22 22:57:18 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_25pgk90207] 2022-05-22 22:57:18 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_25pgk90207] 2022-05-22 22:57:18 | [Mutex] received everything. 2022-05-22 22:57:18 | [Mutex] isItemNotified: user_regular2et2et0203@test-domain.com:message:received:content_25pgk90207 :: true 2022-05-22 22:57:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-22 22:57:18 | [Mutex] received everything. 2022-05-22 22:57:18 | [Mutex] isItemNotified: node_oy75h00204:subscribe_node:success :: true 2022-05-22 22:57:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:57:18 | command: <data><node>node_oy75h00204</node><expire-at>2022-05-23T05:57:23Z</expire-at><entry><content>content_f4bde10208</content></entry></data> 2022-05-22 22:57:18 | target: http://localhost:8088 2022-05-22 22:57:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-22 22:57:18 | entity: <data><node>node_oy75h00204</node><expire-at>2022-05-23T05:57:23Z</expire-at><entry><content>content_f4bde10208</content></entry></data> 2022-05-22 22:57:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:57:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:57:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b343906-155d-453c-9e23-e4de6daa3d70</value></item-id></result> 2022-05-22 22:57:18 | contains: true 2022-05-22 22:57:26 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_f4bde10208] 2022-05-22 22:57:26 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_f4bde10208] 2022-05-22 22:57:26 | [Mutex] waiting for: [user_regular2et2et0203@test-domain.com:message:received:content_f4bde10208] 2022-05-22 22:57:41 | [Mutex] timeout. Not received [user_regular2et2et0203@test-domain.com:message:received:content_f4bde10208] 2022-05-22 22:57:41 | [Mutex] received everything. 2022-05-22 22:57:41 | [Mutex] isItemNotified: user_regular2et2et0203@test-domain.com:message:received:content_f4bde10208 :: false 2022-05-22 22:57:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f4bde10208 :: true |