Test duration : 45.596s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.677s |
2022-01-19 22:23:05 |
2022-01-19 22:23:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-01-19 22:23:05 | ------------------------------------ 2022-01-19 22:23:05 | [Mutex] isItemNotified: node_samhxn0203:exists :: false 2022-01-19 22:23:05 | [Mutex] waiting for: [node_samhxn0203:create_node] 2022-01-19 22:23:05 | [Mutex] received everything. 2022-01-19 22:23:05 | [Mutex] isItemNotified: node_samhxn0203:create_node:success :: true 2022-01-19 22:23:05 | [Mutex] waiting for: [node_samhxn0203:subscribe_node] 2022-01-19 22:23:05 | [Mutex] received everything. 2022-01-19 22:23:05 | [Mutex] isItemNotified: node_samhxn0203:subscribe_node:success :: true 2022-01-19 22:23:05 | ===== publishing normal message (to online) 2022-01-19 22:23:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 22:23:05 | command: <data><node>node_samhxn0203</node><entry><content>content_jn1wkn0204</content></entry></data> 2022-01-19 22:23:05 | target: http://localhost:8088 2022-01-19 22:23:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-19 22:23:05 | entity: <data><node>node_samhxn0203</node><entry><content>content_jn1wkn0204</content></entry></data> 2022-01-19 22:23:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:23:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 22:23:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b890d10-2933-4d70-bd7c-fdb734f35ea5</value></item-id></result> 2022-01-19 22:23:05 | contains: true 2022-01-19 22:23:05 | [Mutex] received everything. 2022-01-19 22:23:05 | [Mutex] isItemNotified: user_regularyswb4a0202@test-domain.com:message:received:content_jn1wkn0204 :: true 2022-01-19 22:23:05 | ===== publishing already old message - expecting message being filtered out (to online) 2022-01-19 22:23:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 22:23:05 | command: <data><node>node_samhxn0203</node><expire-at>2022-01-20T06:23:00Z</expire-at><entry><content>content_yol72k0205</content></entry></data> 2022-01-19 22:23:05 | target: http://localhost:8088 2022-01-19 22:23:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-19 22:23:05 | entity: <data><node>node_samhxn0203</node><expire-at>2022-01-20T06:23:00Z</expire-at><entry><content>content_yol72k0205</content></entry></data> 2022-01-19 22:23:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:23:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 22:23:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>35b28986-c11e-493d-aca1-e5953a584a4b</value></item-id></result> 2022-01-19 22:23:05 | contains: true 2022-01-19 22:23:05 | [Mutex] waiting for: [user_regularyswb4a0202@test-domain.com:message:received:content_yol72k0205] 2022-01-19 22:23:20 | [Mutex] timeout. Not received [user_regularyswb4a0202@test-domain.com:message:received:content_yol72k0205] 2022-01-19 22:23:20 | [Mutex] isItemNotified: user_regularyswb4a0202@test-domain.com:message:received:content_yol72k0205 :: false 2022-01-19 22:23:20 | ===== publishing normal message (to offline) 2022-01-19 22:23:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 22:23:20 | command: <data><node>node_samhxn0203</node><entry><content>content_mrn9d00206</content></entry></data> 2022-01-19 22:23:20 | target: http://localhost:8088 2022-01-19 22:23:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-19 22:23:20 | entity: <data><node>node_samhxn0203</node><entry><content>content_mrn9d00206</content></entry></data> 2022-01-19 22:23:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:23:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 22:23:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>444674f4-dec7-434c-99be-3ad1ad275e71</value></item-id></result> 2022-01-19 22:23:20 | contains: true 2022-01-19 22:23:25 | [Mutex] waiting for: [user_regularyswb4a0202@test-domain.com:message:received:content_mrn9d00206] 2022-01-19 22:23:25 | [Mutex] received everything. 2022-01-19 22:23:25 | [Mutex] isItemNotified: user_regularyswb4a0202@test-domain.com:message:received:content_mrn9d00206 :: true 2022-01-19 22:23:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-01-19 22:23:25 | [Mutex] received everything. 2022-01-19 22:23:25 | [Mutex] isItemNotified: node_samhxn0203:subscribe_node:success :: true 2022-01-19 22:23:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-19 22:23:25 | command: <data><node>node_samhxn0203</node><expire-at>2022-01-20T06:23:30Z</expire-at><entry><content>content_epba0g0207</content></entry></data> 2022-01-19 22:23:25 | target: http://localhost:8088 2022-01-19 22:23:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-19 22:23:25 | entity: <data><node>node_samhxn0203</node><expire-at>2022-01-20T06:23:30Z</expire-at><entry><content>content_epba0g0207</content></entry></data> 2022-01-19 22:23:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 06:23:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-19 22:23:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>829d1c0e-ab16-42b9-8e93-5ab6fa2d7eee</value></item-id></result> 2022-01-19 22:23:25 | contains: true 2022-01-19 22:23:33 | [Mutex] waiting for: [user_regularyswb4a0202@test-domain.com:message:received:content_epba0g0207] 2022-01-19 22:23:48 | [Mutex] timeout. Not received [user_regularyswb4a0202@test-domain.com:message:received:content_epba0g0207] 2022-01-19 22:23:48 | [Mutex] received everything. 2022-01-19 22:23:48 | [Mutex] isItemNotified: user_regularyswb4a0202@test-domain.com:message:received:content_epba0g0207 :: false 2022-01-19 22:23:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_epba0g0207 :: true |