Test duration : 44.970s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.664s |
2020-09-16 22:45:45 |
2020-09-16 22:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-16 22:45:45 | ------------------------------------ 2020-09-16 22:45:45 | [Mutex] isItemNotified: node_o7ppqc0203:exists :: false 2020-09-16 22:45:45 | [Mutex] waiting for: [node_o7ppqc0203:create_node] 2020-09-16 22:45:45 | [Mutex] received everything. 2020-09-16 22:45:45 | [Mutex] isItemNotified: node_o7ppqc0203:create_node:success :: true 2020-09-16 22:45:45 | [Mutex] waiting for: [node_o7ppqc0203:subscribe_node] 2020-09-16 22:45:45 | [Mutex] waiting for: [node_o7ppqc0203:subscribe_node] 2020-09-16 22:45:45 | [Mutex] received everything. 2020-09-16 22:45:45 | [Mutex] isItemNotified: node_o7ppqc0203:subscribe_node:success :: true 2020-09-16 22:45:45 | ===== publishing normal message (to online) 2020-09-16 22:45:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:45:45 | command: <data><node>node_o7ppqc0203</node><entry><content>content_br6iol0204</content></entry></data> 2020-09-16 22:45:45 | target: http://localhost:8088 2020-09-16 22:45:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-16 22:45:45 | entity: <data><node>node_o7ppqc0203</node><entry><content>content_br6iol0204</content></entry></data> 2020-09-16 22:45:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:45:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:45:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c0a540ef-92d1-457e-9657-29689099e6ec</value></item-id></result> 2020-09-16 22:45:45 | contains: true 2020-09-16 22:45:45 | [Mutex] received everything. 2020-09-16 22:45:45 | [Mutex] isItemNotified: user_regularvv0fxz0202@test-domain.com:message:received:content_br6iol0204 :: true 2020-09-16 22:45:45 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-16 22:45:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:45:45 | command: <data><node>node_o7ppqc0203</node><expire-at>2020-09-17T05:45:40Z</expire-at><entry><content>content_mwkzah0205</content></entry></data> 2020-09-16 22:45:45 | target: http://localhost:8088 2020-09-16 22:45:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-16 22:45:45 | entity: <data><node>node_o7ppqc0203</node><expire-at>2020-09-17T05:45:40Z</expire-at><entry><content>content_mwkzah0205</content></entry></data> 2020-09-16 22:45:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:45:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:45:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>58661078-dfdf-418d-9d58-fc8b0c4cb4b3</value></item-id></result> 2020-09-16 22:45:45 | contains: true 2020-09-16 22:45:45 | [Mutex] waiting for: [user_regularvv0fxz0202@test-domain.com:message:received:content_mwkzah0205] 2020-09-16 22:46:00 | [Mutex] timeout. Not received [user_regularvv0fxz0202@test-domain.com:message:received:content_mwkzah0205] 2020-09-16 22:46:00 | [Mutex] isItemNotified: user_regularvv0fxz0202@test-domain.com:message:received:content_mwkzah0205 :: false 2020-09-16 22:46:00 | ===== publishing normal message (to offline) 2020-09-16 22:46:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:00 | command: <data><node>node_o7ppqc0203</node><entry><content>content_xbn890206</content></entry></data> 2020-09-16 22:46:00 | target: http://localhost:8088 2020-09-16 22:46:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-09-16 22:46:00 | entity: <data><node>node_o7ppqc0203</node><entry><content>content_xbn890206</content></entry></data> 2020-09-16 22:46:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a8797fe-c644-47e8-9d5f-1b716d01b13e</value></item-id></result> 2020-09-16 22:46:00 | contains: true 2020-09-16 22:46:06 | [Mutex] waiting for: [user_regularvv0fxz0202@test-domain.com:message:received:content_xbn890206] 2020-09-16 22:46:06 | [Mutex] waiting for: [user_regularvv0fxz0202@test-domain.com:message:received:content_xbn890206] 2020-09-16 22:46:06 | [Mutex] received everything. 2020-09-16 22:46:06 | [Mutex] isItemNotified: user_regularvv0fxz0202@test-domain.com:message:received:content_xbn890206 :: true 2020-09-16 22:46:06 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-16 22:46:06 | [Mutex] received everything. 2020-09-16 22:46:06 | [Mutex] isItemNotified: node_o7ppqc0203:subscribe_node:success :: true 2020-09-16 22:46:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-16 22:46:06 | command: <data><node>node_o7ppqc0203</node><expire-at>2020-09-17T05:46:11Z</expire-at><entry><content>content_yqx84s0207</content></entry></data> 2020-09-16 22:46:06 | target: http://localhost:8088 2020-09-16 22:46:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-16 22:46:06 | entity: <data><node>node_o7ppqc0203</node><expire-at>2020-09-17T05:46:11Z</expire-at><entry><content>content_yqx84s0207</content></entry></data> 2020-09-16 22:46:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 05:46:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-16 22:46:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80dc44a3-1bfd-4f1b-9211-fc0828f93b7d</value></item-id></result> 2020-09-16 22:46:06 | contains: true 2020-09-16 22:46:14 | [Mutex] waiting for: [user_regularvv0fxz0202@test-domain.com:message:received:content_yqx84s0207] 2020-09-16 22:46:14 | [Mutex] waiting for: [user_regularvv0fxz0202@test-domain.com:message:received:content_yqx84s0207] 2020-09-16 22:46:29 | [Mutex] timeout. Not received [user_regularvv0fxz0202@test-domain.com:message:received:content_yqx84s0207] 2020-09-16 22:46:29 | [Mutex] received everything. 2020-09-16 22:46:29 | [Mutex] isItemNotified: user_regularvv0fxz0202@test-domain.com:message:received:content_yqx84s0207 :: false 2020-09-16 22:46:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yqx84s0207 :: true |