当前位置:网站首页>JMeter loop controller and CSV data file settings are used together
JMeter loop controller and CSV data file settings are used together
2022-07-07 10:21:00 【Splendid Qianyang 813】
Catalog
1. Preparation before execution
1. Preparation before execution
Demand is : There is a variable , The variables are 3 Values need to be executed circularly , Look at the results ;
- Add thread group
- add to http request
- Add loop controller
- add to CSV Data file settings
- Add debugger ( You can check whether the value obtained each time is correct )
2. Execution order
1.CSV file 、 debugging 、 request
What I use is a variable , If there are multiple variables , It can be separated by English commas ;
CSV The file is consistent with the setting of the number of cycles , For example, the data value in the file is 3 individual , Then cycle 3 Time ( Of course, the loop is also related to the number of loops in the thread group , The default thread group is 1).
It should be noted that CSV It needs to be placed under the cycle controller , Otherwise, the file is not read correctly , Of course, the request interface should also be placed under the loop controller .

2. Correct sorting
tips: Sort according to the pictures , The execution result is three groups ( The cycle controller is set to cycle 3 Time )
- The request is not placed under the loop controller , Then the file executes only the first value , The remaining two... Will not be executed ;
- The same is true for debugging the sampler , If placed outside the cycle controller , Then only the data of the last execution will be displayed , The data will not be displayed every time ;
3. Related to thread group

If you set 3 Time , The final result is 9 Time , That is, the thread group is the largest loop , The circulation controller is on the inner layer .

边栏推荐
- 基于gis三维可视化技术的智慧城市建设
- Fiddler simulates the interface test
- XML配置文件解析与建模
- AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
- Postman tutorial - scripting
- ISP、IAP、ICP、JTAG、SWD的编程特点
- Guide de signature du Code Appx
- ORM模型--关联字段,抽象模型类
- This article explains the complex relationship between MCU, arm, muc, DSP, FPGA and embedded system
- Bean 作⽤域和⽣命周期
猜你喜欢

【acwing】789. 数的范围(二分基础)

web3.0系列之分布式存储IPFS

ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作

Es classes and objects, prototypes

Weekly recommended short videos: what are the functions of L2 that we often use in daily life?

The method of word automatically generating directory

Programming features of ISP, IAP, ICP, JTAG and SWD

STM32 ADC and DMA

Google colab loads Google drive (Google drive is used in Google colab)

How to cancel automatic saving of changes in sqlyog database
随机推荐
.NET配置系统
反卷积通俗详细解析与nn.ConvTranspose2d重要参数解释
STM32 product introduction
AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
Download Text, pictures and ab packages used by unitywebrequest Foundation
ORM--数据库增删改查操作逻辑
C#记录日志方法
Postman interface test IV
Bean operation domain and life cycle
Some thoughts on the testing work in the process of R & D
ArcGIS operation: batch modify attribute table
IPv4套接字地址结构
高数_第1章空间解析几何与向量代数_向量的数量积
串口通讯继电器-modbus通信上位机调试软件工具项目开发案例
电表远程抄表拉合闸操作命令指令
Google Colab装载Google Drive(Google Colab中使用Google Drive)
“十二星座女神降临”全新活动推出
ORM -- query type, association query
官媒关注!国内数字藏品平台百强榜发布,行业加速合规健康发展
搭建物联网硬件通信技术几种方案
