add_json_extractor
Adds a JSON Extractor to an HTTP sampler, capturing a value from the JSON response into a JMeter variable using a JSONPath expression.
Instructions
Add a JSON Extractor post-processor under an HTTP sampler, to save a value from the JSON response into a variable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| planId | Yes | ||
| parentId | Yes | Id of the HTTP sampler node this extractor applies to | |
| defaultValue | No | Value to use if the JSONPath doesn't match | NOT_FOUND |
| jsonPathExpr | Yes | JSONPath expression, e.g. $.data.id | |
| referenceName | Yes | JMeter variable name to store the extracted value in |