Test duration : 45.166s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2021-09-28 22:30:10 |
2021-09-28 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-28 22:30:10 | ------------------------------------ 2021-09-28 22:30:10 | [Mutex] isItemNotified: node_cvzh920203:exists :: false 2021-09-28 22:30:10 | [Mutex] waiting for: [node_cvzh920203:create_node] 2021-09-28 22:30:10 | [Mutex] received everything. 2021-09-28 22:30:10 | [Mutex] isItemNotified: node_cvzh920203:create_node:success :: true 2021-09-28 22:30:10 | [Mutex] waiting for: [node_cvzh920203:subscribe_node] 2021-09-28 22:30:10 | [Mutex] waiting for: [node_cvzh920203:subscribe_node] 2021-09-28 22:30:10 | [Mutex] received everything. 2021-09-28 22:30:10 | [Mutex] isItemNotified: node_cvzh920203:subscribe_node:success :: true 2021-09-28 22:30:10 | ===== publishing normal message (to online) 2021-09-28 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:30:10 | command: <data><node>node_cvzh920203</node><entry><content>content_saqauj0204</content></entry></data> 2021-09-28 22:30:10 | target: http://localhost:8088 2021-09-28 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 22:30:10 | entity: <data><node>node_cvzh920203</node><entry><content>content_saqauj0204</content></entry></data> 2021-09-28 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b28feb5a-ad8e-4446-a8e0-43e844473c4d</value></item-id></result> 2021-09-28 22:30:10 | contains: true 2021-09-28 22:30:10 | [Mutex] received everything. 2021-09-28 22:30:10 | [Mutex] isItemNotified: user_regular8io4d10202@test-domain.com:message:received:content_saqauj0204 :: true 2021-09-28 22:30:10 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-28 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:30:10 | command: <data><node>node_cvzh920203</node><expire-at>2021-09-29T05:30:05Z</expire-at><entry><content>content_q0xxzo0205</content></entry></data> 2021-09-28 22:30:10 | target: http://localhost:8088 2021-09-28 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 22:30:10 | entity: <data><node>node_cvzh920203</node><expire-at>2021-09-29T05:30:05Z</expire-at><entry><content>content_q0xxzo0205</content></entry></data> 2021-09-28 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f7ff349-0d2b-44f6-8ed2-ad4c8ab445d0</value></item-id></result> 2021-09-28 22:30:10 | contains: true 2021-09-28 22:30:10 | [Mutex] waiting for: [user_regular8io4d10202@test-domain.com:message:received:content_q0xxzo0205] 2021-09-28 22:30:25 | [Mutex] timeout. Not received [user_regular8io4d10202@test-domain.com:message:received:content_q0xxzo0205] 2021-09-28 22:30:25 | [Mutex] isItemNotified: user_regular8io4d10202@test-domain.com:message:received:content_q0xxzo0205 :: false 2021-09-28 22:30:25 | ===== publishing normal message (to offline) 2021-09-28 22:30:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:30:25 | command: <data><node>node_cvzh920203</node><entry><content>content_eqc7ig0206</content></entry></data> 2021-09-28 22:30:25 | target: http://localhost:8088 2021-09-28 22:30:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 22:30:25 | entity: <data><node>node_cvzh920203</node><entry><content>content_eqc7ig0206</content></entry></data> 2021-09-28 22:30:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:30:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:30:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3a9d06f-a626-4343-b223-622c9396f25f</value></item-id></result> 2021-09-28 22:30:25 | contains: true 2021-09-28 22:30:30 | [Mutex] waiting for: [user_regular8io4d10202@test-domain.com:message:received:content_eqc7ig0206] 2021-09-28 22:30:30 | [Mutex] waiting for: [user_regular8io4d10202@test-domain.com:message:received:content_eqc7ig0206] 2021-09-28 22:30:30 | [Mutex] received everything. 2021-09-28 22:30:30 | [Mutex] isItemNotified: user_regular8io4d10202@test-domain.com:message:received:content_eqc7ig0206 :: true 2021-09-28 22:30:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-28 22:30:30 | [Mutex] received everything. 2021-09-28 22:30:30 | [Mutex] isItemNotified: node_cvzh920203:subscribe_node:success :: true 2021-09-28 22:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:30:30 | command: <data><node>node_cvzh920203</node><expire-at>2021-09-29T05:30:35Z</expire-at><entry><content>content_z62hpi0207</content></entry></data> 2021-09-28 22:30:30 | target: http://localhost:8088 2021-09-28 22:30:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 22:30:30 | entity: <data><node>node_cvzh920203</node><expire-at>2021-09-29T05:30:35Z</expire-at><entry><content>content_z62hpi0207</content></entry></data> 2021-09-28 22:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>854f1e4c-b1e8-443f-b9cb-22eb5600d2af</value></item-id></result> 2021-09-28 22:30:30 | contains: true 2021-09-28 22:30:39 | [Mutex] waiting for: [user_regular8io4d10202@test-domain.com:message:received:content_z62hpi0207] 2021-09-28 22:30:54 | [Mutex] timeout. Not received [user_regular8io4d10202@test-domain.com:message:received:content_z62hpi0207] 2021-09-28 22:30:54 | [Mutex] received everything. 2021-09-28 22:30:54 | [Mutex] isItemNotified: user_regular8io4d10202@test-domain.com:message:received:content_z62hpi0207 :: false 2021-09-28 22:30:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z62hpi0207 :: true |