Test duration : 45.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2022-03-03 03:44:57 |
2022-03-03 03:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-03 03:44:57 | ------------------------------------ 2022-03-03 03:44:57 | [Mutex] isItemNotified: node_di8ukp0203:exists :: false 2022-03-03 03:44:57 | [Mutex] waiting for: [node_di8ukp0203:create_node] 2022-03-03 03:44:57 | [Mutex] received everything. 2022-03-03 03:44:57 | [Mutex] isItemNotified: node_di8ukp0203:create_node:success :: true 2022-03-03 03:44:57 | [Mutex] waiting for: [node_di8ukp0203:subscribe_node] 2022-03-03 03:44:57 | [Mutex] waiting for: [node_di8ukp0203:subscribe_node] 2022-03-03 03:44:57 | [Mutex] received everything. 2022-03-03 03:44:57 | [Mutex] isItemNotified: node_di8ukp0203:subscribe_node:success :: true 2022-03-03 03:44:57 | ===== publishing normal message (to online) 2022-03-03 03:44:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:44:57 | command: <data><node>node_di8ukp0203</node><entry><content>content_v0m49s0204</content></entry></data> 2022-03-03 03:44:57 | target: http://localhost:8088 2022-03-03 03:44:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 03:44:57 | entity: <data><node>node_di8ukp0203</node><entry><content>content_v0m49s0204</content></entry></data> 2022-03-03 03:44:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:44:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:44:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9cd4f8c5-7a14-43cf-bfb9-9ff0e9a05ba4</value></item-id></result> 2022-03-03 03:44:57 | contains: true 2022-03-03 03:44:57 | [Mutex] received everything. 2022-03-03 03:44:57 | [Mutex] isItemNotified: user_regular6or81p0202@test-domain.com:message:received:content_v0m49s0204 :: true 2022-03-03 03:44:57 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-03 03:44:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:44:57 | command: <data><node>node_di8ukp0203</node><expire-at>2022-03-03T11:44:52Z</expire-at><entry><content>content_hrqiij0205</content></entry></data> 2022-03-03 03:44:57 | target: http://localhost:8088 2022-03-03 03:44:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 03:44:57 | entity: <data><node>node_di8ukp0203</node><expire-at>2022-03-03T11:44:52Z</expire-at><entry><content>content_hrqiij0205</content></entry></data> 2022-03-03 03:44:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:44:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:44:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92ba0d28-152f-4e17-9ec0-90c115776290</value></item-id></result> 2022-03-03 03:44:57 | contains: true 2022-03-03 03:44:57 | [Mutex] waiting for: [user_regular6or81p0202@test-domain.com:message:received:content_hrqiij0205] 2022-03-03 03:45:12 | [Mutex] timeout. Not received [user_regular6or81p0202@test-domain.com:message:received:content_hrqiij0205] 2022-03-03 03:45:12 | [Mutex] isItemNotified: user_regular6or81p0202@test-domain.com:message:received:content_hrqiij0205 :: false 2022-03-03 03:45:12 | ===== publishing normal message (to offline) 2022-03-03 03:45:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:45:12 | command: <data><node>node_di8ukp0203</node><entry><content>content_ilgc5y0206</content></entry></data> 2022-03-03 03:45:12 | target: http://localhost:8088 2022-03-03 03:45:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 03:45:12 | entity: <data><node>node_di8ukp0203</node><entry><content>content_ilgc5y0206</content></entry></data> 2022-03-03 03:45:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:45:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:45:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d70d4287-411b-4bcc-8417-7e7d4631bb6c</value></item-id></result> 2022-03-03 03:45:12 | contains: true 2022-03-03 03:45:17 | [Mutex] waiting for: [user_regular6or81p0202@test-domain.com:message:received:content_ilgc5y0206] 2022-03-03 03:45:17 | [Mutex] received everything. 2022-03-03 03:45:17 | [Mutex] isItemNotified: user_regular6or81p0202@test-domain.com:message:received:content_ilgc5y0206 :: true 2022-03-03 03:45:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-03 03:45:17 | [Mutex] received everything. 2022-03-03 03:45:17 | [Mutex] isItemNotified: node_di8ukp0203:subscribe_node:success :: true 2022-03-03 03:45:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:45:17 | command: <data><node>node_di8ukp0203</node><expire-at>2022-03-03T11:45:22Z</expire-at><entry><content>content_3smn540207</content></entry></data> 2022-03-03 03:45:17 | target: http://localhost:8088 2022-03-03 03:45:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 03:45:17 | entity: <data><node>node_di8ukp0203</node><expire-at>2022-03-03T11:45:22Z</expire-at><entry><content>content_3smn540207</content></entry></data> 2022-03-03 03:45:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:45:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:45:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d713281e-b404-4706-a484-f4756549b299</value></item-id></result> 2022-03-03 03:45:17 | contains: true 2022-03-03 03:45:25 | [Mutex] waiting for: [user_regular6or81p0202@test-domain.com:message:received:content_3smn540207] 2022-03-03 03:45:40 | [Mutex] timeout. Not received [user_regular6or81p0202@test-domain.com:message:received:content_3smn540207] 2022-03-03 03:45:40 | [Mutex] received everything. 2022-03-03 03:45:40 | [Mutex] isItemNotified: user_regular6or81p0202@test-domain.com:message:received:content_3smn540207 :: false 2022-03-03 03:45:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3smn540207 :: true |