Test duration : 45.072s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.760s |
2021-09-19 22:32:19 |
2021-09-19 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-19 22:32:19 | ------------------------------------ 2021-09-19 22:32:19 | [Mutex] isItemNotified: node_wfb75p0203:exists :: false 2021-09-19 22:32:19 | [Mutex] waiting for: [node_wfb75p0203:create_node] 2021-09-19 22:32:19 | [Mutex] received everything. 2021-09-19 22:32:19 | [Mutex] isItemNotified: node_wfb75p0203:create_node:success :: true 2021-09-19 22:32:19 | [Mutex] waiting for: [node_wfb75p0203:subscribe_node] 2021-09-19 22:32:19 | [Mutex] waiting for: [node_wfb75p0203:subscribe_node] 2021-09-19 22:32:19 | [Mutex] received everything. 2021-09-19 22:32:19 | [Mutex] isItemNotified: node_wfb75p0203:subscribe_node:success :: true 2021-09-19 22:32:19 | ===== publishing normal message (to online) 2021-09-19 22:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:32:19 | command: <data><node>node_wfb75p0203</node><entry><content>content_ofqxrz0204</content></entry></data> 2021-09-19 22:32:19 | target: http://localhost:8088 2021-09-19 22:32:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:32:19 | entity: <data><node>node_wfb75p0203</node><entry><content>content_ofqxrz0204</content></entry></data> 2021-09-19 22:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9cbec60f-2011-4fb7-b735-95883d91f4b0</value></item-id></result> 2021-09-19 22:32:19 | contains: true 2021-09-19 22:32:19 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_ofqxrz0204] 2021-09-19 22:32:19 | [Mutex] received everything. 2021-09-19 22:32:19 | [Mutex] isItemNotified: user_regularr0bygp0202@test-domain.com:message:received:content_ofqxrz0204 :: true 2021-09-19 22:32:19 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-19 22:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:32:19 | command: <data><node>node_wfb75p0203</node><expire-at>2021-09-20T05:32:14Z</expire-at><entry><content>content_oz8yo0205</content></entry></data> 2021-09-19 22:32:19 | target: http://localhost:8088 2021-09-19 22:32:19 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-09-19 22:32:19 | entity: <data><node>node_wfb75p0203</node><expire-at>2021-09-20T05:32:14Z</expire-at><entry><content>content_oz8yo0205</content></entry></data> 2021-09-19 22:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42ec197e-2764-4caf-bef4-1976d3ec9835</value></item-id></result> 2021-09-19 22:32:19 | contains: true 2021-09-19 22:32:19 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_oz8yo0205] 2021-09-19 22:32:34 | [Mutex] timeout. Not received [user_regularr0bygp0202@test-domain.com:message:received:content_oz8yo0205] 2021-09-19 22:32:34 | [Mutex] isItemNotified: user_regularr0bygp0202@test-domain.com:message:received:content_oz8yo0205 :: false 2021-09-19 22:32:34 | ===== publishing normal message (to offline) 2021-09-19 22:32:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:32:34 | command: <data><node>node_wfb75p0203</node><entry><content>content_rqqcs00206</content></entry></data> 2021-09-19 22:32:34 | target: http://localhost:8088 2021-09-19 22:32:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:32:34 | entity: <data><node>node_wfb75p0203</node><entry><content>content_rqqcs00206</content></entry></data> 2021-09-19 22:32:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:32:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:32:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a809f667-4bf0-44ff-86df-8feb8aaf4a96</value></item-id></result> 2021-09-19 22:32:34 | contains: true 2021-09-19 22:32:39 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_rqqcs00206] 2021-09-19 22:32:39 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_rqqcs00206] 2021-09-19 22:32:39 | [Mutex] received everything. 2021-09-19 22:32:39 | [Mutex] isItemNotified: user_regularr0bygp0202@test-domain.com:message:received:content_rqqcs00206 :: true 2021-09-19 22:32:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-19 22:32:39 | [Mutex] received everything. 2021-09-19 22:32:39 | [Mutex] isItemNotified: node_wfb75p0203:subscribe_node:success :: true 2021-09-19 22:32:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:32:39 | command: <data><node>node_wfb75p0203</node><expire-at>2021-09-20T05:32:44Z</expire-at><entry><content>content_5wx8fr0207</content></entry></data> 2021-09-19 22:32:39 | target: http://localhost:8088 2021-09-19 22:32:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-19 22:32:39 | entity: <data><node>node_wfb75p0203</node><expire-at>2021-09-20T05:32:44Z</expire-at><entry><content>content_5wx8fr0207</content></entry></data> 2021-09-19 22:32:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:32:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:32:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>352449b2-0b9e-49f0-8f39-5a434d25ddcf</value></item-id></result> 2021-09-19 22:32:39 | contains: true 2021-09-19 22:32:47 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_5wx8fr0207] 2021-09-19 22:32:47 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_5wx8fr0207] 2021-09-19 22:32:47 | [Mutex] waiting for: [user_regularr0bygp0202@test-domain.com:message:received:content_5wx8fr0207] 2021-09-19 22:33:02 | [Mutex] timeout. Not received [user_regularr0bygp0202@test-domain.com:message:received:content_5wx8fr0207] 2021-09-19 22:33:02 | [Mutex] received everything. 2021-09-19 22:33:02 | [Mutex] isItemNotified: user_regularr0bygp0202@test-domain.com:message:received:content_5wx8fr0207 :: false 2021-09-19 22:33:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5wx8fr0207 :: true |