add_size_assertion
Add a size assertion to an HTTP sampler in a JMeter test plan to validate a response field's byte size against a specified threshold, ensuring response size meets expectations.
Instructions
Add a Size Assertion under an HTTP sampler, comparing a response field's byte size against a threshold.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Size Assertion | |
| size | Yes | Size in bytes to compare against | |
| planId | Yes | ||
| operator | No | equal | |
| parentId | Yes | ||
| testField | No | response_network_size |