Test duration : 45.106s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.670s |
2022-02-06 21:49:26 |
2022-02-06 21:49:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-06 21:49:26 | ------------------------------------ 2022-02-06 21:49:26 | [Mutex] isItemNotified: node_l7jmer0203:exists :: false 2022-02-06 21:49:26 | [Mutex] waiting for: [node_l7jmer0203:create_node] 2022-02-06 21:49:26 | [Mutex] received everything. 2022-02-06 21:49:26 | [Mutex] isItemNotified: node_l7jmer0203:create_node:success :: true 2022-02-06 21:49:26 | [Mutex] waiting for: [node_l7jmer0203:subscribe_node] 2022-02-06 21:49:26 | [Mutex] waiting for: [node_l7jmer0203:subscribe_node] 2022-02-06 21:49:26 | [Mutex] received everything. 2022-02-06 21:49:26 | [Mutex] isItemNotified: node_l7jmer0203:subscribe_node:success :: true 2022-02-06 21:49:26 | ===== publishing normal message (to online) 2022-02-06 21:49:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-06 21:49:26 | command: <data><node>node_l7jmer0203</node><entry><content>content_42hwtg0204</content></entry></data> 2022-02-06 21:49:26 | target: http://localhost:8088 2022-02-06 21:49:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-06 21:49:26 | entity: <data><node>node_l7jmer0203</node><entry><content>content_42hwtg0204</content></entry></data> 2022-02-06 21:49:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:49:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-06 21:49:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>202c3cb1-733b-4801-ba3c-392efe8adbd6</value></item-id></result> 2022-02-06 21:49:26 | contains: true 2022-02-06 21:49:26 | [Mutex] received everything. 2022-02-06 21:49:26 | [Mutex] isItemNotified: user_regulars3qdax0202@test-domain.com:message:received:content_42hwtg0204 :: true 2022-02-06 21:49:26 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-06 21:49:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-06 21:49:26 | command: <data><node>node_l7jmer0203</node><expire-at>2022-02-07T05:49:21Z</expire-at><entry><content>content_meddgo0205</content></entry></data> 2022-02-06 21:49:26 | target: http://localhost:8088 2022-02-06 21:49:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-06 21:49:26 | entity: <data><node>node_l7jmer0203</node><expire-at>2022-02-07T05:49:21Z</expire-at><entry><content>content_meddgo0205</content></entry></data> 2022-02-06 21:49:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:49:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-06 21:49:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6bab6282-2be1-441e-bff5-88e26ed3353c</value></item-id></result> 2022-02-06 21:49:26 | contains: true 2022-02-06 21:49:26 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_meddgo0205] 2022-02-06 21:49:41 | [Mutex] timeout. Not received [user_regulars3qdax0202@test-domain.com:message:received:content_meddgo0205] 2022-02-06 21:49:41 | [Mutex] isItemNotified: user_regulars3qdax0202@test-domain.com:message:received:content_meddgo0205 :: false 2022-02-06 21:49:41 | ===== publishing normal message (to offline) 2022-02-06 21:49:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-06 21:49:41 | command: <data><node>node_l7jmer0203</node><entry><content>content_mo7hji0206</content></entry></data> 2022-02-06 21:49:41 | target: http://localhost:8088 2022-02-06 21:49:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-06 21:49:41 | entity: <data><node>node_l7jmer0203</node><entry><content>content_mo7hji0206</content></entry></data> 2022-02-06 21:49:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:49:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-06 21:49:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a58d4d7-fb1e-49d4-86e6-70631d667edb</value></item-id></result> 2022-02-06 21:49:41 | contains: true 2022-02-06 21:49:46 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_mo7hji0206] 2022-02-06 21:49:46 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_mo7hji0206] 2022-02-06 21:49:46 | [Mutex] received everything. 2022-02-06 21:49:46 | [Mutex] isItemNotified: user_regulars3qdax0202@test-domain.com:message:received:content_mo7hji0206 :: true 2022-02-06 21:49:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-06 21:49:46 | [Mutex] received everything. 2022-02-06 21:49:46 | [Mutex] isItemNotified: node_l7jmer0203:subscribe_node:success :: true 2022-02-06 21:49:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-06 21:49:46 | command: <data><node>node_l7jmer0203</node><expire-at>2022-02-07T05:49:51Z</expire-at><entry><content>content_y1xiyr0207</content></entry></data> 2022-02-06 21:49:46 | target: http://localhost:8088 2022-02-06 21:49:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-06 21:49:46 | entity: <data><node>node_l7jmer0203</node><expire-at>2022-02-07T05:49:51Z</expire-at><entry><content>content_y1xiyr0207</content></entry></data> 2022-02-06 21:49:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Feb 2022 05:49:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-06 21:49:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>70ffb6dd-0293-45ee-9dcb-96a2d097d97f</value></item-id></result> 2022-02-06 21:49:46 | contains: true 2022-02-06 21:49:54 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_y1xiyr0207] 2022-02-06 21:49:54 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_y1xiyr0207] 2022-02-06 21:49:54 | [Mutex] waiting for: [user_regulars3qdax0202@test-domain.com:message:received:content_y1xiyr0207] 2022-02-06 21:50:09 | [Mutex] timeout. Not received [user_regulars3qdax0202@test-domain.com:message:received:content_y1xiyr0207] 2022-02-06 21:50:09 | [Mutex] received everything. 2022-02-06 21:50:09 | [Mutex] isItemNotified: user_regulars3qdax0202@test-domain.com:message:received:content_y1xiyr0207 :: false 2022-02-06 21:50:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y1xiyr0207 :: true |