Add JSON Extractor <http://jmeter.apache.org/usermanual/component_reference.html#JSON_Extractor> as a child of the request which returns the above JSON and use the following expression:
> $..[?(@.isComplete == 0)].productID Explanation: 1. .. - is a deep scan operator <https://github.com/json-path/JsonPath#operators> so the expression searches for all the *productID* attribute values 2. == is a filter operator <https://github.com/json-path/JsonPath#filter-operators> so the expression will return productID only when isComplete equals to 0 See JMeter's JSON Path Extractor Plugin - Advanced Usage Scenarios <https://www.blazemeter.com/blog/advanced-usage-json-path-extractor-jmeter> for more details on performing advanced correlation operations via JsonPath query language -- Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
