Test duration : 44.593s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2022-06-01 22:50:45 |
2022-06-01 22:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-01 22:50:45 | ------------------------------------ 2022-06-01 22:50:45 | [Mutex] isItemNotified: node_ezim0t0204:exists :: false 2022-06-01 22:50:45 | [Mutex] waiting for: [node_ezim0t0204:create_node] 2022-06-01 22:50:45 | [Mutex] received everything. 2022-06-01 22:50:45 | [Mutex] isItemNotified: node_ezim0t0204:create_node:success :: true 2022-06-01 22:50:45 | [Mutex] waiting for: [node_ezim0t0204:subscribe_node] 2022-06-01 22:50:45 | [Mutex] waiting for: [node_ezim0t0204:subscribe_node] 2022-06-01 22:50:45 | [Mutex] received everything. 2022-06-01 22:50:45 | [Mutex] isItemNotified: node_ezim0t0204:subscribe_node:success :: true 2022-06-01 22:50:45 | ===== publishing normal message (to online) 2022-06-01 22:50:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:50:45 | command: <data><node>node_ezim0t0204</node><entry><content>content_n3ihks0205</content></entry></data> 2022-06-01 22:50:45 | target: http://localhost:8088 2022-06-01 22:50:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 22:50:45 | entity: <data><node>node_ezim0t0204</node><entry><content>content_n3ihks0205</content></entry></data> 2022-06-01 22:50:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:50:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:50:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a59adf0e-152f-408d-b2f6-262deecb8c68</value></item-id></result> 2022-06-01 22:50:45 | contains: true 2022-06-01 22:50:45 | [Mutex] waiting for: [user_regularu2we7d0203@test-domain.com:message:received:content_n3ihks0205] 2022-06-01 22:50:45 | [Mutex] received everything. 2022-06-01 22:50:45 | [Mutex] isItemNotified: user_regularu2we7d0203@test-domain.com:message:received:content_n3ihks0205 :: true 2022-06-01 22:50:45 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-01 22:50:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:50:45 | command: <data><node>node_ezim0t0204</node><expire-at>2022-06-02T05:50:40Z</expire-at><entry><content>content_qbrkhb0206</content></entry></data> 2022-06-01 22:50:45 | target: http://localhost:8088 2022-06-01 22:50:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 22:50:45 | entity: <data><node>node_ezim0t0204</node><expire-at>2022-06-02T05:50:40Z</expire-at><entry><content>content_qbrkhb0206</content></entry></data> 2022-06-01 22:50:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:50:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:50:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a38c537-daaa-4ecc-a307-46576e134c35</value></item-id></result> 2022-06-01 22:50:45 | contains: true 2022-06-01 22:50:45 | [Mutex] waiting for: [user_regularu2we7d0203@test-domain.com:message:received:content_qbrkhb0206] 2022-06-01 22:51:00 | [Mutex] timeout. Not received [user_regularu2we7d0203@test-domain.com:message:received:content_qbrkhb0206] 2022-06-01 22:51:00 | [Mutex] isItemNotified: user_regularu2we7d0203@test-domain.com:message:received:content_qbrkhb0206 :: false 2022-06-01 22:51:00 | ===== publishing normal message (to offline) 2022-06-01 22:51:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:51:00 | command: <data><node>node_ezim0t0204</node><entry><content>content_hw8ija0207</content></entry></data> 2022-06-01 22:51:00 | target: http://localhost:8088 2022-06-01 22:51:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 22:51:00 | entity: <data><node>node_ezim0t0204</node><entry><content>content_hw8ija0207</content></entry></data> 2022-06-01 22:51:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:51:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:51:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bcbc374a-1d05-4a9f-a531-60435d5e77b3</value></item-id></result> 2022-06-01 22:51:00 | contains: true 2022-06-01 22:51:06 | [Mutex] waiting for: [user_regularu2we7d0203@test-domain.com:message:received:content_hw8ija0207] 2022-06-01 22:51:06 | [Mutex] received everything. 2022-06-01 22:51:06 | [Mutex] isItemNotified: user_regularu2we7d0203@test-domain.com:message:received:content_hw8ija0207 :: true 2022-06-01 22:51:06 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-01 22:51:06 | [Mutex] received everything. 2022-06-01 22:51:06 | [Mutex] isItemNotified: node_ezim0t0204:subscribe_node:success :: true 2022-06-01 22:51:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:51:06 | command: <data><node>node_ezim0t0204</node><expire-at>2022-06-02T05:51:11Z</expire-at><entry><content>content_11gex30208</content></entry></data> 2022-06-01 22:51:06 | target: http://localhost:8088 2022-06-01 22:51:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 22:51:06 | entity: <data><node>node_ezim0t0204</node><expire-at>2022-06-02T05:51:11Z</expire-at><entry><content>content_11gex30208</content></entry></data> 2022-06-01 22:51:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:51:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:51:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c7639ab5-0613-498d-9a0b-5397e3efe567</value></item-id></result> 2022-06-01 22:51:06 | contains: true 2022-06-01 22:51:14 | [Mutex] waiting for: [user_regularu2we7d0203@test-domain.com:message:received:content_11gex30208] 2022-06-01 22:51:29 | [Mutex] timeout. Not received [user_regularu2we7d0203@test-domain.com:message:received:content_11gex30208] 2022-06-01 22:51:29 | [Mutex] received everything. 2022-06-01 22:51:29 | [Mutex] isItemNotified: user_regularu2we7d0203@test-domain.com:message:received:content_11gex30208 :: false 2022-06-01 22:51:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_11gex30208 :: true |