add_response_assertion
Add a response assertion under an HTTP sampler to fail the sample when the response does not match specified patterns, enabling automated validation in JMeter test plans.
Instructions
Add a Response Assertion under an HTTP sampler, to fail the sample if the response doesn't match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| not | No | Negate the match (assert the pattern does NOT match) | |
| name | No | Response Assertion | |
| planId | Yes | ||
| parentId | Yes | ||
| patterns | Yes | ||
| matchType | No | contains | |
| testField | No | response_data |