How JMeter uses user-defined variables

User-defined variables are often used in jmeter. The following is how to use custom variables in practice.

First use Badboy to record the login script, and the specific Badboy recording script method is Baidu. Modify the script after recording and delete some useless scripts. Here I only keep the login script. As shown in the figure:

Add user customization, as shown below:

When configuring variables, select Add, then give the variable a name, and pass parameters. In the place of the received parameter, use ¥{} to receive the parameter. As shown below:

Guess you like

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