k6 Thresholds: Turn a Load Test Into a Real CI Gate: Daily QA Post | TestVerse

k6 thresholds are the pass/fail criteria you define on test metrics. If the system under test doesn't meet a threshold's condition, the run finishes with a failed status and k6 exits with a non-zero code, which is what actually makes a load test usable as a CI gate. Checks (per-request ✓/✗ assertions) do not affect the exit code on their own; only thresholds do, though you can gate on check pass-…