Test duration : 45.531s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.713s |
2021-10-06 23:18:05 |
2021-10-06 23:18:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-06 23:18:05 | ------------------------------------ 2021-10-06 23:18:05 | [Mutex] isItemNotified: node_g53ve10203:exists :: false 2021-10-06 23:18:05 | [Mutex] waiting for: [node_g53ve10203:create_node] 2021-10-06 23:18:05 | [Mutex] received everything. 2021-10-06 23:18:05 | [Mutex] isItemNotified: node_g53ve10203:create_node:success :: true 2021-10-06 23:18:05 | [Mutex] waiting for: [node_g53ve10203:subscribe_node] 2021-10-06 23:18:05 | [Mutex] received everything. 2021-10-06 23:18:05 | [Mutex] isItemNotified: node_g53ve10203:subscribe_node:success :: true 2021-10-06 23:18:05 | ===== publishing normal message (to online) 2021-10-06 23:18:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-06 23:18:05 | command: <data><node>node_g53ve10203</node><entry><content>content_768wfb0204</content></entry></data> 2021-10-06 23:18:05 | target: http://localhost:8088 2021-10-06 23:18:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-06 23:18:05 | entity: <data><node>node_g53ve10203</node><entry><content>content_768wfb0204</content></entry></data> 2021-10-06 23:18:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 06:18:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-06 23:18:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bd6614ec-a232-44f1-88bc-a6b2303a850b</value></item-id></result> 2021-10-06 23:18:05 | contains: true 2021-10-06 23:18:05 | [Mutex] received everything. 2021-10-06 23:18:05 | [Mutex] isItemNotified: user_regularisfx930202@test-domain.com:message:received:content_768wfb0204 :: true 2021-10-06 23:18:05 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-06 23:18:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-06 23:18:05 | command: <data><node>node_g53ve10203</node><expire-at>2021-10-07T06:18:00Z</expire-at><entry><content>content_lwobfk0205</content></entry></data> 2021-10-06 23:18:05 | target: http://localhost:8088 2021-10-06 23:18:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-06 23:18:05 | entity: <data><node>node_g53ve10203</node><expire-at>2021-10-07T06:18:00Z</expire-at><entry><content>content_lwobfk0205</content></entry></data> 2021-10-06 23:18:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 06:18:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-06 23:18:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e844c4d3-947e-412c-ac6f-3e1af55085d4</value></item-id></result> 2021-10-06 23:18:05 | contains: true 2021-10-06 23:18:05 | [Mutex] waiting for: [user_regularisfx930202@test-domain.com:message:received:content_lwobfk0205] 2021-10-06 23:18:20 | [Mutex] timeout. Not received [user_regularisfx930202@test-domain.com:message:received:content_lwobfk0205] 2021-10-06 23:18:20 | [Mutex] isItemNotified: user_regularisfx930202@test-domain.com:message:received:content_lwobfk0205 :: false 2021-10-06 23:18:20 | ===== publishing normal message (to offline) 2021-10-06 23:18:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-06 23:18:21 | command: <data><node>node_g53ve10203</node><entry><content>content_hde6d0206</content></entry></data> 2021-10-06 23:18:21 | target: http://localhost:8088 2021-10-06 23:18:21 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-10-06 23:18:21 | entity: <data><node>node_g53ve10203</node><entry><content>content_hde6d0206</content></entry></data> 2021-10-06 23:18:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 06:18:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-06 23:18:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d78824e1-578f-4aee-80da-171e3db3f6f8</value></item-id></result> 2021-10-06 23:18:21 | contains: true 2021-10-06 23:18:26 | [Mutex] waiting for: [user_regularisfx930202@test-domain.com:message:received:content_hde6d0206] 2021-10-06 23:18:26 | [Mutex] waiting for: [user_regularisfx930202@test-domain.com:message:received:content_hde6d0206] 2021-10-06 23:18:26 | [Mutex] received everything. 2021-10-06 23:18:26 | [Mutex] isItemNotified: user_regularisfx930202@test-domain.com:message:received:content_hde6d0206 :: true 2021-10-06 23:18:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-06 23:18:26 | [Mutex] received everything. 2021-10-06 23:18:26 | [Mutex] isItemNotified: node_g53ve10203:subscribe_node:success :: true 2021-10-06 23:18:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-06 23:18:26 | command: <data><node>node_g53ve10203</node><expire-at>2021-10-07T06:18:31Z</expire-at><entry><content>content_972zxc0207</content></entry></data> 2021-10-06 23:18:26 | target: http://localhost:8088 2021-10-06 23:18:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-06 23:18:26 | entity: <data><node>node_g53ve10203</node><expire-at>2021-10-07T06:18:31Z</expire-at><entry><content>content_972zxc0207</content></entry></data> 2021-10-06 23:18:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 06:18:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-06 23:18:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65f32d79-82fd-490c-8f5f-468a4e8e99ba</value></item-id></result> 2021-10-06 23:18:26 | contains: true 2021-10-06 23:18:34 | [Mutex] waiting for: [user_regularisfx930202@test-domain.com:message:received:content_972zxc0207] 2021-10-06 23:18:49 | [Mutex] timeout. Not received [user_regularisfx930202@test-domain.com:message:received:content_972zxc0207] 2021-10-06 23:18:49 | [Mutex] received everything. 2021-10-06 23:18:49 | [Mutex] isItemNotified: user_regularisfx930202@test-domain.com:message:received:content_972zxc0207 :: false 2021-10-06 23:18:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_972zxc0207 :: true |