Test duration : 44.931s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.683s |
2022-02-17 04:09:38 |
2022-02-17 04:09:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-17 04:09:38 | ------------------------------------ 2022-02-17 04:09:38 | [Mutex] isItemNotified: node_8w8llz0203:exists :: false 2022-02-17 04:09:38 | [Mutex] waiting for: [node_8w8llz0203:create_node] 2022-02-17 04:09:38 | [Mutex] received everything. 2022-02-17 04:09:38 | [Mutex] isItemNotified: node_8w8llz0203:create_node:success :: true 2022-02-17 04:09:38 | [Mutex] waiting for: [node_8w8llz0203:subscribe_node] 2022-02-17 04:09:38 | [Mutex] waiting for: [node_8w8llz0203:subscribe_node] 2022-02-17 04:09:38 | [Mutex] received everything. 2022-02-17 04:09:38 | [Mutex] isItemNotified: node_8w8llz0203:subscribe_node:success :: true 2022-02-17 04:09:38 | ===== publishing normal message (to online) 2022-02-17 04:09:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:09:38 | command: <data><node>node_8w8llz0203</node><entry><content>content_o3s8px0204</content></entry></data> 2022-02-17 04:09:38 | target: http://localhost:8088 2022-02-17 04:09:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:09:38 | entity: <data><node>node_8w8llz0203</node><entry><content>content_o3s8px0204</content></entry></data> 2022-02-17 04:09:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:09:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:09:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>71fd3dd9-c4b9-40d7-aef6-a8072d60f969</value></item-id></result> 2022-02-17 04:09:38 | contains: true 2022-02-17 04:09:38 | [Mutex] received everything. 2022-02-17 04:09:38 | [Mutex] isItemNotified: user_regular1tzrb80202@test-domain.com:message:received:content_o3s8px0204 :: true 2022-02-17 04:09:38 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-17 04:09:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:09:38 | command: <data><node>node_8w8llz0203</node><expire-at>2022-02-17T12:09:33Z</expire-at><entry><content>content_ioswnx0205</content></entry></data> 2022-02-17 04:09:38 | target: http://localhost:8088 2022-02-17 04:09:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:09:38 | entity: <data><node>node_8w8llz0203</node><expire-at>2022-02-17T12:09:33Z</expire-at><entry><content>content_ioswnx0205</content></entry></data> 2022-02-17 04:09:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:09:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:09:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12dc6237-84bb-4bbf-923e-4ed44be79032</value></item-id></result> 2022-02-17 04:09:38 | contains: true 2022-02-17 04:09:38 | [Mutex] waiting for: [user_regular1tzrb80202@test-domain.com:message:received:content_ioswnx0205] 2022-02-17 04:09:53 | [Mutex] timeout. Not received [user_regular1tzrb80202@test-domain.com:message:received:content_ioswnx0205] 2022-02-17 04:09:53 | [Mutex] isItemNotified: user_regular1tzrb80202@test-domain.com:message:received:content_ioswnx0205 :: false 2022-02-17 04:09:53 | ===== publishing normal message (to offline) 2022-02-17 04:09:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:09:53 | command: <data><node>node_8w8llz0203</node><entry><content>content_rqqlor0206</content></entry></data> 2022-02-17 04:09:53 | target: http://localhost:8088 2022-02-17 04:09:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:09:53 | entity: <data><node>node_8w8llz0203</node><entry><content>content_rqqlor0206</content></entry></data> 2022-02-17 04:09:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:09:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:09:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38ce9fa2-7533-4b57-8819-3c1b4eda70ee</value></item-id></result> 2022-02-17 04:09:53 | contains: true 2022-02-17 04:09:58 | [Mutex] waiting for: [user_regular1tzrb80202@test-domain.com:message:received:content_rqqlor0206] 2022-02-17 04:09:58 | [Mutex] waiting for: [user_regular1tzrb80202@test-domain.com:message:received:content_rqqlor0206] 2022-02-17 04:09:58 | [Mutex] received everything. 2022-02-17 04:09:58 | [Mutex] isItemNotified: user_regular1tzrb80202@test-domain.com:message:received:content_rqqlor0206 :: true 2022-02-17 04:09:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-17 04:09:58 | [Mutex] received everything. 2022-02-17 04:09:58 | [Mutex] isItemNotified: node_8w8llz0203:subscribe_node:success :: true 2022-02-17 04:09:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:09:58 | command: <data><node>node_8w8llz0203</node><expire-at>2022-02-17T12:10:03Z</expire-at><entry><content>content_w7eyqc0207</content></entry></data> 2022-02-17 04:09:58 | target: http://localhost:8088 2022-02-17 04:09:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:09:58 | entity: <data><node>node_8w8llz0203</node><expire-at>2022-02-17T12:10:03Z</expire-at><entry><content>content_w7eyqc0207</content></entry></data> 2022-02-17 04:09:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:09:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:09:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ad1a8b8-c8a0-4cef-a08b-025a664fe534</value></item-id></result> 2022-02-17 04:09:58 | contains: true 2022-02-17 04:10:06 | [Mutex] waiting for: [user_regular1tzrb80202@test-domain.com:message:received:content_w7eyqc0207] 2022-02-17 04:10:06 | [Mutex] waiting for: [user_regular1tzrb80202@test-domain.com:message:received:content_w7eyqc0207] 2022-02-17 04:10:21 | [Mutex] timeout. Not received [user_regular1tzrb80202@test-domain.com:message:received:content_w7eyqc0207] 2022-02-17 04:10:21 | [Mutex] received everything. 2022-02-17 04:10:21 | [Mutex] isItemNotified: user_regular1tzrb80202@test-domain.com:message:received:content_w7eyqc0207 :: false 2022-02-17 04:10:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w7eyqc0207 :: true |