Test duration : 45.789s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.884s |
2021-02-18 21:31:39 |
2021-02-18 21:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-18 21:31:39 | ------------------------------------ 2021-02-18 21:31:39 | [Mutex] isItemNotified: node_fwdf4i0203:exists :: false 2021-02-18 21:31:39 | [Mutex] waiting for: [node_fwdf4i0203:create_node] 2021-02-18 21:31:39 | [Mutex] received everything. 2021-02-18 21:31:39 | [Mutex] isItemNotified: node_fwdf4i0203:create_node:success :: true 2021-02-18 21:31:39 | [Mutex] waiting for: [node_fwdf4i0203:subscribe_node] 2021-02-18 21:31:39 | [Mutex] received everything. 2021-02-18 21:31:39 | [Mutex] isItemNotified: node_fwdf4i0203:subscribe_node:success :: true 2021-02-18 21:31:39 | ===== publishing normal message (to online) 2021-02-18 21:31:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:39 | command: <data><node>node_fwdf4i0203</node><entry><content>content_m6fv720204</content></entry></data> 2021-02-18 21:31:39 | target: http://localhost:8088 2021-02-18 21:31:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 21:31:39 | entity: <data><node>node_fwdf4i0203</node><entry><content>content_m6fv720204</content></entry></data> 2021-02-18 21:31:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9e357c1e-7ca3-4f27-9114-0728b6b1ee47</value></item-id></result> 2021-02-18 21:31:39 | contains: true 2021-02-18 21:31:39 | [Mutex] received everything. 2021-02-18 21:31:39 | [Mutex] isItemNotified: user_regularjanszc0202@test-domain.com:message:received:content_m6fv720204 :: true 2021-02-18 21:31:39 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-18 21:31:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:39 | command: <data><node>node_fwdf4i0203</node><expire-at>2021-02-19T05:31:34Z</expire-at><entry><content>content_mhkd6o0205</content></entry></data> 2021-02-18 21:31:39 | target: http://localhost:8088 2021-02-18 21:31:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 21:31:39 | entity: <data><node>node_fwdf4i0203</node><expire-at>2021-02-19T05:31:34Z</expire-at><entry><content>content_mhkd6o0205</content></entry></data> 2021-02-18 21:31:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10df7ebf-03d6-446a-a3b3-eecb3af752d9</value></item-id></result> 2021-02-18 21:31:39 | contains: true 2021-02-18 21:31:39 | [Mutex] waiting for: [user_regularjanszc0202@test-domain.com:message:received:content_mhkd6o0205] 2021-02-18 21:31:54 | [Mutex] timeout. Not received [user_regularjanszc0202@test-domain.com:message:received:content_mhkd6o0205] 2021-02-18 21:31:54 | [Mutex] isItemNotified: user_regularjanszc0202@test-domain.com:message:received:content_mhkd6o0205 :: false 2021-02-18 21:31:54 | ===== publishing normal message (to offline) 2021-02-18 21:31:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:54 | command: <data><node>node_fwdf4i0203</node><entry><content>content_s3v2le0206</content></entry></data> 2021-02-18 21:31:54 | target: http://localhost:8088 2021-02-18 21:31:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 21:31:54 | entity: <data><node>node_fwdf4i0203</node><entry><content>content_s3v2le0206</content></entry></data> 2021-02-18 21:31:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d61fd2e-355e-47c1-a895-2596644f2595</value></item-id></result> 2021-02-18 21:31:54 | contains: true 2021-02-18 21:32:00 | [Mutex] waiting for: [user_regularjanszc0202@test-domain.com:message:received:content_s3v2le0206] 2021-02-18 21:32:00 | [Mutex] waiting for: [user_regularjanszc0202@test-domain.com:message:received:content_s3v2le0206] 2021-02-18 21:32:00 | [Mutex] received everything. 2021-02-18 21:32:00 | [Mutex] isItemNotified: user_regularjanszc0202@test-domain.com:message:received:content_s3v2le0206 :: true 2021-02-18 21:32:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-18 21:32:00 | [Mutex] received everything. 2021-02-18 21:32:00 | [Mutex] isItemNotified: node_fwdf4i0203:subscribe_node:success :: true 2021-02-18 21:32:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:32:00 | command: <data><node>node_fwdf4i0203</node><expire-at>2021-02-19T05:32:05Z</expire-at><entry><content>content_3zcl0m0207</content></entry></data> 2021-02-18 21:32:00 | target: http://localhost:8088 2021-02-18 21:32:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 21:32:00 | entity: <data><node>node_fwdf4i0203</node><expire-at>2021-02-19T05:32:05Z</expire-at><entry><content>content_3zcl0m0207</content></entry></data> 2021-02-18 21:32:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:32:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:32:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c3651e0-117d-47a3-a4c8-a2485392693e</value></item-id></result> 2021-02-18 21:32:00 | contains: true 2021-02-18 21:32:08 | [Mutex] waiting for: [user_regularjanszc0202@test-domain.com:message:received:content_3zcl0m0207] 2021-02-18 21:32:08 | [Mutex] waiting for: [user_regularjanszc0202@test-domain.com:message:received:content_3zcl0m0207] 2021-02-18 21:32:23 | [Mutex] timeout. Not received [user_regularjanszc0202@test-domain.com:message:received:content_3zcl0m0207] 2021-02-18 21:32:23 | [Mutex] received everything. 2021-02-18 21:32:23 | [Mutex] isItemNotified: user_regularjanszc0202@test-domain.com:message:received:content_3zcl0m0207 :: false 2021-02-18 21:32:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3zcl0m0207 :: true |