Test duration : 45.212s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.709s |
2021-03-21 22:56:37 |
2021-03-21 22:56:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-21 22:56:37 | ------------------------------------ 2021-03-21 22:56:37 | [Mutex] isItemNotified: node_i601yl0203:exists :: false 2021-03-21 22:56:37 | [Mutex] waiting for: [node_i601yl0203:create_node] 2021-03-21 22:56:37 | [Mutex] received everything. 2021-03-21 22:56:37 | [Mutex] isItemNotified: node_i601yl0203:create_node:success :: true 2021-03-21 22:56:37 | [Mutex] waiting for: [node_i601yl0203:subscribe_node] 2021-03-21 22:56:37 | [Mutex] waiting for: [node_i601yl0203:subscribe_node] 2021-03-21 22:56:37 | [Mutex] received everything. 2021-03-21 22:56:37 | [Mutex] isItemNotified: node_i601yl0203:subscribe_node:success :: true 2021-03-21 22:56:37 | ===== publishing normal message (to online) 2021-03-21 22:56:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:56:37 | command: <data><node>node_i601yl0203</node><entry><content>content_6updek0204</content></entry></data> 2021-03-21 22:56:37 | target: http://localhost:8088 2021-03-21 22:56:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:56:37 | entity: <data><node>node_i601yl0203</node><entry><content>content_6updek0204</content></entry></data> 2021-03-21 22:56:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:56:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:56:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>508de1d0-1908-41a4-b945-a3f6de30fc9e</value></item-id></result> 2021-03-21 22:56:37 | contains: true 2021-03-21 22:56:37 | [Mutex] received everything. 2021-03-21 22:56:37 | [Mutex] isItemNotified: user_regularlm00ub0202@test-domain.com:message:received:content_6updek0204 :: true 2021-03-21 22:56:37 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-21 22:56:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:56:37 | command: <data><node>node_i601yl0203</node><expire-at>2021-03-22T05:56:32Z</expire-at><entry><content>content_v5lwb90205</content></entry></data> 2021-03-21 22:56:37 | target: http://localhost:8088 2021-03-21 22:56:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:56:37 | entity: <data><node>node_i601yl0203</node><expire-at>2021-03-22T05:56:32Z</expire-at><entry><content>content_v5lwb90205</content></entry></data> 2021-03-21 22:56:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:56:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:56:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e361cb06-ad2b-4046-9985-abcb56493681</value></item-id></result> 2021-03-21 22:56:37 | contains: true 2021-03-21 22:56:37 | [Mutex] waiting for: [user_regularlm00ub0202@test-domain.com:message:received:content_v5lwb90205] 2021-03-21 22:56:52 | [Mutex] timeout. Not received [user_regularlm00ub0202@test-domain.com:message:received:content_v5lwb90205] 2021-03-21 22:56:52 | [Mutex] isItemNotified: user_regularlm00ub0202@test-domain.com:message:received:content_v5lwb90205 :: false 2021-03-21 22:56:52 | ===== publishing normal message (to offline) 2021-03-21 22:56:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:56:52 | command: <data><node>node_i601yl0203</node><entry><content>content_59xjux0206</content></entry></data> 2021-03-21 22:56:52 | target: http://localhost:8088 2021-03-21 22:56:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:56:52 | entity: <data><node>node_i601yl0203</node><entry><content>content_59xjux0206</content></entry></data> 2021-03-21 22:56:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:56:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:56:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be39de4f-ef69-462c-a9d8-21f11d53bd68</value></item-id></result> 2021-03-21 22:56:52 | contains: true 2021-03-21 22:56:57 | [Mutex] waiting for: [user_regularlm00ub0202@test-domain.com:message:received:content_59xjux0206] 2021-03-21 22:56:57 | [Mutex] waiting for: [user_regularlm00ub0202@test-domain.com:message:received:content_59xjux0206] 2021-03-21 22:56:57 | [Mutex] received everything. 2021-03-21 22:56:57 | [Mutex] isItemNotified: user_regularlm00ub0202@test-domain.com:message:received:content_59xjux0206 :: true 2021-03-21 22:56:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-21 22:56:57 | [Mutex] received everything. 2021-03-21 22:56:57 | [Mutex] isItemNotified: node_i601yl0203:subscribe_node:success :: true 2021-03-21 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:56:57 | command: <data><node>node_i601yl0203</node><expire-at>2021-03-22T05:57:02Z</expire-at><entry><content>content_q0b28t0207</content></entry></data> 2021-03-21 22:56:57 | target: http://localhost:8088 2021-03-21 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:56:57 | entity: <data><node>node_i601yl0203</node><expire-at>2021-03-22T05:57:02Z</expire-at><entry><content>content_q0b28t0207</content></entry></data> 2021-03-21 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8cbe0dd3-52e8-47a2-b31a-d5096b5d11ec</value></item-id></result> 2021-03-21 22:56:57 | contains: true 2021-03-21 22:57:06 | [Mutex] waiting for: [user_regularlm00ub0202@test-domain.com:message:received:content_q0b28t0207] 2021-03-21 22:57:06 | [Mutex] waiting for: [user_regularlm00ub0202@test-domain.com:message:received:content_q0b28t0207] 2021-03-21 22:57:21 | [Mutex] timeout. Not received [user_regularlm00ub0202@test-domain.com:message:received:content_q0b28t0207] 2021-03-21 22:57:21 | [Mutex] received everything. 2021-03-21 22:57:21 | [Mutex] isItemNotified: user_regularlm00ub0202@test-domain.com:message:received:content_q0b28t0207 :: false 2021-03-21 22:57:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_q0b28t0207 :: true |