Closed dmlemeshko closed 1 year ago
Currently we use global request timeout (60000 ms) for all api calls. It is set in gatling.conf. https://github.com/elastic/kibana-load-testing/blob/main/src/test/resources/gatling.conf#L80
gatling.conf
In some case we would like to set custom request timeout per end-point e.g. increasing it up to 2 minutes.
Update your request in api journey with timeout property and value in milliseconds for consistency with global value:
timeout
{ "http": { "method": "POST", "path": "/api/telemetry/v2/clusters/_stats", "body": "{}", "headers": { "Cookie": "", "Kbn-Version": "", "Accept-Encoding": "gzip, deflate, br", "Content-Type": "application/json" }, "statusCode": 200, "timeout": 120000 } }
Delete any items that are not applicable to this PR.
- [ ] Branch is successfully tested on Kibana CI
Summary
Currently we use global request timeout (60000 ms) for all api calls. It is set in
gatling.conf
. https://github.com/elastic/kibana-load-testing/blob/main/src/test/resources/gatling.conf#L80In some case we would like to set custom request timeout per end-point e.g. increasing it up to 2 minutes.
Update your request in api journey with
timeout
property and value in milliseconds for consistency with global value:Checklist
Delete any items that are not applicable to this PR.
- [ ] Branch is successfully tested on Kibana CI