Expected 404 errors should not be reported as a failure #1298
Labels
cloud
enhancement
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
feature
new-http
issues that would require (or benefit from) a new HTTP API
For long-time operations, the endpoint returns a location header and is up to the backend to pull the endpoint for the response, the endpoint should return 404 until the request is processed and ready.
In K6 I was able to code my way around this:
However in LoadImpact I receive this message:
The total number of HTTP(s) errors is higher than 15% during the first 100 completed script iterations.
We should somehow be able to tell LoadImpact when the 404 result is an expected and leave the error to be raised by the code in that case, so it will not clog the logs.
The text was updated successfully, but these errors were encountered: