Test duration : 44.962s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.702s |
2021-01-03 22:07:16 |
2021-01-03 22:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-03 22:07:16 | ------------------------------------ 2021-01-03 22:07:16 | [Mutex] isItemNotified: node_ynpu8b0203:exists :: false 2021-01-03 22:07:16 | [Mutex] waiting for: [node_ynpu8b0203:create_node] 2021-01-03 22:07:16 | [Mutex] received everything. 2021-01-03 22:07:16 | [Mutex] isItemNotified: node_ynpu8b0203:create_node:success :: true 2021-01-03 22:07:16 | [Mutex] waiting for: [node_ynpu8b0203:subscribe_node] 2021-01-03 22:07:17 | [Mutex] received everything. 2021-01-03 22:07:17 | [Mutex] isItemNotified: node_ynpu8b0203:subscribe_node:success :: true 2021-01-03 22:07:17 | ===== publishing normal message (to online) 2021-01-03 22:07:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 22:07:17 | command: <data><node>node_ynpu8b0203</node><entry><content>content_m0r9vq0204</content></entry></data> 2021-01-03 22:07:17 | target: http://localhost:8088 2021-01-03 22:07:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 22:07:17 | entity: <data><node>node_ynpu8b0203</node><entry><content>content_m0r9vq0204</content></entry></data> 2021-01-03 22:07:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 06:07:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 22:07:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>064fd099-cfe5-48e9-8f9e-469172185204</value></item-id></result> 2021-01-03 22:07:17 | contains: true 2021-01-03 22:07:17 | [Mutex] received everything. 2021-01-03 22:07:17 | [Mutex] isItemNotified: user_regulari9rkg40202@test-domain.com:message:received:content_m0r9vq0204 :: true 2021-01-03 22:07:17 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-03 22:07:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 22:07:17 | command: <data><node>node_ynpu8b0203</node><expire-at>2021-01-04T06:07:12Z</expire-at><entry><content>content_6vqo730205</content></entry></data> 2021-01-03 22:07:17 | target: http://localhost:8088 2021-01-03 22:07:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 22:07:17 | entity: <data><node>node_ynpu8b0203</node><expire-at>2021-01-04T06:07:12Z</expire-at><entry><content>content_6vqo730205</content></entry></data> 2021-01-03 22:07:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 06:07:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 22:07:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>20a985d6-581c-498e-894b-1a47985ac4be</value></item-id></result> 2021-01-03 22:07:17 | contains: true 2021-01-03 22:07:17 | [Mutex] waiting for: [user_regulari9rkg40202@test-domain.com:message:received:content_6vqo730205] 2021-01-03 22:07:32 | [Mutex] timeout. Not received [user_regulari9rkg40202@test-domain.com:message:received:content_6vqo730205] 2021-01-03 22:07:32 | [Mutex] isItemNotified: user_regulari9rkg40202@test-domain.com:message:received:content_6vqo730205 :: false 2021-01-03 22:07:32 | ===== publishing normal message (to offline) 2021-01-03 22:07:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 22:07:32 | command: <data><node>node_ynpu8b0203</node><entry><content>content_qrh42m0206</content></entry></data> 2021-01-03 22:07:32 | target: http://localhost:8088 2021-01-03 22:07:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 22:07:32 | entity: <data><node>node_ynpu8b0203</node><entry><content>content_qrh42m0206</content></entry></data> 2021-01-03 22:07:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 06:07:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 22:07:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f3eefa4-1768-4582-98b6-63e79f1a243c</value></item-id></result> 2021-01-03 22:07:32 | contains: true 2021-01-03 22:07:37 | [Mutex] waiting for: [user_regulari9rkg40202@test-domain.com:message:received:content_qrh42m0206] 2021-01-03 22:07:37 | [Mutex] received everything. 2021-01-03 22:07:37 | [Mutex] isItemNotified: user_regulari9rkg40202@test-domain.com:message:received:content_qrh42m0206 :: true 2021-01-03 22:07:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-03 22:07:37 | [Mutex] received everything. 2021-01-03 22:07:37 | [Mutex] isItemNotified: node_ynpu8b0203:subscribe_node:success :: true 2021-01-03 22:07:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 22:07:37 | command: <data><node>node_ynpu8b0203</node><expire-at>2021-01-04T06:07:42Z</expire-at><entry><content>content_s96vwq0207</content></entry></data> 2021-01-03 22:07:37 | target: http://localhost:8088 2021-01-03 22:07:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 22:07:37 | entity: <data><node>node_ynpu8b0203</node><expire-at>2021-01-04T06:07:42Z</expire-at><entry><content>content_s96vwq0207</content></entry></data> 2021-01-03 22:07:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 06:07:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 22:07:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa44d69d-be5c-4b31-91d1-447570fb3647</value></item-id></result> 2021-01-03 22:07:37 | contains: true 2021-01-03 22:07:45 | [Mutex] waiting for: [user_regulari9rkg40202@test-domain.com:message:received:content_s96vwq0207] 2021-01-03 22:07:45 | [Mutex] waiting for: [user_regulari9rkg40202@test-domain.com:message:received:content_s96vwq0207] 2021-01-03 22:08:00 | [Mutex] timeout. Not received [user_regulari9rkg40202@test-domain.com:message:received:content_s96vwq0207] 2021-01-03 22:08:00 | [Mutex] received everything. 2021-01-03 22:08:00 | [Mutex] isItemNotified: user_regulari9rkg40202@test-domain.com:message:received:content_s96vwq0207 :: false 2021-01-03 22:08:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s96vwq0207 :: true |