Test duration : 45.107s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.735s |
2020-09-01 19:50:09 |
2020-09-01 19:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-01 19:50:09 | ------------------------------------ 2020-09-01 19:50:09 | [Mutex] isItemNotified: node_s7zbmr0203:exists :: false 2020-09-01 19:50:09 | [Mutex] waiting for: [node_s7zbmr0203:create_node] 2020-09-01 19:50:09 | [Mutex] received everything. 2020-09-01 19:50:09 | [Mutex] isItemNotified: node_s7zbmr0203:create_node:success :: true 2020-09-01 19:50:09 | [Mutex] waiting for: [node_s7zbmr0203:subscribe_node] 2020-09-01 19:50:09 | [Mutex] received everything. 2020-09-01 19:50:09 | [Mutex] isItemNotified: node_s7zbmr0203:subscribe_node:success :: true 2020-09-01 19:50:09 | ===== publishing normal message (to online) 2020-09-01 19:50:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 19:50:09 | command: <data><node>node_s7zbmr0203</node><entry><content>content_wkpc520204</content></entry></data> 2020-09-01 19:50:09 | target: http://localhost:8088 2020-09-01 19:50:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 19:50:09 | entity: <data><node>node_s7zbmr0203</node><entry><content>content_wkpc520204</content></entry></data> 2020-09-01 19:50:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:50:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 19:50:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78b5aff6-b808-4655-a1d7-42b4ac9b9d94</value></item-id></result> 2020-09-01 19:50:09 | contains: true 2020-09-01 19:50:09 | [Mutex] received everything. 2020-09-01 19:50:09 | [Mutex] isItemNotified: user_regulartatl8i0202@test-domain.com:message:received:content_wkpc520204 :: true 2020-09-01 19:50:09 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-01 19:50:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 19:50:09 | command: <data><node>node_s7zbmr0203</node><expire-at>2020-09-02T02:50:04Z</expire-at><entry><content>content_v75c0i0205</content></entry></data> 2020-09-01 19:50:09 | target: http://localhost:8088 2020-09-01 19:50:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 19:50:09 | entity: <data><node>node_s7zbmr0203</node><expire-at>2020-09-02T02:50:04Z</expire-at><entry><content>content_v75c0i0205</content></entry></data> 2020-09-01 19:50:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:50:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 19:50:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f2c13437-b2bf-4712-9775-6057c03860db</value></item-id></result> 2020-09-01 19:50:10 | contains: true 2020-09-01 19:50:10 | [Mutex] waiting for: [user_regulartatl8i0202@test-domain.com:message:received:content_v75c0i0205] 2020-09-01 19:50:25 | [Mutex] timeout. Not received [user_regulartatl8i0202@test-domain.com:message:received:content_v75c0i0205] 2020-09-01 19:50:25 | [Mutex] isItemNotified: user_regulartatl8i0202@test-domain.com:message:received:content_v75c0i0205 :: false 2020-09-01 19:50:25 | ===== publishing normal message (to offline) 2020-09-01 19:50:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 19:50:25 | command: <data><node>node_s7zbmr0203</node><entry><content>content_apist20206</content></entry></data> 2020-09-01 19:50:25 | target: http://localhost:8088 2020-09-01 19:50:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 19:50:25 | entity: <data><node>node_s7zbmr0203</node><entry><content>content_apist20206</content></entry></data> 2020-09-01 19:50:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:50:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 19:50:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65b55432-9d06-4e63-b955-0903030ab8a5</value></item-id></result> 2020-09-01 19:50:25 | contains: true 2020-09-01 19:50:30 | [Mutex] waiting for: [user_regulartatl8i0202@test-domain.com:message:received:content_apist20206] 2020-09-01 19:50:30 | [Mutex] received everything. 2020-09-01 19:50:30 | [Mutex] isItemNotified: user_regulartatl8i0202@test-domain.com:message:received:content_apist20206 :: true 2020-09-01 19:50:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-01 19:50:30 | [Mutex] received everything. 2020-09-01 19:50:30 | [Mutex] isItemNotified: node_s7zbmr0203:subscribe_node:success :: true 2020-09-01 19:50:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 19:50:30 | command: <data><node>node_s7zbmr0203</node><expire-at>2020-09-02T02:50:35Z</expire-at><entry><content>content_kpkjlg0207</content></entry></data> 2020-09-01 19:50:30 | target: http://localhost:8088 2020-09-01 19:50:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 19:50:30 | entity: <data><node>node_s7zbmr0203</node><expire-at>2020-09-02T02:50:35Z</expire-at><entry><content>content_kpkjlg0207</content></entry></data> 2020-09-01 19:50:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 02:50:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 19:50:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4905fee-ee83-4671-8bde-8908b912ae16</value></item-id></result> 2020-09-01 19:50:30 | contains: true 2020-09-01 19:50:38 | [Mutex] waiting for: [user_regulartatl8i0202@test-domain.com:message:received:content_kpkjlg0207] 2020-09-01 19:50:53 | [Mutex] timeout. Not received [user_regulartatl8i0202@test-domain.com:message:received:content_kpkjlg0207] 2020-09-01 19:50:53 | [Mutex] received everything. 2020-09-01 19:50:53 | [Mutex] isItemNotified: user_regulartatl8i0202@test-domain.com:message:received:content_kpkjlg0207 :: false 2020-09-01 19:50:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kpkjlg0207 :: true |