Test duration : 44.992s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2022-07-12 07:46:40 |
2022-07-12 07:46:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-12 07:46:40 | ------------------------------------ 2022-07-12 07:46:40 | [Mutex] isItemNotified: node_7zs3100204:exists :: false 2022-07-12 07:46:40 | [Mutex] waiting for: [node_7zs3100204:create_node] 2022-07-12 07:46:40 | [Mutex] received everything. 2022-07-12 07:46:40 | [Mutex] isItemNotified: node_7zs3100204:create_node:success :: true 2022-07-12 07:46:40 | [Mutex] waiting for: [node_7zs3100204:subscribe_node] 2022-07-12 07:46:40 | [Mutex] received everything. 2022-07-12 07:46:40 | [Mutex] isItemNotified: node_7zs3100204:subscribe_node:success :: true 2022-07-12 07:46:40 | ===== publishing normal message (to online) 2022-07-12 07:46:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 07:46:40 | command: <data><node>node_7zs3100204</node><entry><content>content_3bs3ow0205</content></entry></data> 2022-07-12 07:46:40 | target: http://localhost:8088 2022-07-12 07:46:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-12 07:46:40 | entity: <data><node>node_7zs3100204</node><entry><content>content_3bs3ow0205</content></entry></data> 2022-07-12 07:46:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:46:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 07:46:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7d08b8f-fcd9-44af-aff6-62c6c5d8fb66</value></item-id></result> 2022-07-12 07:46:40 | contains: true 2022-07-12 07:46:40 | [Mutex] received everything. 2022-07-12 07:46:40 | [Mutex] isItemNotified: user_regularp3bvak0203@test-domain.com:message:received:content_3bs3ow0205 :: true 2022-07-12 07:46:40 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-12 07:46:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 07:46:40 | command: <data><node>node_7zs3100204</node><expire-at>2022-07-12T14:46:35Z</expire-at><entry><content>content_m6w7ek0206</content></entry></data> 2022-07-12 07:46:40 | target: http://localhost:8088 2022-07-12 07:46:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-12 07:46:40 | entity: <data><node>node_7zs3100204</node><expire-at>2022-07-12T14:46:35Z</expire-at><entry><content>content_m6w7ek0206</content></entry></data> 2022-07-12 07:46:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:46:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 07:46:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d3e8ebdc-2f0e-4d5b-8961-c3b505e64253</value></item-id></result> 2022-07-12 07:46:40 | contains: true 2022-07-12 07:46:40 | [Mutex] waiting for: [user_regularp3bvak0203@test-domain.com:message:received:content_m6w7ek0206] 2022-07-12 07:46:55 | [Mutex] timeout. Not received [user_regularp3bvak0203@test-domain.com:message:received:content_m6w7ek0206] 2022-07-12 07:46:55 | [Mutex] isItemNotified: user_regularp3bvak0203@test-domain.com:message:received:content_m6w7ek0206 :: false 2022-07-12 07:46:55 | ===== publishing normal message (to offline) 2022-07-12 07:46:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 07:46:55 | command: <data><node>node_7zs3100204</node><entry><content>content_vv5t020207</content></entry></data> 2022-07-12 07:46:55 | target: http://localhost:8088 2022-07-12 07:46:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-12 07:46:55 | entity: <data><node>node_7zs3100204</node><entry><content>content_vv5t020207</content></entry></data> 2022-07-12 07:46:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:46:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 07:46:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>daba8a57-1630-4897-a30d-da76a47dbf96</value></item-id></result> 2022-07-12 07:46:55 | contains: true 2022-07-12 07:47:00 | [Mutex] waiting for: [user_regularp3bvak0203@test-domain.com:message:received:content_vv5t020207] 2022-07-12 07:47:00 | [Mutex] waiting for: [user_regularp3bvak0203@test-domain.com:message:received:content_vv5t020207] 2022-07-12 07:47:00 | [Mutex] received everything. 2022-07-12 07:47:00 | [Mutex] isItemNotified: user_regularp3bvak0203@test-domain.com:message:received:content_vv5t020207 :: true 2022-07-12 07:47:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-12 07:47:00 | [Mutex] received everything. 2022-07-12 07:47:00 | [Mutex] isItemNotified: node_7zs3100204:subscribe_node:success :: true 2022-07-12 07:47:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 07:47:00 | command: <data><node>node_7zs3100204</node><expire-at>2022-07-12T14:47:05Z</expire-at><entry><content>content_xigcdm0208</content></entry></data> 2022-07-12 07:47:00 | target: http://localhost:8088 2022-07-12 07:47:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-12 07:47:00 | entity: <data><node>node_7zs3100204</node><expire-at>2022-07-12T14:47:05Z</expire-at><entry><content>content_xigcdm0208</content></entry></data> 2022-07-12 07:47:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:47:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 07:47:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa1adf8c-3ff0-4498-9f59-e64aad51f6e2</value></item-id></result> 2022-07-12 07:47:00 | contains: true 2022-07-12 07:47:08 | [Mutex] waiting for: [user_regularp3bvak0203@test-domain.com:message:received:content_xigcdm0208] 2022-07-12 07:47:08 | [Mutex] waiting for: [user_regularp3bvak0203@test-domain.com:message:received:content_xigcdm0208] 2022-07-12 07:47:23 | [Mutex] timeout. Not received [user_regularp3bvak0203@test-domain.com:message:received:content_xigcdm0208] 2022-07-12 07:47:23 | [Mutex] received everything. 2022-07-12 07:47:23 | [Mutex] isItemNotified: user_regularp3bvak0203@test-domain.com:message:received:content_xigcdm0208 :: false 2022-07-12 07:47:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xigcdm0208 :: true |