A sampler only fails on connection errors or HTTP ≥ 400 unless you add assertions. A 200 page saying "Something went wrong" is still a failure. Assertion Checks Response Assertion status code, body contains/matches, headers JSON Assertion JSON path exists / equals / matches regex Duration Assertion response time ≤ N ms Size Assertion body size JSR223 Assertion any custom Groovy logic SLA thresholds for the whole run Encode SLAs so the run fails automatically in CI: e.g. p95 < 800 ms and error rate < 1%. Options: dashboard APDEX thresholds, the JMeter Maven/Gradle plugin with checks, or a small script that parses the JTL (below). Keep assertions lightweight — heavy regex on large bodies consumes load-generator CPU.