json string [] denotes an array of objects, {} represents an object.
Object contains a number of "property": property value. Property value may be a value, or an array, or object.
JSON Extractor using json path expression matching can take a plurality of variable values. $ Root object represents the response. Attribute takes a child object or objects. Take the object with the array [] array index starts from 0.
Example:
Example 1 to find a response result is json format, in response to the analysis result.
The following example is a response of the entire array, including four objects. Thus a value of $ [Index * take all or take 0-3] Property Value
Example 2 If the response is similar to { "Properties": [{ "sx": 1}, {}, {}]}, the entire response is an object. Taking the value of sx: $ attributes [0] .sx.
json extractor parameters introduced
names of created variables: the received value of the variable name, separated by semicolons plurality of variables
json path: json path expressions, but also with a semicolon delimited
match no: 0 random; n-value taking the first few matches; -1 Match all subsequent references of the N values taken _N variable name.
default values: default value, the matching value less than the value taken when
Modify json extractor Gets an array of all the values $ [*]. Property. match no = 3 take the first three.
After the match no = 5, array bounds, take default values
Modify settings json extractor match match no = -1 all values; http request and modify the parameters for reception parameters $ {varname_N}. N = 1-4.
Modify json extractor, $ {varname_N} after the parameter N is not out of range