Test duration : 45,208s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43,882s |
2022-03-03 15:05:16 |
2022-03-03 15:05:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-03 15:05:16 | ------------------------------------ 2022-03-03 15:05:16 | [Mutex] isItemNotified: node_8q53gn0203:exists :: false 2022-03-03 15:05:16 | [Mutex] waiting for: [node_8q53gn0203:create_node] 2022-03-03 15:05:16 | [Mutex] received everything. 2022-03-03 15:05:16 | [Mutex] isItemNotified: node_8q53gn0203:create_node:success :: true 2022-03-03 15:05:16 | [Mutex] waiting for: [node_8q53gn0203:subscribe_node] 2022-03-03 15:05:16 | [Mutex] waiting for: [node_8q53gn0203:subscribe_node] 2022-03-03 15:05:16 | [Mutex] received everything. 2022-03-03 15:05:16 | [Mutex] isItemNotified: node_8q53gn0203:subscribe_node:success :: true 2022-03-03 15:05:16 | ===== publishing normal message (to online) 2022-03-03 15:05:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 15:05:16 | command: <data><node>node_8q53gn0203</node><entry><content>content_2kx6mx0204</content></entry></data> 2022-03-03 15:05:16 | target: http://localhost:8088 2022-03-03 15:05:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 15:05:16 | entity: <data><node>node_8q53gn0203</node><entry><content>content_2kx6mx0204</content></entry></data> 2022-03-03 15:05:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 14:05:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 15:05:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>863b398e-73a2-49ae-9962-0e26cff8bb46</value></item-id></result> 2022-03-03 15:05:16 | contains: true 2022-03-03 15:05:16 | [Mutex] waiting for: [user_regularpcqv1y0202@test-domain.com:message:received:content_2kx6mx0204] 2022-03-03 15:05:16 | [Mutex] received everything. 2022-03-03 15:05:16 | [Mutex] isItemNotified: user_regularpcqv1y0202@test-domain.com:message:received:content_2kx6mx0204 :: true 2022-03-03 15:05:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-03 15:05:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 15:05:16 | command: <data><node>node_8q53gn0203</node><expire-at>2022-03-03T14:05:11Z</expire-at><entry><content>content_oc6d7g0205</content></entry></data> 2022-03-03 15:05:16 | target: http://localhost:8088 2022-03-03 15:05:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 15:05:16 | entity: <data><node>node_8q53gn0203</node><expire-at>2022-03-03T14:05:11Z</expire-at><entry><content>content_oc6d7g0205</content></entry></data> 2022-03-03 15:05:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 14:05:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 15:05:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a14211cb-c5e2-4287-8e7f-36510319d857</value></item-id></result> 2022-03-03 15:05:16 | contains: true 2022-03-03 15:05:16 | [Mutex] waiting for: [user_regularpcqv1y0202@test-domain.com:message:received:content_oc6d7g0205] 2022-03-03 15:05:31 | [Mutex] timeout. Not received [user_regularpcqv1y0202@test-domain.com:message:received:content_oc6d7g0205] 2022-03-03 15:05:31 | [Mutex] isItemNotified: user_regularpcqv1y0202@test-domain.com:message:received:content_oc6d7g0205 :: false 2022-03-03 15:05:31 | ===== publishing normal message (to offline) 2022-03-03 15:05:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 15:05:31 | command: <data><node>node_8q53gn0203</node><entry><content>content_slfwil0206</content></entry></data> 2022-03-03 15:05:31 | target: http://localhost:8088 2022-03-03 15:05:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 15:05:31 | entity: <data><node>node_8q53gn0203</node><entry><content>content_slfwil0206</content></entry></data> 2022-03-03 15:05:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 14:05:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 15:05:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>400fa6e6-8193-4924-bfa9-e9bfa29339e0</value></item-id></result> 2022-03-03 15:05:31 | contains: true 2022-03-03 15:05:36 | [Mutex] waiting for: [user_regularpcqv1y0202@test-domain.com:message:received:content_slfwil0206] 2022-03-03 15:05:36 | [Mutex] waiting for: [user_regularpcqv1y0202@test-domain.com:message:received:content_slfwil0206] 2022-03-03 15:05:36 | [Mutex] received everything. 2022-03-03 15:05:36 | [Mutex] isItemNotified: user_regularpcqv1y0202@test-domain.com:message:received:content_slfwil0206 :: true 2022-03-03 15:05:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-03 15:05:36 | [Mutex] received everything. 2022-03-03 15:05:36 | [Mutex] isItemNotified: node_8q53gn0203:subscribe_node:success :: true 2022-03-03 15:05:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 15:05:36 | command: <data><node>node_8q53gn0203</node><expire-at>2022-03-03T14:05:41Z</expire-at><entry><content>content_iqesy80207</content></entry></data> 2022-03-03 15:05:36 | target: http://localhost:8088 2022-03-03 15:05:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 15:05:36 | entity: <data><node>node_8q53gn0203</node><expire-at>2022-03-03T14:05:41Z</expire-at><entry><content>content_iqesy80207</content></entry></data> 2022-03-03 15:05:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 14:05:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 15:05:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>99025efd-b993-4b13-939e-212205e80347</value></item-id></result> 2022-03-03 15:05:36 | contains: true 2022-03-03 15:05:45 | [Mutex] waiting for: [user_regularpcqv1y0202@test-domain.com:message:received:content_iqesy80207] 2022-03-03 15:06:00 | [Mutex] timeout. Not received [user_regularpcqv1y0202@test-domain.com:message:received:content_iqesy80207] 2022-03-03 15:06:00 | [Mutex] received everything. 2022-03-03 15:06:00 | [Mutex] isItemNotified: user_regularpcqv1y0202@test-domain.com:message:received:content_iqesy80207 :: false 2022-03-03 15:06:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iqesy80207 :: true |