当前位置:网站首页>JMeter if controller
JMeter if controller
2022-07-24 11:21:00 【51CTO】
1. Enter into Jmeter In the catalog bin Folder , double-click jmeter.bat, open Jmeter;

2. Enter into Jmeter,Test Plan Right click -Add-Threads(Users)-Thread Group, Create thread group ;

3. Create a IF Request condition of the controller , add to HTTP request , Such as Baidu ;

- stay HTTP Request right click to select ADD-Post Processors-Beanshell PostProcessor, establish Beanshell Post Processors ;


- stay Script Input in “vars.put("login","true")”, Login success status ;

- Right click in the thread group ADD-Logic Controller-IF Controllers, establish IF Logic controller ;

7. stay IF Add HTTP request ;

8.IF Enter the expression in the controller , If login is successful , Execute the following HTTP Login request ; Can be in Tool-Function Helper Dialog Auxiliary values in the function assistant ;

9. choice __groovy, Input “${login}”==true, Click on Generate & Copy to clipboard Build expression , Such as 4, Copy this value to IF The controller ;


10. Click on the perform , Check whether the login request is executed , Execution means that this condition is true , The right to perform ;

边栏推荐
- What is the difference between low code and no code?
- Redis 100 million level data storage scheme hash slot partition
- Self taught software testing talent -- not covered
- 08【AIO编程】
- 【Golang】golang实现md5加密函数
- 系统管理员需知的 16 个 iptables 使用技巧
- The difference between Lora wireless technology and lorawan gateway module
- JMeter interface test steps - Installation Tutorial - script recording - concurrent test
- Ask n! How many zeros are there behind
- High frequency written test questions (Weilai)
猜你喜欢

Idea hidden Idea folder hides.Iml files

Ask n! How many zeros are there behind

Sentinel vs Hystrix 限流对比,到底怎么选?

《Nature》论文插图复刻第3期—面积图(Part2-100)

Ldr6028 charging OTG live line live sound card audio adapter is the most cost-effective solution

Fiddler packet capture tool summary

Text message verification of web crawler

关于【软件测试-自动化测试之面试技巧和注意事项】——侃侃而谈

【10】团队协作和跨团队协作

RS485 communication OSI model network layer
随机推荐
MySQL查询字段匹配某个规则的记录
【攻防世界WEB】难度五星15分进阶题:ics-07
Self taught software testing talent -- not covered
Text message verification of web crawler
性能测试总结(一)---基础理论篇
How to access the code of online customer service system to your website
07 [use of path and files classes]
Altium one key automatic BOM
Leetcode 257. 二叉树的所有路径
SSH跨平台终端工具tabby推荐
Classification and introduction of arm and series processors
stream流
High speed ADC test experience
"Low power Bluetooth module" master-slave integrated Bluetooth sniffer - help smart door lock
This should be postman, the most complete interface testing tool in the whole network
Ask n! How many zeros are there behind
Fiddler packet capture tool summary
Nodejs ctf 基础
Read the triode easily. It turns out that it works like this
PIP update command