Test duration : 45.466s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.801s |
2021-01-26 21:32:19 |
2021-01-26 21:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-26 21:32:19 | ------------------------------------ 2021-01-26 21:32:19 | [Mutex] isItemNotified: node_vk2ibs0203:exists :: false 2021-01-26 21:32:19 | [Mutex] waiting for: [node_vk2ibs0203:create_node] 2021-01-26 21:32:19 | [Mutex] received everything. 2021-01-26 21:32:19 | [Mutex] isItemNotified: node_vk2ibs0203:create_node:success :: true 2021-01-26 21:32:19 | [Mutex] waiting for: [node_vk2ibs0203:subscribe_node] 2021-01-26 21:32:19 | [Mutex] waiting for: [node_vk2ibs0203:subscribe_node] 2021-01-26 21:32:19 | [Mutex] received everything. 2021-01-26 21:32:19 | [Mutex] isItemNotified: node_vk2ibs0203:subscribe_node:success :: true 2021-01-26 21:32:19 | ===== publishing normal message (to online) 2021-01-26 21:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-26 21:32:19 | command: <data><node>node_vk2ibs0203</node><entry><content>content_vl7r30204</content></entry></data> 2021-01-26 21:32:19 | target: http://localhost:8088 2021-01-26 21:32:19 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-01-26 21:32:19 | entity: <data><node>node_vk2ibs0203</node><entry><content>content_vl7r30204</content></entry></data> 2021-01-26 21:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-26 21:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c5d3fcd-4915-45fe-ba11-c56b65739480</value></item-id></result> 2021-01-26 21:32:19 | contains: true 2021-01-26 21:32:19 | [Mutex] waiting for: [user_regular4ekikk0202@test-domain.com:message:received:content_vl7r30204] 2021-01-26 21:32:19 | [Mutex] received everything. 2021-01-26 21:32:19 | [Mutex] isItemNotified: user_regular4ekikk0202@test-domain.com:message:received:content_vl7r30204 :: true 2021-01-26 21:32:19 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-26 21:32:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-26 21:32:19 | command: <data><node>node_vk2ibs0203</node><expire-at>2021-01-27T05:32:14Z</expire-at><entry><content>content_xuljqc0205</content></entry></data> 2021-01-26 21:32:19 | target: http://localhost:8088 2021-01-26 21:32:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-26 21:32:19 | entity: <data><node>node_vk2ibs0203</node><expire-at>2021-01-27T05:32:14Z</expire-at><entry><content>content_xuljqc0205</content></entry></data> 2021-01-26 21:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-26 21:32:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3903f972-f6a2-4f10-9219-5ee433432571</value></item-id></result> 2021-01-26 21:32:19 | contains: true 2021-01-26 21:32:19 | [Mutex] waiting for: [user_regular4ekikk0202@test-domain.com:message:received:content_xuljqc0205] 2021-01-26 21:32:34 | [Mutex] timeout. Not received [user_regular4ekikk0202@test-domain.com:message:received:content_xuljqc0205] 2021-01-26 21:32:34 | [Mutex] isItemNotified: user_regular4ekikk0202@test-domain.com:message:received:content_xuljqc0205 :: false 2021-01-26 21:32:34 | ===== publishing normal message (to offline) 2021-01-26 21:32:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-26 21:32:34 | command: <data><node>node_vk2ibs0203</node><entry><content>content_s4dyrs0206</content></entry></data> 2021-01-26 21:32:34 | target: http://localhost:8088 2021-01-26 21:32:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-26 21:32:34 | entity: <data><node>node_vk2ibs0203</node><entry><content>content_s4dyrs0206</content></entry></data> 2021-01-26 21:32:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-26 21:32:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1cf663e4-50e5-4231-84bb-701c616ebf64</value></item-id></result> 2021-01-26 21:32:34 | contains: true 2021-01-26 21:32:40 | [Mutex] waiting for: [user_regular4ekikk0202@test-domain.com:message:received:content_s4dyrs0206] 2021-01-26 21:32:40 | [Mutex] waiting for: [user_regular4ekikk0202@test-domain.com:message:received:content_s4dyrs0206] 2021-01-26 21:32:40 | [Mutex] received everything. 2021-01-26 21:32:40 | [Mutex] isItemNotified: user_regular4ekikk0202@test-domain.com:message:received:content_s4dyrs0206 :: true 2021-01-26 21:32:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-26 21:32:40 | [Mutex] received everything. 2021-01-26 21:32:40 | [Mutex] isItemNotified: node_vk2ibs0203:subscribe_node:success :: true 2021-01-26 21:32:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-26 21:32:40 | command: <data><node>node_vk2ibs0203</node><expire-at>2021-01-27T05:32:45Z</expire-at><entry><content>content_gcr0rh0207</content></entry></data> 2021-01-26 21:32:40 | target: http://localhost:8088 2021-01-26 21:32:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-26 21:32:40 | entity: <data><node>node_vk2ibs0203</node><expire-at>2021-01-27T05:32:45Z</expire-at><entry><content>content_gcr0rh0207</content></entry></data> 2021-01-26 21:32:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-26 21:32:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>714716f3-47c6-44c5-b759-5d7421a05e7e</value></item-id></result> 2021-01-26 21:32:40 | contains: true 2021-01-26 21:32:48 | [Mutex] waiting for: [user_regular4ekikk0202@test-domain.com:message:received:content_gcr0rh0207] 2021-01-26 21:33:03 | [Mutex] timeout. Not received [user_regular4ekikk0202@test-domain.com:message:received:content_gcr0rh0207] 2021-01-26 21:33:03 | [Mutex] received everything. 2021-01-26 21:33:03 | [Mutex] isItemNotified: user_regular4ekikk0202@test-domain.com:message:received:content_gcr0rh0207 :: false 2021-01-26 21:33:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gcr0rh0207 :: true |