Test duration : 44.965s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2022-09-05 23:05:24 |
2022-09-05 23:05:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-05 23:05:24 | ------------------------------------ 2022-09-05 23:05:24 | [Mutex] isItemNotified: node_c6i3be0204:exists :: false 2022-09-05 23:05:24 | [Mutex] waiting for: [node_c6i3be0204:create_node] 2022-09-05 23:05:24 | [Mutex] received everything. 2022-09-05 23:05:24 | [Mutex] isItemNotified: node_c6i3be0204:create_node:success :: true 2022-09-05 23:05:24 | [Mutex] waiting for: [node_c6i3be0204:subscribe_node] 2022-09-05 23:05:24 | [Mutex] waiting for: [node_c6i3be0204:subscribe_node] 2022-09-05 23:05:24 | [Mutex] received everything. 2022-09-05 23:05:24 | [Mutex] isItemNotified: node_c6i3be0204:subscribe_node:success :: true 2022-09-05 23:05:24 | ===== publishing normal message (to online) 2022-09-05 23:05:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-05 23:05:24 | command: <data><node>node_c6i3be0204</node><entry><content>content_rphpig0205</content></entry></data> 2022-09-05 23:05:24 | target: http://localhost:8088 2022-09-05 23:05:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-05 23:05:24 | entity: <data><node>node_c6i3be0204</node><entry><content>content_rphpig0205</content></entry></data> 2022-09-05 23:05:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:05:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-05 23:05:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93db289f-2598-442b-8fa1-976d642c0fd1</value></item-id></result> 2022-09-05 23:05:24 | contains: true 2022-09-05 23:05:24 | [Mutex] received everything. 2022-09-05 23:05:24 | [Mutex] isItemNotified: user_regular95l88a0203@test-domain.com:message:received:content_rphpig0205 :: true 2022-09-05 23:05:24 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-05 23:05:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-05 23:05:24 | command: <data><node>node_c6i3be0204</node><expire-at>2022-09-06T06:05:19Z</expire-at><entry><content>content_7tengd0206</content></entry></data> 2022-09-05 23:05:24 | target: http://localhost:8088 2022-09-05 23:05:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-05 23:05:24 | entity: <data><node>node_c6i3be0204</node><expire-at>2022-09-06T06:05:19Z</expire-at><entry><content>content_7tengd0206</content></entry></data> 2022-09-05 23:05:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:05:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-05 23:05:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ba884de-d7f7-4ca4-b88c-09fd44589876</value></item-id></result> 2022-09-05 23:05:24 | contains: true 2022-09-05 23:05:24 | [Mutex] waiting for: [user_regular95l88a0203@test-domain.com:message:received:content_7tengd0206] 2022-09-05 23:05:39 | [Mutex] timeout. Not received [user_regular95l88a0203@test-domain.com:message:received:content_7tengd0206] 2022-09-05 23:05:39 | [Mutex] isItemNotified: user_regular95l88a0203@test-domain.com:message:received:content_7tengd0206 :: false 2022-09-05 23:05:39 | ===== publishing normal message (to offline) 2022-09-05 23:05:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-05 23:05:39 | command: <data><node>node_c6i3be0204</node><entry><content>content_eadyor0207</content></entry></data> 2022-09-05 23:05:39 | target: http://localhost:8088 2022-09-05 23:05:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-05 23:05:39 | entity: <data><node>node_c6i3be0204</node><entry><content>content_eadyor0207</content></entry></data> 2022-09-05 23:05:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:05:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-05 23:05:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>17f6a825-5343-4fa3-aca7-142767165a53</value></item-id></result> 2022-09-05 23:05:39 | contains: true 2022-09-05 23:05:44 | [Mutex] waiting for: [user_regular95l88a0203@test-domain.com:message:received:content_eadyor0207] 2022-09-05 23:05:44 | [Mutex] waiting for: [user_regular95l88a0203@test-domain.com:message:received:content_eadyor0207] 2022-09-05 23:05:44 | [Mutex] received everything. 2022-09-05 23:05:44 | [Mutex] isItemNotified: user_regular95l88a0203@test-domain.com:message:received:content_eadyor0207 :: true 2022-09-05 23:05:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-05 23:05:44 | [Mutex] received everything. 2022-09-05 23:05:44 | [Mutex] isItemNotified: node_c6i3be0204:subscribe_node:success :: true 2022-09-05 23:05:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-05 23:05:45 | command: <data><node>node_c6i3be0204</node><expire-at>2022-09-06T06:05:50Z</expire-at><entry><content>content_1h7cqb0208</content></entry></data> 2022-09-05 23:05:45 | target: http://localhost:8088 2022-09-05 23:05:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-05 23:05:45 | entity: <data><node>node_c6i3be0204</node><expire-at>2022-09-06T06:05:50Z</expire-at><entry><content>content_1h7cqb0208</content></entry></data> 2022-09-05 23:05:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:05:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-05 23:05:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b62eb1f9-844a-40bb-92e5-80632e9a101b</value></item-id></result> 2022-09-05 23:05:45 | contains: true 2022-09-05 23:05:53 | [Mutex] waiting for: [user_regular95l88a0203@test-domain.com:message:received:content_1h7cqb0208] 2022-09-05 23:06:08 | [Mutex] timeout. Not received [user_regular95l88a0203@test-domain.com:message:received:content_1h7cqb0208] 2022-09-05 23:06:08 | [Mutex] received everything. 2022-09-05 23:06:08 | [Mutex] isItemNotified: user_regular95l88a0203@test-domain.com:message:received:content_1h7cqb0208 :: false 2022-09-05 23:06:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1h7cqb0208 :: true |