当前位置:网站首页>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 ;

边栏推荐
- 系统管理员需知的 16 个 iptables 使用技巧
- Yum installation prompt to protect multi library version
- How to access the code of online customer service system to your website
- RRPN:Arbitrary-Oriented Scene Text Detection via Rotation Proposals
- 这才是开发者神器正确的打开方式!
- Robot framework official tutorial (I) getting started
- JPS has no namenode and datanode reasons
- 【Golang】golang实现sha256加密函数
- selenium3自动化测试(这一篇就够了)——自学篇
- JMeter接口测试步骤-安装教程-脚本录制-并发测试
猜你喜欢

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

Taking advantage of the momentum, oceanbase promotes the lean growth of digital payment

E2PROM read / write (xiicps) on PS side of zcu102 board

Blue Bridge Cup provincial match training camp - Calculation of date

Lanqiao cup provincial training camp - stack and recursion

Value and technical thinking of vectorization engine for HTAP

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

Idea hidden Idea folder hides.Iml files

简单理解modbus功能码和分区

2022, the average salary of the soft tester, after reading it, I was instantly cool
随机推荐
运算放大器 —— 快速复苏笔记[壹](参数篇)
Redismission inventory deduction demo
selenium3自动化测试(这一篇就够了)——自学篇
08【AIO编程】
Nodejs ctf 基础
How to use SSH and SFTP protocols at home
Redis 100 million level data storage scheme hash slot partition
视频回放 | 如何成为一名优秀的地学和生态学领域的国际期刊审稿人?
Why can't memset initialize array elements to 1?
聊聊软件测试-自动化测试框架
网络爬虫之短信验证
【攻防世界WEB】难度五星15分进阶题:ics-07
关于【软件测试-自动化测试之面试技巧和注意事项】——侃侃而谈
Conversion between hexadecimal string and byte array
HDU 3351:Seinfeld
[golang] golang implements the string interception function substr
MySQL查询字段匹配某个规则的记录
Zynq TTC usage
Collation of important MySQL configuration parameters
CSDN blog removes the uploaded image watermark