Test duration : 45.339s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.772s |
2020-09-18 00:19:50 |
2020-09-18 00:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 00:19:50 | ------------------------------------ 2020-09-18 00:19:50 | [Mutex] isItemNotified: node_mwoere0203:exists :: false 2020-09-18 00:19:50 | [Mutex] waiting for: [node_mwoere0203:create_node] 2020-09-18 00:19:50 | [Mutex] received everything. 2020-09-18 00:19:50 | [Mutex] isItemNotified: node_mwoere0203:create_node:success :: true 2020-09-18 00:19:50 | [Mutex] waiting for: [node_mwoere0203:subscribe_node] 2020-09-18 00:19:50 | [Mutex] waiting for: [node_mwoere0203:subscribe_node] 2020-09-18 00:19:50 | [Mutex] received everything. 2020-09-18 00:19:50 | [Mutex] isItemNotified: node_mwoere0203:subscribe_node:success :: true 2020-09-18 00:19:50 | ===== publishing normal message (to online) 2020-09-18 00:19:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 00:19:50 | command: <data><node>node_mwoere0203</node><entry><content>content_wdzxsk0204</content></entry></data> 2020-09-18 00:19:50 | target: http://localhost:8088 2020-09-18 00:19:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 00:19:50 | entity: <data><node>node_mwoere0203</node><entry><content>content_wdzxsk0204</content></entry></data> 2020-09-18 00:19:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:19:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 00:19:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>351ef95c-04e8-4edd-a32d-d8577b40fffb</value></item-id></result> 2020-09-18 00:19:50 | contains: true 2020-09-18 00:19:50 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_wdzxsk0204] 2020-09-18 00:19:50 | [Mutex] received everything. 2020-09-18 00:19:50 | [Mutex] isItemNotified: user_regularl6eada0202@test-domain.com:message:received:content_wdzxsk0204 :: true 2020-09-18 00:19:50 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 00:19:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 00:19:50 | command: <data><node>node_mwoere0203</node><expire-at>2020-09-18T07:19:45Z</expire-at><entry><content>content_bodiov0205</content></entry></data> 2020-09-18 00:19:50 | target: http://localhost:8088 2020-09-18 00:19:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 00:19:50 | entity: <data><node>node_mwoere0203</node><expire-at>2020-09-18T07:19:45Z</expire-at><entry><content>content_bodiov0205</content></entry></data> 2020-09-18 00:19:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:19:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 00:19:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6c703e8-2ede-4282-b159-099eee327d22</value></item-id></result> 2020-09-18 00:19:50 | contains: true 2020-09-18 00:19:50 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_bodiov0205] 2020-09-18 00:20:05 | [Mutex] timeout. Not received [user_regularl6eada0202@test-domain.com:message:received:content_bodiov0205] 2020-09-18 00:20:05 | [Mutex] isItemNotified: user_regularl6eada0202@test-domain.com:message:received:content_bodiov0205 :: false 2020-09-18 00:20:05 | ===== publishing normal message (to offline) 2020-09-18 00:20:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 00:20:05 | command: <data><node>node_mwoere0203</node><entry><content>content_aqvk960206</content></entry></data> 2020-09-18 00:20:05 | target: http://localhost:8088 2020-09-18 00:20:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 00:20:05 | entity: <data><node>node_mwoere0203</node><entry><content>content_aqvk960206</content></entry></data> 2020-09-18 00:20:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:20:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 00:20:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e111cb13-21d3-4c0b-bfed-89c8fbabd4a0</value></item-id></result> 2020-09-18 00:20:05 | contains: true 2020-09-18 00:20:10 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_aqvk960206] 2020-09-18 00:20:10 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_aqvk960206] 2020-09-18 00:20:10 | [Mutex] received everything. 2020-09-18 00:20:10 | [Mutex] isItemNotified: user_regularl6eada0202@test-domain.com:message:received:content_aqvk960206 :: true 2020-09-18 00:20:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 00:20:10 | [Mutex] received everything. 2020-09-18 00:20:10 | [Mutex] isItemNotified: node_mwoere0203:subscribe_node:success :: true 2020-09-18 00:20:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 00:20:10 | command: <data><node>node_mwoere0203</node><expire-at>2020-09-18T07:20:15Z</expire-at><entry><content>content_e7k02t0207</content></entry></data> 2020-09-18 00:20:10 | target: http://localhost:8088 2020-09-18 00:20:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 00:20:10 | entity: <data><node>node_mwoere0203</node><expire-at>2020-09-18T07:20:15Z</expire-at><entry><content>content_e7k02t0207</content></entry></data> 2020-09-18 00:20:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:20:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 00:20:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8b375c4-526a-4503-bd01-e479a4fe4b24</value></item-id></result> 2020-09-18 00:20:11 | contains: true 2020-09-18 00:20:19 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_e7k02t0207] 2020-09-18 00:20:19 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_e7k02t0207] 2020-09-18 00:20:19 | [Mutex] waiting for: [user_regularl6eada0202@test-domain.com:message:received:content_e7k02t0207] 2020-09-18 00:20:34 | [Mutex] timeout. Not received [user_regularl6eada0202@test-domain.com:message:received:content_e7k02t0207] 2020-09-18 00:20:34 | [Mutex] received everything. 2020-09-18 00:20:34 | [Mutex] isItemNotified: user_regularl6eada0202@test-domain.com:message:received:content_e7k02t0207 :: false 2020-09-18 00:20:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e7k02t0207 :: true |