当前位置:网站首页>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 .
边栏推荐
猜你喜欢
[learning notes - Li Hongyi] Gan (generation of confrontation network) full series (I)
LeetCode 练习——113. 路径总和 II
[sword finger offer] 42 Stack push in and pop-up sequence
Programming features of ISP, IAP, ICP, JTAG and SWD
Introduction to energy Router: Architecture and functions for energy Internet
嵌入式背景知识-芯片
ORM -- logical relation and & or; Sort operation, update record operation, delete record operation
Fiddler simulates the interface test
Leetcode exercise - 113 Path sum II
ES6中的原型对象
随机推荐
Appx代碼簽名指南
为什么安装mysql时starting service报错?(操作系统-windows)
HAL库配置通用定时器TIM触发ADC采样,然后DMA搬运到内存空间。
Apprentissage avancé des fonctions en es6
【acwing】789. Range of numbers (binary basis)
搭建物联网硬件通信技术几种方案
运用tensorflow中的keras搭建卷积神经网络
Finally, there is no need to change a line of code! Shardingsphere native driver comes out
Factorial implementation of large integer classes
mysql插入数据创建触发器填充uuid字段值
The landing practice of ByteDance kitex in SEMA e-commerce scene
Google colab loads Google drive (Google drive is used in Google colab)
Parameter sniffing (1/2)
嵌入式工程师如何提高工作效率
ORM--数据库增删改查操作逻辑
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
[ORM framework]
ORM--分组查询,聚合查询,查询集QuerySet对象特性
The new activity of "the arrival of twelve constellations and goddesses" was launched
conda离线创建虚拟环境