Test duration : 45.062s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.684s |
2021-10-27 08:28:12 |
2021-10-27 08:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-27 08:28:12 | ------------------------------------ 2021-10-27 08:28:12 | [Mutex] isItemNotified: node_ncw4qk0203:exists :: false 2021-10-27 08:28:12 | [Mutex] waiting for: [node_ncw4qk0203:create_node] 2021-10-27 08:28:12 | [Mutex] received everything. 2021-10-27 08:28:12 | [Mutex] isItemNotified: node_ncw4qk0203:create_node:success :: true 2021-10-27 08:28:12 | [Mutex] waiting for: [node_ncw4qk0203:subscribe_node] 2021-10-27 08:28:12 | [Mutex] received everything. 2021-10-27 08:28:12 | [Mutex] isItemNotified: node_ncw4qk0203:subscribe_node:success :: true 2021-10-27 08:28:12 | ===== publishing normal message (to online) 2021-10-27 08:28:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-27 08:28:12 | command: <data><node>node_ncw4qk0203</node><entry><content>content_2852qt0204</content></entry></data> 2021-10-27 08:28:12 | target: http://localhost:8088 2021-10-27 08:28:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-27 08:28:12 | entity: <data><node>node_ncw4qk0203</node><entry><content>content_2852qt0204</content></entry></data> 2021-10-27 08:28:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:28:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-27 08:28:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a1b4fa1a-8ba7-4a3a-9c2a-fa090bc7aa5d</value></item-id></result> 2021-10-27 08:28:12 | contains: true 2021-10-27 08:28:12 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_2852qt0204] 2021-10-27 08:28:12 | [Mutex] received everything. 2021-10-27 08:28:12 | [Mutex] isItemNotified: user_regularc58uv50202@test-domain.com:message:received:content_2852qt0204 :: true 2021-10-27 08:28:12 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-27 08:28:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-27 08:28:12 | command: <data><node>node_ncw4qk0203</node><expire-at>2021-10-27T15:28:07Z</expire-at><entry><content>content_yqo9zm0205</content></entry></data> 2021-10-27 08:28:12 | target: http://localhost:8088 2021-10-27 08:28:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-27 08:28:12 | entity: <data><node>node_ncw4qk0203</node><expire-at>2021-10-27T15:28:07Z</expire-at><entry><content>content_yqo9zm0205</content></entry></data> 2021-10-27 08:28:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:28:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-27 08:28:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>764acc82-3da3-4f20-af5d-1846d69f6a88</value></item-id></result> 2021-10-27 08:28:12 | contains: true 2021-10-27 08:28:12 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_yqo9zm0205] 2021-10-27 08:28:27 | [Mutex] timeout. Not received [user_regularc58uv50202@test-domain.com:message:received:content_yqo9zm0205] 2021-10-27 08:28:27 | [Mutex] isItemNotified: user_regularc58uv50202@test-domain.com:message:received:content_yqo9zm0205 :: false 2021-10-27 08:28:27 | ===== publishing normal message (to offline) 2021-10-27 08:28:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-27 08:28:27 | command: <data><node>node_ncw4qk0203</node><entry><content>content_loe9dd0206</content></entry></data> 2021-10-27 08:28:27 | target: http://localhost:8088 2021-10-27 08:28:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-27 08:28:27 | entity: <data><node>node_ncw4qk0203</node><entry><content>content_loe9dd0206</content></entry></data> 2021-10-27 08:28:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:28:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-27 08:28:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4f5d687f-865d-4067-a48e-d4bbf1dd3b85</value></item-id></result> 2021-10-27 08:28:27 | contains: true 2021-10-27 08:28:32 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_loe9dd0206] 2021-10-27 08:28:32 | [Mutex] received everything. 2021-10-27 08:28:32 | [Mutex] isItemNotified: user_regularc58uv50202@test-domain.com:message:received:content_loe9dd0206 :: true 2021-10-27 08:28:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-27 08:28:32 | [Mutex] received everything. 2021-10-27 08:28:32 | [Mutex] isItemNotified: node_ncw4qk0203:subscribe_node:success :: true 2021-10-27 08:28:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-27 08:28:33 | command: <data><node>node_ncw4qk0203</node><expire-at>2021-10-27T15:28:37Z</expire-at><entry><content>content_ee8jj40207</content></entry></data> 2021-10-27 08:28:33 | target: http://localhost:8088 2021-10-27 08:28:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-27 08:28:33 | entity: <data><node>node_ncw4qk0203</node><expire-at>2021-10-27T15:28:37Z</expire-at><entry><content>content_ee8jj40207</content></entry></data> 2021-10-27 08:28:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:28:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-27 08:28:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6942f626-f5d3-4c73-b22c-958af4af34b7</value></item-id></result> 2021-10-27 08:28:33 | contains: true 2021-10-27 08:28:41 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_ee8jj40207] 2021-10-27 08:28:41 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_ee8jj40207] 2021-10-27 08:28:41 | [Mutex] waiting for: [user_regularc58uv50202@test-domain.com:message:received:content_ee8jj40207] 2021-10-27 08:28:56 | [Mutex] timeout. Not received [user_regularc58uv50202@test-domain.com:message:received:content_ee8jj40207] 2021-10-27 08:28:56 | [Mutex] received everything. 2021-10-27 08:28:56 | [Mutex] isItemNotified: user_regularc58uv50202@test-domain.com:message:received:content_ee8jj40207 :: false 2021-10-27 08:28:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ee8jj40207 :: true |