Test duration : 45.225s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.584s |
2022-02-01 22:27:06 |
2022-02-01 22:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-01 22:27:06 | ------------------------------------ 2022-02-01 22:27:06 | [Mutex] isItemNotified: node_e6lb3e0203:exists :: false 2022-02-01 22:27:06 | [Mutex] waiting for: [node_e6lb3e0203:create_node] 2022-02-01 22:27:06 | [Mutex] received everything. 2022-02-01 22:27:06 | [Mutex] isItemNotified: node_e6lb3e0203:create_node:success :: true 2022-02-01 22:27:06 | [Mutex] waiting for: [node_e6lb3e0203:subscribe_node] 2022-02-01 22:27:06 | [Mutex] received everything. 2022-02-01 22:27:06 | [Mutex] isItemNotified: node_e6lb3e0203:subscribe_node:success :: true 2022-02-01 22:27:06 | ===== publishing normal message (to online) 2022-02-01 22:27:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:27:06 | command: <data><node>node_e6lb3e0203</node><entry><content>content_ww6z2k0204</content></entry></data> 2022-02-01 22:27:06 | target: http://localhost:8088 2022-02-01 22:27:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-01 22:27:06 | entity: <data><node>node_e6lb3e0203</node><entry><content>content_ww6z2k0204</content></entry></data> 2022-02-01 22:27:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:27:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:27:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa51a88e-606d-4c75-82e2-16de0a6b7b64</value></item-id></result> 2022-02-01 22:27:06 | contains: true 2022-02-01 22:27:06 | [Mutex] received everything. 2022-02-01 22:27:07 | [Mutex] isItemNotified: user_regularibtsth0202@test-domain.com:message:received:content_ww6z2k0204 :: true 2022-02-01 22:27:07 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-01 22:27:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:27:07 | command: <data><node>node_e6lb3e0203</node><expire-at>2022-02-02T06:27:02Z</expire-at><entry><content>content_cc9vmm0205</content></entry></data> 2022-02-01 22:27:07 | target: http://localhost:8088 2022-02-01 22:27:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-01 22:27:07 | entity: <data><node>node_e6lb3e0203</node><expire-at>2022-02-02T06:27:02Z</expire-at><entry><content>content_cc9vmm0205</content></entry></data> 2022-02-01 22:27:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:27:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:27:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b470874-fa61-46b5-a014-45250b07427f</value></item-id></result> 2022-02-01 22:27:07 | contains: true 2022-02-01 22:27:07 | [Mutex] waiting for: [user_regularibtsth0202@test-domain.com:message:received:content_cc9vmm0205] 2022-02-01 22:27:22 | [Mutex] timeout. Not received [user_regularibtsth0202@test-domain.com:message:received:content_cc9vmm0205] 2022-02-01 22:27:22 | [Mutex] isItemNotified: user_regularibtsth0202@test-domain.com:message:received:content_cc9vmm0205 :: false 2022-02-01 22:27:22 | ===== publishing normal message (to offline) 2022-02-01 22:27:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:27:22 | command: <data><node>node_e6lb3e0203</node><entry><content>content_5j13xr0206</content></entry></data> 2022-02-01 22:27:22 | target: http://localhost:8088 2022-02-01 22:27:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-01 22:27:22 | entity: <data><node>node_e6lb3e0203</node><entry><content>content_5j13xr0206</content></entry></data> 2022-02-01 22:27:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:27:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:27:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0bc34735-def0-4f79-a843-aaf4f48db0f1</value></item-id></result> 2022-02-01 22:27:22 | contains: true 2022-02-01 22:27:27 | [Mutex] received everything. 2022-02-01 22:27:27 | [Mutex] isItemNotified: user_regularibtsth0202@test-domain.com:message:received:content_5j13xr0206 :: true 2022-02-01 22:27:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-01 22:27:27 | [Mutex] received everything. 2022-02-01 22:27:27 | [Mutex] isItemNotified: node_e6lb3e0203:subscribe_node:success :: true 2022-02-01 22:27:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:27:27 | command: <data><node>node_e6lb3e0203</node><expire-at>2022-02-02T06:27:32Z</expire-at><entry><content>content_e269ju0207</content></entry></data> 2022-02-01 22:27:27 | target: http://localhost:8088 2022-02-01 22:27:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-01 22:27:27 | entity: <data><node>node_e6lb3e0203</node><expire-at>2022-02-02T06:27:32Z</expire-at><entry><content>content_e269ju0207</content></entry></data> 2022-02-01 22:27:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:27:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:27:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>75fe3aa0-3759-4c77-8f61-6af32271392d</value></item-id></result> 2022-02-01 22:27:27 | contains: true 2022-02-01 22:27:35 | [Mutex] waiting for: [user_regularibtsth0202@test-domain.com:message:received:content_e269ju0207] 2022-02-01 22:27:35 | [Mutex] waiting for: [user_regularibtsth0202@test-domain.com:message:received:content_e269ju0207] 2022-02-01 22:27:35 | [Mutex] waiting for: [user_regularibtsth0202@test-domain.com:message:received:content_e269ju0207] 2022-02-01 22:27:50 | [Mutex] timeout. Not received [user_regularibtsth0202@test-domain.com:message:received:content_e269ju0207] 2022-02-01 22:27:50 | [Mutex] received everything. 2022-02-01 22:27:50 | [Mutex] isItemNotified: user_regularibtsth0202@test-domain.com:message:received:content_e269ju0207 :: false 2022-02-01 22:27:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e269ju0207 :: true |