Test duration : 45.305s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.624s |
2021-05-27 23:11:48 |
2021-05-27 23:11:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-27 23:11:48 | ------------------------------------ 2021-05-27 23:11:48 | [Mutex] isItemNotified: node_9hjslh0203:exists :: false 2021-05-27 23:11:48 | [Mutex] waiting for: [node_9hjslh0203:create_node] 2021-05-27 23:11:48 | [Mutex] received everything. 2021-05-27 23:11:48 | [Mutex] isItemNotified: node_9hjslh0203:create_node:success :: true 2021-05-27 23:11:48 | [Mutex] waiting for: [node_9hjslh0203:subscribe_node] 2021-05-27 23:11:48 | [Mutex] received everything. 2021-05-27 23:11:48 | [Mutex] isItemNotified: node_9hjslh0203:subscribe_node:success :: true 2021-05-27 23:11:48 | ===== publishing normal message (to online) 2021-05-27 23:11:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 23:11:48 | command: <data><node>node_9hjslh0203</node><entry><content>content_ug25e60204</content></entry></data> 2021-05-27 23:11:48 | target: http://localhost:8088 2021-05-27 23:11:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 23:11:48 | entity: <data><node>node_9hjslh0203</node><entry><content>content_ug25e60204</content></entry></data> 2021-05-27 23:11:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:11:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 23:11:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21aa959e-706d-440d-8b47-fabb1851853c</value></item-id></result> 2021-05-27 23:11:48 | contains: true 2021-05-27 23:11:48 | [Mutex] received everything. 2021-05-27 23:11:48 | [Mutex] isItemNotified: user_regularbhml5l0202@test-domain.com:message:received:content_ug25e60204 :: true 2021-05-27 23:11:48 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-27 23:11:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 23:11:48 | command: <data><node>node_9hjslh0203</node><expire-at>2021-05-28T06:11:43Z</expire-at><entry><content>content_hczqf40205</content></entry></data> 2021-05-27 23:11:48 | target: http://localhost:8088 2021-05-27 23:11:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 23:11:48 | entity: <data><node>node_9hjslh0203</node><expire-at>2021-05-28T06:11:43Z</expire-at><entry><content>content_hczqf40205</content></entry></data> 2021-05-27 23:11:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:11:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 23:11:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42dc1341-abcf-40b7-967f-f96f5724db94</value></item-id></result> 2021-05-27 23:11:48 | contains: true 2021-05-27 23:11:48 | [Mutex] waiting for: [user_regularbhml5l0202@test-domain.com:message:received:content_hczqf40205] 2021-05-27 23:12:03 | [Mutex] timeout. Not received [user_regularbhml5l0202@test-domain.com:message:received:content_hczqf40205] 2021-05-27 23:12:03 | [Mutex] isItemNotified: user_regularbhml5l0202@test-domain.com:message:received:content_hczqf40205 :: false 2021-05-27 23:12:03 | ===== publishing normal message (to offline) 2021-05-27 23:12:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 23:12:03 | command: <data><node>node_9hjslh0203</node><entry><content>content_fwsspy0206</content></entry></data> 2021-05-27 23:12:03 | target: http://localhost:8088 2021-05-27 23:12:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 23:12:03 | entity: <data><node>node_9hjslh0203</node><entry><content>content_fwsspy0206</content></entry></data> 2021-05-27 23:12:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:12:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 23:12:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>30b09d9d-ad41-49f1-ac07-7b006ea97d23</value></item-id></result> 2021-05-27 23:12:03 | contains: true 2021-05-27 23:12:08 | [Mutex] waiting for: [user_regularbhml5l0202@test-domain.com:message:received:content_fwsspy0206] 2021-05-27 23:12:08 | [Mutex] received everything. 2021-05-27 23:12:08 | [Mutex] isItemNotified: user_regularbhml5l0202@test-domain.com:message:received:content_fwsspy0206 :: true 2021-05-27 23:12:08 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-27 23:12:08 | [Mutex] received everything. 2021-05-27 23:12:08 | [Mutex] isItemNotified: node_9hjslh0203:subscribe_node:success :: true 2021-05-27 23:12:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 23:12:08 | command: <data><node>node_9hjslh0203</node><expire-at>2021-05-28T06:12:13Z</expire-at><entry><content>content_jj24780207</content></entry></data> 2021-05-27 23:12:08 | target: http://localhost:8088 2021-05-27 23:12:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 23:12:08 | entity: <data><node>node_9hjslh0203</node><expire-at>2021-05-28T06:12:13Z</expire-at><entry><content>content_jj24780207</content></entry></data> 2021-05-27 23:12:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:12:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 23:12:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cca81c6-2c1e-425a-a3b8-043cf01a20cb</value></item-id></result> 2021-05-27 23:12:08 | contains: true 2021-05-27 23:12:16 | [Mutex] waiting for: [user_regularbhml5l0202@test-domain.com:message:received:content_jj24780207] 2021-05-27 23:12:16 | [Mutex] waiting for: [user_regularbhml5l0202@test-domain.com:message:received:content_jj24780207] 2021-05-27 23:12:31 | [Mutex] timeout. Not received [user_regularbhml5l0202@test-domain.com:message:received:content_jj24780207] 2021-05-27 23:12:31 | [Mutex] received everything. 2021-05-27 23:12:31 | [Mutex] isItemNotified: user_regularbhml5l0202@test-domain.com:message:received:content_jj24780207 :: false 2021-05-27 23:12:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jj24780207 :: true |