Test duration : 45.855s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.787s |
2022-02-10 22:03:28 |
2022-02-10 22:03:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-10 22:03:28 | ------------------------------------ 2022-02-10 22:03:28 | [Mutex] isItemNotified: node_pjvahe0203:exists :: false 2022-02-10 22:03:28 | [Mutex] waiting for: [node_pjvahe0203:create_node] 2022-02-10 22:03:28 | [Mutex] received everything. 2022-02-10 22:03:28 | [Mutex] isItemNotified: node_pjvahe0203:create_node:success :: true 2022-02-10 22:03:28 | [Mutex] waiting for: [node_pjvahe0203:subscribe_node] 2022-02-10 22:03:28 | [Mutex] waiting for: [node_pjvahe0203:subscribe_node] 2022-02-10 22:03:28 | [Mutex] received everything. 2022-02-10 22:03:28 | [Mutex] isItemNotified: node_pjvahe0203:subscribe_node:success :: true 2022-02-10 22:03:28 | ===== publishing normal message (to online) 2022-02-10 22:03:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:03:28 | command: <data><node>node_pjvahe0203</node><entry><content>content_l4o61u0204</content></entry></data> 2022-02-10 22:03:28 | target: http://localhost:8088 2022-02-10 22:03:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-10 22:03:28 | entity: <data><node>node_pjvahe0203</node><entry><content>content_l4o61u0204</content></entry></data> 2022-02-10 22:03:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:03:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>986a7cf8-2e6f-4731-96ac-c0613e3e73ef</value></item-id></result> 2022-02-10 22:03:29 | contains: true 2022-02-10 22:03:29 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_l4o61u0204] 2022-02-10 22:03:29 | [Mutex] received everything. 2022-02-10 22:03:29 | [Mutex] isItemNotified: user_regularyfhdeu0202@test-domain.com:message:received:content_l4o61u0204 :: true 2022-02-10 22:03:29 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-10 22:03:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:03:29 | command: <data><node>node_pjvahe0203</node><expire-at>2022-02-11T06:03:24Z</expire-at><entry><content>content_ybsfj20205</content></entry></data> 2022-02-10 22:03:29 | target: http://localhost:8088 2022-02-10 22:03:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 22:03:29 | entity: <data><node>node_pjvahe0203</node><expire-at>2022-02-11T06:03:24Z</expire-at><entry><content>content_ybsfj20205</content></entry></data> 2022-02-10 22:03:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:03:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f3cad9fa-9533-40d4-a118-3e986d4cc94e</value></item-id></result> 2022-02-10 22:03:29 | contains: true 2022-02-10 22:03:29 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_ybsfj20205] 2022-02-10 22:03:44 | [Mutex] timeout. Not received [user_regularyfhdeu0202@test-domain.com:message:received:content_ybsfj20205] 2022-02-10 22:03:44 | [Mutex] isItemNotified: user_regularyfhdeu0202@test-domain.com:message:received:content_ybsfj20205 :: false 2022-02-10 22:03:44 | ===== publishing normal message (to offline) 2022-02-10 22:03:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:03:44 | command: <data><node>node_pjvahe0203</node><entry><content>content_uxie5l0206</content></entry></data> 2022-02-10 22:03:44 | target: http://localhost:8088 2022-02-10 22:03:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-10 22:03:44 | entity: <data><node>node_pjvahe0203</node><entry><content>content_uxie5l0206</content></entry></data> 2022-02-10 22:03:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:03:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:03:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>db7792af-0165-4529-a8ec-3b0606c046cd</value></item-id></result> 2022-02-10 22:03:44 | contains: true 2022-02-10 22:03:49 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_uxie5l0206] 2022-02-10 22:03:49 | [Mutex] received everything. 2022-02-10 22:03:49 | [Mutex] isItemNotified: user_regularyfhdeu0202@test-domain.com:message:received:content_uxie5l0206 :: true 2022-02-10 22:03:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-10 22:03:49 | [Mutex] received everything. 2022-02-10 22:03:49 | [Mutex] isItemNotified: node_pjvahe0203:subscribe_node:success :: true 2022-02-10 22:03:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:03:49 | command: <data><node>node_pjvahe0203</node><expire-at>2022-02-11T06:03:54Z</expire-at><entry><content>content_8h2jae0207</content></entry></data> 2022-02-10 22:03:49 | target: http://localhost:8088 2022-02-10 22:03:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 22:03:49 | entity: <data><node>node_pjvahe0203</node><expire-at>2022-02-11T06:03:54Z</expire-at><entry><content>content_8h2jae0207</content></entry></data> 2022-02-10 22:03:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:03:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:03:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>591b2805-559f-4f48-9b28-bbaf838688a7</value></item-id></result> 2022-02-10 22:03:49 | contains: true 2022-02-10 22:03:57 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_8h2jae0207] 2022-02-10 22:03:57 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_8h2jae0207] 2022-02-10 22:03:57 | [Mutex] waiting for: [user_regularyfhdeu0202@test-domain.com:message:received:content_8h2jae0207] 2022-02-10 22:04:12 | [Mutex] timeout. Not received [user_regularyfhdeu0202@test-domain.com:message:received:content_8h2jae0207] 2022-02-10 22:04:12 | [Mutex] received everything. 2022-02-10 22:04:12 | [Mutex] isItemNotified: user_regularyfhdeu0202@test-domain.com:message:received:content_8h2jae0207 :: false 2022-02-10 22:04:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8h2jae0207 :: true |