jmeter parameter delivery (regular, json, beanshell)

jmeter typically achieved by passing the parameter post processor. Usually using regular extractor, json extractor, beanshell. Use as three, it is to be extracted in an extractor plus the following requests it.

 

First, the regular expression extractor

1. The regular expression extractor is relatively simple in usage of jmeter "(. +?)", To be extracted in parentheses. Figure specific use:

 

 

 

Two, json expression extractor (json extractor)

1.json expression json string extractor for use, particularly the use of the following figure:

 

 

 

Three, beanshell (post processor -BeanShell Processor)

Sometimes in regular and json are not eligible, you can try using beanshell resolve http request to obtain a response result. This section describes how to resolve the request, how to pass parameters in the beanshell. Specific achieve the following:

 

Guess you like

Origin www.cnblogs.com/jinziguang/p/11670689.html