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

边栏推荐
- Jmeter-If控制器
- 周末和技术大咖们聚餐,聊到了软件测试行业的“金九银十”高峰【内卷之势已然形成】
- 【Golang】golang实现发送微信服务号模板消息
- Kubernetes Foundation
- This should be postman, the most complete interface testing tool in the whole network
- 简单理解modbus功能码和分区
- Leetcode 112. 路径总和
- [golang] golang implements the post request to send form type data function
- Nodejs installation tutorial
- UNIX C language POSIX thread creation, obtaining thread ID, merging thread, separating thread, terminating thread, thread comparison
猜你喜欢

Blue Bridge Cup provincial match training camp - Calculation of date

Over the weekend, I had a dinner with the technology gurus and talked about the "golden nine and silver ten" peak of the software testing industry [the trend of involution has been formed]

JMeter interface test steps - Installation Tutorial - script recording - concurrent test

Directional crawling Taobao product name and price (teacher Songtian)

Talk about software testing - automated testing framework

Jmeter-If控制器

聊聊软件测试-自动化测试框架

Self taught software testing talent -- not covered

Idea background image set

网络爬虫之短信验证
随机推荐
Why can't memset initialize array elements to 1?
Installing Oracle Xe with Linux
STM32+ESP8266+MQTT协议连接阿里云物联网平台
MicroBlaze adds a custom IP core and attaches the Axi bus to realize ssd1306 OELD drive
Blue Bridge Cup - binary conversion exercise
Four components and working principle of frequency converter
CSDN blog removes the uploaded image watermark
【Golang】golang实现简单memcache
Fiddler抓包工具总结
Xilinx FPGA soft core development process
View the source code of idea Download
MySQL query field matches the record of a rule
MySQL paging
Directional crawling Taobao product name and price (teacher Songtian)
The difference between Lora wireless technology and lorawan gateway module
LDR6028充电OTG直播线直播声卡音频转接器最具性价比方案
UNIX C language POSIX mutex thread synchronization
Jmeter-Runtime控制器
[golang] golang realizes sending wechat service number template messages
聊聊软件测试-自动化测试框架