当前位置:网站首页>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 .
边栏推荐
- STM32产品介绍
- web3.0系列之分布式存储IPFS
- Postman tutorial - scripting
- ArcGIS operation: batch modify attribute table
- Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
- Video based full link Intelligent Cloud? This article explains in detail what Alibaba cloud video cloud "intelligent media production" is
- Programming features of ISP, IAP, ICP, JTAG and SWD
- LeetCode 练习——113. 路径总和 II
- ISP、IAP、ICP、JTAG、SWD的编程特点
- 2022.7.4DAY596
猜你喜欢
IO模型复习
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
SolidWorks工程图中添加中心线和中心符号线的办法
[sword finger offer] 42 Stack push in and pop-up sequence
The physical meaning of imaginary number J
Guide de signature du Code Appx
[ORM framework]
Agile course training
虚数j的物理意义
ORM--查询类型,关联查询
随机推荐
官媒关注!国内数字藏品平台百强榜发布,行业加速合规健康发展
【学习笔记-李宏毅】GAN(生成对抗网络)全系列(一)
conda离线创建虚拟环境
【acwing】786. 第k个数
MongoDB创建一个隐式数据库用作练习
mysql插入数据创建触发器填充uuid字段值
Weekly recommended short videos: what are the functions of L2 that we often use in daily life?
HAL库配置通用定时器TIM触发ADC采样,然后DMA搬运到内存空间。
ISP、IAP、ICP、JTAG、SWD的编程特点
ISP、IAP、ICP、JTAG、SWD的编程特点
Smart city construction based on GIS 3D visualization technology
Pdf document signature Guide
Learning records - high precision addition and multiplication
Postman interface test II
“十二星座女神降临”全新活动推出
Google colab loads Google drive (Google drive is used in Google colab)
关于hzero-resource报错(groovy.lang.MissingPropertyException: No such property: weight for class)
Programming features of ISP, IAP, ICP, JTAG and SWD
Word自动生成目录的方法
Kotlin实现微信界面切换(Fragment练习)