Test duration : 45.214s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.670s |
2020-10-02 23:06:24 |
2020-10-02 23:06:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-02 23:06:24 | ------------------------------------ 2020-10-02 23:06:24 | [Mutex] isItemNotified: node_vvbl0n0203:exists :: false 2020-10-02 23:06:24 | [Mutex] waiting for: [node_vvbl0n0203:create_node] 2020-10-02 23:06:24 | [Mutex] received everything. 2020-10-02 23:06:24 | [Mutex] isItemNotified: node_vvbl0n0203:create_node:success :: true 2020-10-02 23:06:24 | [Mutex] waiting for: [node_vvbl0n0203:subscribe_node] 2020-10-02 23:06:24 | [Mutex] received everything. 2020-10-02 23:06:24 | [Mutex] isItemNotified: node_vvbl0n0203:subscribe_node:success :: true 2020-10-02 23:06:24 | ===== publishing normal message (to online) 2020-10-02 23:06:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 23:06:24 | command: <data><node>node_vvbl0n0203</node><entry><content>content_he7vsy0204</content></entry></data> 2020-10-02 23:06:24 | target: http://localhost:8088 2020-10-02 23:06:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 23:06:24 | entity: <data><node>node_vvbl0n0203</node><entry><content>content_he7vsy0204</content></entry></data> 2020-10-02 23:06:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:06:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 23:06:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2cdd3b04-b088-4d4e-a93a-a4825e686260</value></item-id></result> 2020-10-02 23:06:24 | contains: true 2020-10-02 23:06:24 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_he7vsy0204] 2020-10-02 23:06:24 | [Mutex] received everything. 2020-10-02 23:06:24 | [Mutex] isItemNotified: user_regularolnk4t0202@test-domain.com:message:received:content_he7vsy0204 :: true 2020-10-02 23:06:24 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-02 23:06:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 23:06:24 | command: <data><node>node_vvbl0n0203</node><expire-at>2020-10-03T06:06:19Z</expire-at><entry><content>content_lyg8f00205</content></entry></data> 2020-10-02 23:06:24 | target: http://localhost:8088 2020-10-02 23:06:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 23:06:24 | entity: <data><node>node_vvbl0n0203</node><expire-at>2020-10-03T06:06:19Z</expire-at><entry><content>content_lyg8f00205</content></entry></data> 2020-10-02 23:06:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:06:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 23:06:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ecc9d249-4ec8-4978-8a8d-f1e9c4e4d050</value></item-id></result> 2020-10-02 23:06:24 | contains: true 2020-10-02 23:06:24 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_lyg8f00205] 2020-10-02 23:06:39 | [Mutex] timeout. Not received [user_regularolnk4t0202@test-domain.com:message:received:content_lyg8f00205] 2020-10-02 23:06:39 | [Mutex] isItemNotified: user_regularolnk4t0202@test-domain.com:message:received:content_lyg8f00205 :: false 2020-10-02 23:06:39 | ===== publishing normal message (to offline) 2020-10-02 23:06:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 23:06:39 | command: <data><node>node_vvbl0n0203</node><entry><content>content_thoo6i0206</content></entry></data> 2020-10-02 23:06:39 | target: http://localhost:8088 2020-10-02 23:06:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 23:06:39 | entity: <data><node>node_vvbl0n0203</node><entry><content>content_thoo6i0206</content></entry></data> 2020-10-02 23:06:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:06:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 23:06:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>23811388-1193-42ff-a7ff-eaf2b3d74cd5</value></item-id></result> 2020-10-02 23:06:40 | contains: true 2020-10-02 23:06:45 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_thoo6i0206] 2020-10-02 23:06:45 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_thoo6i0206] 2020-10-02 23:06:45 | [Mutex] received everything. 2020-10-02 23:06:45 | [Mutex] isItemNotified: user_regularolnk4t0202@test-domain.com:message:received:content_thoo6i0206 :: true 2020-10-02 23:06:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-02 23:06:45 | [Mutex] received everything. 2020-10-02 23:06:45 | [Mutex] isItemNotified: node_vvbl0n0203:subscribe_node:success :: true 2020-10-02 23:06:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 23:06:45 | command: <data><node>node_vvbl0n0203</node><expire-at>2020-10-03T06:06:50Z</expire-at><entry><content>content_keb1750207</content></entry></data> 2020-10-02 23:06:45 | target: http://localhost:8088 2020-10-02 23:06:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 23:06:45 | entity: <data><node>node_vvbl0n0203</node><expire-at>2020-10-03T06:06:50Z</expire-at><entry><content>content_keb1750207</content></entry></data> 2020-10-02 23:06:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:06:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 23:06:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05b71a92-7190-41e5-8eb6-e5048416881e</value></item-id></result> 2020-10-02 23:06:45 | contains: true 2020-10-02 23:06:53 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_keb1750207] 2020-10-02 23:06:53 | [Mutex] waiting for: [user_regularolnk4t0202@test-domain.com:message:received:content_keb1750207] 2020-10-02 23:07:08 | [Mutex] timeout. Not received [user_regularolnk4t0202@test-domain.com:message:received:content_keb1750207] 2020-10-02 23:07:08 | [Mutex] received everything. 2020-10-02 23:07:08 | [Mutex] isItemNotified: user_regularolnk4t0202@test-domain.com:message:received:content_keb1750207 :: false 2020-10-02 23:07:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_keb1750207 :: true |