1. First, right-click to add a thread and select Thread Group, name it Thread Group-1, add a sampler and select HTTP Request--City Weather
2. Right-click on Thread Group-1, add sampler and select JSON Extractor in the post-processor
3. Right-click Thread Group-1, add sampler, select BeanShell post-processor in the post-processor (must be level)
4. First, right-click to add a thread and select Thread Group, named Thread Group-2. Right-click to add a sampler and select HTTP Request.
5. Right-click Thread Group-2 to add, and select View Result Tree in the listener.
Regular expression
1. Right-click on the test plan to add, select thread group.
2. Right-click on the thread group, select HTTP request for sampler, create 2, right-click on the first HTTP request to add, and select the regular expression extractor for the post-processor. Make edits
3. View the result tree
IF controller
1. First, right-click the test plan to add it, and select the thread group for the thread.
2. Right-click the thread group, select user-defined variables in the listener, and click Add to add a variable and its corresponding value.
3. Right-click the thread group to add, select the if (If) controller for the logic controller, create 2, and use the function __jexl3 to improve efficiency.
4. If (If) right-click the controller to add it, select the HTTP request in the sampler, and visit http://www.baidu.com and http://qq.com respectively .
5. Right-click the thread group to add, and select View Result Tree in the listener.
To connect jmeter to mysql
1, you first need to install mysql-connector-java-5.1.35-bin.jar in the F:\software\apache-jmeter-5.1.1\lib directory.
2. Right-click the test plan to add, and select the thread group for the thread.
3. Right-click the thread group to add, configure the original, select JDBC Connection Configuration, and then configure
2. Right-click the thread group to add, and select JDBC Request as the sampler.
Proxy server
1. Right-click the test plan to add, select the thread group and select the thread group
. 2. Right-click the test plan to add, and select the HTTP proxy server for non-test components.
3. Windows settings proxy, Settings--Network and Internet--Proxy
Request results
2023 latest Jmeter interface testing from entry to proficiency (full set of project practical tutorials)