Test duration : 45.181s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.732s |
2020-09-11 22:43:06 |
2020-09-11 22:43:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-11 22:43:06 | ------------------------------------ 2020-09-11 22:43:06 | [Mutex] isItemNotified: node_tcdka50203:exists :: false 2020-09-11 22:43:06 | [Mutex] waiting for: [node_tcdka50203:create_node] 2020-09-11 22:43:06 | [Mutex] received everything. 2020-09-11 22:43:06 | [Mutex] isItemNotified: node_tcdka50203:create_node:success :: true 2020-09-11 22:43:06 | [Mutex] waiting for: [node_tcdka50203:subscribe_node] 2020-09-11 22:43:06 | [Mutex] waiting for: [node_tcdka50203:subscribe_node] 2020-09-11 22:43:06 | [Mutex] received everything. 2020-09-11 22:43:06 | [Mutex] isItemNotified: node_tcdka50203:subscribe_node:success :: true 2020-09-11 22:43:06 | ===== publishing normal message (to online) 2020-09-11 22:43:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:43:06 | command: <data><node>node_tcdka50203</node><entry><content>content_n8qcnn0204</content></entry></data> 2020-09-11 22:43:06 | target: http://localhost:8088 2020-09-11 22:43:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 22:43:06 | entity: <data><node>node_tcdka50203</node><entry><content>content_n8qcnn0204</content></entry></data> 2020-09-11 22:43:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:43:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:43:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37b7b87f-be62-4041-bd9d-2ec0d43386ba</value></item-id></result> 2020-09-11 22:43:06 | contains: true 2020-09-11 22:43:06 | [Mutex] received everything. 2020-09-11 22:43:06 | [Mutex] isItemNotified: user_regulareybodq0202@test-domain.com:message:received:content_n8qcnn0204 :: true 2020-09-11 22:43:06 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-11 22:43:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:43:06 | command: <data><node>node_tcdka50203</node><expire-at>2020-09-12T05:43:01Z</expire-at><entry><content>content_6y1tx30205</content></entry></data> 2020-09-11 22:43:06 | target: http://localhost:8088 2020-09-11 22:43:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 22:43:06 | entity: <data><node>node_tcdka50203</node><expire-at>2020-09-12T05:43:01Z</expire-at><entry><content>content_6y1tx30205</content></entry></data> 2020-09-11 22:43:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:43:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:43:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56ee67b3-6d8d-4c17-be89-09f6e4bf1ff8</value></item-id></result> 2020-09-11 22:43:06 | contains: true 2020-09-11 22:43:06 | [Mutex] waiting for: [user_regulareybodq0202@test-domain.com:message:received:content_6y1tx30205] 2020-09-11 22:43:21 | [Mutex] timeout. Not received [user_regulareybodq0202@test-domain.com:message:received:content_6y1tx30205] 2020-09-11 22:43:21 | [Mutex] isItemNotified: user_regulareybodq0202@test-domain.com:message:received:content_6y1tx30205 :: false 2020-09-11 22:43:21 | ===== publishing normal message (to offline) 2020-09-11 22:43:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:43:21 | command: <data><node>node_tcdka50203</node><entry><content>content_rhndv40206</content></entry></data> 2020-09-11 22:43:21 | target: http://localhost:8088 2020-09-11 22:43:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 22:43:21 | entity: <data><node>node_tcdka50203</node><entry><content>content_rhndv40206</content></entry></data> 2020-09-11 22:43:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:43:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:43:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ff649d3-c493-4a10-95aa-a0729e0e9643</value></item-id></result> 2020-09-11 22:43:21 | contains: true 2020-09-11 22:43:26 | [Mutex] waiting for: [user_regulareybodq0202@test-domain.com:message:received:content_rhndv40206] 2020-09-11 22:43:26 | [Mutex] waiting for: [user_regulareybodq0202@test-domain.com:message:received:content_rhndv40206] 2020-09-11 22:43:26 | [Mutex] received everything. 2020-09-11 22:43:26 | [Mutex] isItemNotified: user_regulareybodq0202@test-domain.com:message:received:content_rhndv40206 :: true 2020-09-11 22:43:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-11 22:43:26 | [Mutex] received everything. 2020-09-11 22:43:26 | [Mutex] isItemNotified: node_tcdka50203:subscribe_node:success :: true 2020-09-11 22:43:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:43:26 | command: <data><node>node_tcdka50203</node><expire-at>2020-09-12T05:43:31Z</expire-at><entry><content>content_6do4az0207</content></entry></data> 2020-09-11 22:43:26 | target: http://localhost:8088 2020-09-11 22:43:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 22:43:26 | entity: <data><node>node_tcdka50203</node><expire-at>2020-09-12T05:43:31Z</expire-at><entry><content>content_6do4az0207</content></entry></data> 2020-09-11 22:43:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:43:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:43:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c26e379f-83ea-4b30-9a78-d1d891abc629</value></item-id></result> 2020-09-11 22:43:27 | contains: true 2020-09-11 22:43:35 | [Mutex] waiting for: [user_regulareybodq0202@test-domain.com:message:received:content_6do4az0207] 2020-09-11 22:43:35 | [Mutex] waiting for: [user_regulareybodq0202@test-domain.com:message:received:content_6do4az0207] 2020-09-11 22:43:50 | [Mutex] timeout. Not received [user_regulareybodq0202@test-domain.com:message:received:content_6do4az0207] 2020-09-11 22:43:50 | [Mutex] received everything. 2020-09-11 22:43:50 | [Mutex] isItemNotified: user_regulareybodq0202@test-domain.com:message:received:content_6do4az0207 :: false 2020-09-11 22:43:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6do4az0207 :: true |