Test duration : 45.633s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.678s |
2021-03-24 22:40:51 |
2021-03-24 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-24 22:40:51 | ------------------------------------ 2021-03-24 22:40:51 | [Mutex] isItemNotified: node_bygq2y0203:exists :: false 2021-03-24 22:40:51 | [Mutex] waiting for: [node_bygq2y0203:create_node] 2021-03-24 22:40:51 | [Mutex] received everything. 2021-03-24 22:40:51 | [Mutex] isItemNotified: node_bygq2y0203:create_node:success :: true 2021-03-24 22:40:51 | [Mutex] waiting for: [node_bygq2y0203:subscribe_node] 2021-03-24 22:40:51 | [Mutex] received everything. 2021-03-24 22:40:51 | [Mutex] isItemNotified: node_bygq2y0203:subscribe_node:success :: true 2021-03-24 22:40:51 | ===== publishing normal message (to online) 2021-03-24 22:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:40:51 | command: <data><node>node_bygq2y0203</node><entry><content>content_bkur7c0204</content></entry></data> 2021-03-24 22:40:51 | target: http://localhost:8088 2021-03-24 22:40:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:40:51 | entity: <data><node>node_bygq2y0203</node><entry><content>content_bkur7c0204</content></entry></data> 2021-03-24 22:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a03f93aa-5e5a-4f1f-b79f-3c6085379bd1</value></item-id></result> 2021-03-24 22:40:51 | contains: true 2021-03-24 22:40:51 | [Mutex] received everything. 2021-03-24 22:40:51 | [Mutex] isItemNotified: user_regulara01fwd0202@test-domain.com:message:received:content_bkur7c0204 :: true 2021-03-24 22:40:51 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-24 22:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:40:51 | command: <data><node>node_bygq2y0203</node><expire-at>2021-03-25T05:40:46Z</expire-at><entry><content>content_yys6mp0205</content></entry></data> 2021-03-24 22:40:51 | target: http://localhost:8088 2021-03-24 22:40:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:40:51 | entity: <data><node>node_bygq2y0203</node><expire-at>2021-03-25T05:40:46Z</expire-at><entry><content>content_yys6mp0205</content></entry></data> 2021-03-24 22:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc76aa24-da07-469e-b6e5-941547658320</value></item-id></result> 2021-03-24 22:40:51 | contains: true 2021-03-24 22:40:51 | [Mutex] waiting for: [user_regulara01fwd0202@test-domain.com:message:received:content_yys6mp0205] 2021-03-24 22:41:06 | [Mutex] timeout. Not received [user_regulara01fwd0202@test-domain.com:message:received:content_yys6mp0205] 2021-03-24 22:41:06 | [Mutex] isItemNotified: user_regulara01fwd0202@test-domain.com:message:received:content_yys6mp0205 :: false 2021-03-24 22:41:06 | ===== publishing normal message (to offline) 2021-03-24 22:41:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:41:06 | command: <data><node>node_bygq2y0203</node><entry><content>content_s945hn0206</content></entry></data> 2021-03-24 22:41:06 | target: http://localhost:8088 2021-03-24 22:41:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:41:06 | entity: <data><node>node_bygq2y0203</node><entry><content>content_s945hn0206</content></entry></data> 2021-03-24 22:41:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:41:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:41:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a787c20-0a30-4349-bb2c-395908f2d638</value></item-id></result> 2021-03-24 22:41:06 | contains: true 2021-03-24 22:41:12 | [Mutex] waiting for: [user_regulara01fwd0202@test-domain.com:message:received:content_s945hn0206] 2021-03-24 22:41:12 | [Mutex] received everything. 2021-03-24 22:41:12 | [Mutex] isItemNotified: user_regulara01fwd0202@test-domain.com:message:received:content_s945hn0206 :: true 2021-03-24 22:41:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-24 22:41:12 | [Mutex] received everything. 2021-03-24 22:41:12 | [Mutex] isItemNotified: node_bygq2y0203:subscribe_node:success :: true 2021-03-24 22:41:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:41:12 | command: <data><node>node_bygq2y0203</node><expire-at>2021-03-25T05:41:17Z</expire-at><entry><content>content_k5mlc60207</content></entry></data> 2021-03-24 22:41:12 | target: http://localhost:8088 2021-03-24 22:41:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:41:12 | entity: <data><node>node_bygq2y0203</node><expire-at>2021-03-25T05:41:17Z</expire-at><entry><content>content_k5mlc60207</content></entry></data> 2021-03-24 22:41:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:41:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:41:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e434a2e-90b7-439f-adbc-4dd1c2dc4921</value></item-id></result> 2021-03-24 22:41:12 | contains: true 2021-03-24 22:41:20 | [Mutex] waiting for: [user_regulara01fwd0202@test-domain.com:message:received:content_k5mlc60207] 2021-03-24 22:41:35 | [Mutex] timeout. Not received [user_regulara01fwd0202@test-domain.com:message:received:content_k5mlc60207] 2021-03-24 22:41:35 | [Mutex] received everything. 2021-03-24 22:41:35 | [Mutex] isItemNotified: user_regulara01fwd0202@test-domain.com:message:received:content_k5mlc60207 :: false 2021-03-24 22:41:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k5mlc60207 :: true |