JSON/YAML Path Extractor


This plugin was originally developed by Atlantbh d.o.o., released as jmeter-components, then merged into JP@GC,, and reworked significantly in v.1.2.1


Allows extracting values from JSON or YAML responses using JSONPath syntax. Use Input Format radio buttons for switch between JSON/YAML.

It will try to find the JSON path provided and extract corresponding value. If the path is not found, it will use default value. For the null value the "null" string will be used.

If result is array, it will additionally set loop variables. This is much like RegExp Extractor or XPath Extractor do to support ForEach Controller input:

  • varName_1
  • varName_2
  • varName_3
  • ...

NOTE: In case when checked YAML Input Format then plugin will convert YAML to JSON.


Download Example Test Plan