当前位置:网站首页>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 .
边栏推荐
- UnityWebRequest基础使用之下载文本、图片、AB包
- Use of JSON extractor originals in JMeter
- The request object parses the request body and request header parameters
- Video based full link Intelligent Cloud? This article explains in detail what Alibaba cloud video cloud "intelligent media production" is
- web3.0系列之分布式存储IPFS
- The physical meaning of imaginary number J
- ORM -- logical relation and & or; Sort operation, update record operation, delete record operation
- Horizontal split of database
- 搭建物联网硬件通信技术几种方案
- A wave of open source notebooks is coming
猜你喜欢
随机推荐
SQLyog数据库怎么取消自动保存更改
运用tensorflow中的keras搭建卷积神经网络
【acwing】789. 数的范围(二分基础)
串口通讯继电器-modbus通信上位机调试软件工具项目开发案例
Vs code specifies the extension installation location
phpcms实现PC网站接入微信Native支付
The request object parses the request body and request header parameters
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
Appx code signing Guide
Encrypt and decrypt stored procedures (SQL 2008/sql 2012)
Inno Setup 打包及签名指南
ES6中的原型对象
.NET配置系统
STM32基础知识—内存映射
Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
Postman interface test II
ORM model -- creation and query of data records
Word自动生成目录的方法
Postman interface test III
Phpcms realizes PC website access to wechat native payment