Test duration : 45.408s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.700s |
2022-02-20 21:34:37 |
2022-02-20 21:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-20 21:34:37 | ------------------------------------ 2022-02-20 21:34:37 | [Mutex] isItemNotified: node_3got450203:exists :: false 2022-02-20 21:34:37 | [Mutex] waiting for: [node_3got450203:create_node] 2022-02-20 21:34:37 | [Mutex] received everything. 2022-02-20 21:34:37 | [Mutex] isItemNotified: node_3got450203:create_node:success :: true 2022-02-20 21:34:37 | [Mutex] waiting for: [node_3got450203:subscribe_node] 2022-02-20 21:34:37 | [Mutex] received everything. 2022-02-20 21:34:37 | [Mutex] isItemNotified: node_3got450203:subscribe_node:success :: true 2022-02-20 21:34:37 | ===== publishing normal message (to online) 2022-02-20 21:34:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 21:34:37 | command: <data><node>node_3got450203</node><entry><content>content_hz6muj0204</content></entry></data> 2022-02-20 21:34:37 | target: http://localhost:8088 2022-02-20 21:34:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 21:34:37 | entity: <data><node>node_3got450203</node><entry><content>content_hz6muj0204</content></entry></data> 2022-02-20 21:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:34:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 21:34:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85700065-e3b3-4496-93f3-28a1f02aa66f</value></item-id></result> 2022-02-20 21:34:37 | contains: true 2022-02-20 21:34:37 | [Mutex] received everything. 2022-02-20 21:34:37 | [Mutex] isItemNotified: user_regulardabotq0202@test-domain.com:message:received:content_hz6muj0204 :: true 2022-02-20 21:34:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-20 21:34:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 21:34:37 | command: <data><node>node_3got450203</node><expire-at>2022-02-21T05:34:32Z</expire-at><entry><content>content_wv5wqm0205</content></entry></data> 2022-02-20 21:34:37 | target: http://localhost:8088 2022-02-20 21:34:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 21:34:37 | entity: <data><node>node_3got450203</node><expire-at>2022-02-21T05:34:32Z</expire-at><entry><content>content_wv5wqm0205</content></entry></data> 2022-02-20 21:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:34:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 21:34:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d957eae-0f22-4a4a-9c34-43bb2fa75102</value></item-id></result> 2022-02-20 21:34:37 | contains: true 2022-02-20 21:34:37 | [Mutex] waiting for: [user_regulardabotq0202@test-domain.com:message:received:content_wv5wqm0205] 2022-02-20 21:34:52 | [Mutex] timeout. Not received [user_regulardabotq0202@test-domain.com:message:received:content_wv5wqm0205] 2022-02-20 21:34:52 | [Mutex] isItemNotified: user_regulardabotq0202@test-domain.com:message:received:content_wv5wqm0205 :: false 2022-02-20 21:34:52 | ===== publishing normal message (to offline) 2022-02-20 21:34:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 21:34:52 | command: <data><node>node_3got450203</node><entry><content>content_xe9elv0206</content></entry></data> 2022-02-20 21:34:52 | target: http://localhost:8088 2022-02-20 21:34:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 21:34:52 | entity: <data><node>node_3got450203</node><entry><content>content_xe9elv0206</content></entry></data> 2022-02-20 21:34:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:34:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 21:34:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d33291eb-2268-438a-89e2-f24bb1a3e809</value></item-id></result> 2022-02-20 21:34:52 | contains: true 2022-02-20 21:34:57 | [Mutex] waiting for: [user_regulardabotq0202@test-domain.com:message:received:content_xe9elv0206] 2022-02-20 21:34:57 | [Mutex] received everything. 2022-02-20 21:34:57 | [Mutex] isItemNotified: user_regulardabotq0202@test-domain.com:message:received:content_xe9elv0206 :: true 2022-02-20 21:34:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-20 21:34:57 | [Mutex] received everything. 2022-02-20 21:34:57 | [Mutex] isItemNotified: node_3got450203:subscribe_node:success :: true 2022-02-20 21:34:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 21:34:57 | command: <data><node>node_3got450203</node><expire-at>2022-02-21T05:35:02Z</expire-at><entry><content>content_fhcu6g0207</content></entry></data> 2022-02-20 21:34:57 | target: http://localhost:8088 2022-02-20 21:34:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 21:34:57 | entity: <data><node>node_3got450203</node><expire-at>2022-02-21T05:35:02Z</expire-at><entry><content>content_fhcu6g0207</content></entry></data> 2022-02-20 21:34:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:34:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 21:34:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f509ed3-361f-4220-8d56-a71c4ed4e7c3</value></item-id></result> 2022-02-20 21:34:57 | contains: true 2022-02-20 21:35:05 | [Mutex] waiting for: [user_regulardabotq0202@test-domain.com:message:received:content_fhcu6g0207] 2022-02-20 21:35:05 | [Mutex] waiting for: [user_regulardabotq0202@test-domain.com:message:received:content_fhcu6g0207] 2022-02-20 21:35:20 | [Mutex] timeout. Not received [user_regulardabotq0202@test-domain.com:message:received:content_fhcu6g0207] 2022-02-20 21:35:20 | [Mutex] received everything. 2022-02-20 21:35:20 | [Mutex] isItemNotified: user_regulardabotq0202@test-domain.com:message:received:content_fhcu6g0207 :: false 2022-02-20 21:35:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fhcu6g0207 :: true |