There are many situations where an endpoint returns a client error by design - for example a call to an AWS IAM endpoint to check for an existing session, which returns a 401 if the user is not logged in.
We really need to allow a k6 cloud user to set what the pass/fail criteria are for a test, which might not include certain expected http return codes from certain endpoints.
There are many situations where an endpoint returns a client error by design - for example a call to an AWS IAM endpoint to check for an existing session, which returns a 401 if the user is not logged in.
We really need to allow a k6 cloud user to set what the pass/fail criteria are for a test, which might not include certain expected http return codes from certain endpoints.