Jmeter set global variable

In the scenario, the code is matched from the result of the first request and used as a parameter for the next request.

Take the red envelope grab as an example:

1. Create a red envelope, and get the red envelope code from the returned result



2. code is set as a globally accessible variable



3. Get the code and pass it as a parameter


 

Article source: https://www.cnblogs.com/iLoveMyD/p/6737374.html

Reference article: https://blog.csdn.net/r455678/article/details/53576182

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326117981&siteId=291194637