k6-docs icon indicating copy to clipboard operation
k6-docs copied to clipboard

Document k6 CLI exit codes

Open heitortsergent opened this issue 2 years ago • 2 comments

Related to: https://github.com/grafana/k6/issues/2804, https://github.com/grafana/k6/issues/870.

We have the k6 Cloud test status codes documented, but not the CLI exit codes.

heitortsergent avatar Sep 06 '23 15:09 heitortsergent

Looking at https://github.com/grafana/k6/issues/2804, I think our specific use case is special in that we want to remove the possibility for certain types of failures e.g. threshold.

When running a smoke test, we're doing a single iteration and need to get as close to pass/fail as possible.

jalevin avatar Sep 07 '23 03:09 jalevin

@jalevin I see. 🤔 I'm gonna keep this issue open to just focus on documenting the exit codes, but maybe it's worth opening a separate issue in the k6 repo for your use case to discuss this with the broader k6 team?

heitortsergent avatar Sep 07 '23 19:09 heitortsergent