当前位置:网站首页>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 .
边栏推荐
- Vs code specifies the extension installation location
- STM32 ADC and DMA
- Bean operation domain and life cycle
- Use of JSON extractor originals in JMeter
- Introduction to energy Router: Architecture and functions for energy Internet
- Memory ==c language 1
- 嵌入式背景知识-芯片
- 2022.7.6DAY598
- C logging method
- Kotlin实现微信界面切换(Fragment练习)
猜你喜欢
Es classes and objects, prototypes
高数_第1章空间解析几何与向量代数_向量的数量积
SQLyog数据库怎么取消自动保存更改
SolidWorks工程图中添加中心线和中心符号线的办法
LeetCode 练习——113. 路径总和 II
【HigherHRNet】 HigherHRNet 详解之 HigherHRNet的热图回归代码
Bean 作⽤域和⽣命周期
The story of Plato and his three disciples: how to find happiness? How to find the ideal partner?
每周推荐短视频:L2级有哪些我们日常中经常会用到的功能?
Fiddler simulates the interface test
随机推荐
AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
STM32中AHB总线_APB2总线_APB1总线这些是什么
2022.7.6DAY598
ES类和对象、原型
2022.7.4DAY596
搭建物联网硬件通信技术几种方案
Inno setup packaging and signing Guide
反射效率为什么低?
单片机(MCU)最强科普(万字总结,值得收藏)
The physical meaning of imaginary number J
Programming features of ISP, IAP, ICP, JTAG and SWD
学习记录——高精度加法和乘法
Video based full link Intelligent Cloud? This article explains in detail what Alibaba cloud video cloud "intelligent media production" is
每周推荐短视频:L2级有哪些我们日常中经常会用到的功能?
ORM--查询类型,关联查询
Factorial implementation of large integer classes
【acwing】786. Number k
2022.7.5DAY597
ArcGIS operation: batch modify attribute table
Postman interface test V