Jmeter - return JSON Extractor extracts the value

Reference from: https: //www.cnblogs.com/loveapple/p/9852456.html

Parameter Description:

Variable names: variable name stored later with reference $ {Variable names}

JSON Path expressions: the previous step through debugging json path expression

Match Numbers: matching digits (0 represents a random, 1 for the first, -1 for all)

Default Values: can not find the default value is usually set to NOT FOUND

Compute concatenation var (suffix_ALL): whether to count all upcoming matches to save all values, called "variable name _ALL", usage scenarios need to get multiple values ​​are behind the need for the operation of this set of data.

 

JSON PATH EXPRESSION syntax:

JsonPath

description

$

Root

@

The current node

.or[]

Child node

..

Select all eligible node

*

All nodes

[]

Iterator mark, such as an array subscript

[,]

Support iterator do multiple choice

[start:end:step]

Array slice operator

?()

Support filtering

()

Support for expression evaluation

 

Expressions debugging techniques:

It can result in the tree, debugging through JSON PATH TESTER

 

Guess you like

Origin www.cnblogs.com/tangym/p/11010855.html