JSON Path Extractor

Download

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

Description

Allows extracting values from JSON responses using JSONPath syntax.

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
  • ...

Example

Download Example Test Plan