当前位置:网站首页>CSV data file settings of JMeter configuration components
CSV data file settings of JMeter configuration components
2022-07-26 09:29:00 【The man running the horse doesn't get enough sleep】
One 、CSV Data file settings
effect : Reading data from a file , And store them in variables after splitting , Suitable for dealing with many variables . Data files , General with .csv,.dat ,.txt Wait for the end of the file , Separators between data are available , perhaps tab Space .
JMeter 2.3.4 Later versions , Support CSV Header line in file , If the variable name is empty , Then the first line of the file is read , And interpreted as a list of column names .
1. file name (Filename)
csv File path , It can be absolute path or relative path . It is recommended to fill in the relative path , Directly fill in the name of the parameter file , Include file suffix , And put the file in .jmx In the same directory .
2. File encoding (File encoding)
Coding format , Keep consistent with the document , If you have Chinese , Set to utf-8
3. Variable name (Variable Names)
If there is only one variable in the file , Write the variable name directly , If there are multiple variables , Separated by commas in English ; When testing, it is through the variable name to match this csv File paired
4. Whether quotation marks are allowed ?(Allow quoted data?)
Set to true after , When the parameter file contains quotation marks , The actual data is the data in quotation marks . For example, the data in the parameter file is "1", When using this parameter , The actual obtained value is 1.
Set to false after , When the parameter file contains quotation marks , The actual obtained value is all values . For example, the data in the parameter file is "1", When using this parameter , The actual obtained value is "1".
5. The end of the file is encountered and looped again ?(Recycle on EOF?)
Set to true after , The stop thread option is invalid when encountering the end of file , The data in the parameter file is recycled , The test is performed according to the settings in the thread group . such as :csv The documents are in common 10 Bar record , But the number of threads is 15 individual , loop 10 Next time , Start the cycle again .
Set to false after , The parameter file no longer iterates through the value .
6. Stop thread encountered end of file (Stop thread on EOF?)
When all parameters in the parameter file are executed , Stop the thread directly
7. Thread sharing mode (Sharing mode)
- All threads (All threads): The parameter file is shared by all threads , This includes different thread groups in the same test plan ( All threads under all thread groups under the test plan share parameter files , Parameter values before all threads affect each other , The thread takes the same value in the same iteration )
- Current thread group (Current thread group): Shared only with threads in the current thread group ( All threads under the current thread group share a parameter file , The previous values of threads under the same thread group affect each other , The thread takes the same value in the same iteration )
- Current thread (Current thread): Only the current thread gets ( That is, each thread gets a parameter file , Parameter values between threads do not affect each other , The thread takes the same value in the same iteration )
notes :
1) When the location of the parameter file and the thread group are at the same level , When there is a loop controller under the thread group , The parameter values under the cycle controller are the same
2) When there is a loop controller under the thread group , When the parameter file is under the loop controller , Take a new value at each iteration under the cyclic controller
3) There is only one controller under the thread group , The parameter file is under the controller only once , When the parameter is taken once under the controller only once , After that, no matter which iteration, the parameter value remains unchanged , Be similar to unique once
Parameter reference
Use it directly ginseng Count name call , Such as { Parameter name }, Such as ginseng Count name call , Such as {P_002_search}
边栏推荐
- 会议OA项目(三)---我的会议(会议排座、送审)
- MySql5.7.25源码安装记录
- Order based evaluation index (especially for recommendation system and multi label learning)
- OFDM 十六讲- OFDM
- matlab simulink实现模糊pid对中央空调时延温度控制系统控制
- PHP一次请求生命周期
- dll中的全局变量
- mysql5.7.25主从复制(单向)
- Neural network and deep learning-6-support vector machine 1-pytorch
- Does volatile rely on the MESI protocol to solve the visibility problem? (top)
猜你喜欢
Fiddler下载安装
【Flutter -- 布局】Align、Center、Padding 使用详解
Source code analysis of object wait notify notifyAll
antUI中a-modal 拖拽功能制作
After attaching to the process, the breakpoint displays "currently will not hit the breakpoint, and no symbols have been loaded for this document"
PMM(Percona Monitoring and Management )安装记录
2022 Shanghai safety officer C certificate examination questions and mock examination
Zipkin installation and use
js在控制台输出菱形
Arc GIS basic operation 3
随机推荐
The difference between thread join and object wait
What is asynchronous operation
I'm faded
【Mysql数据库】mysql基本操作集锦-看得会的基础(增删改查)
Force deduction brush questions, sum of three numbers
el-table的formatter属性的用法
Paper notes: knowledge map kgat (unfinished temporary storage)
js在控制台输出菱形
Selection and practice of distributed tracking system
神经网络与深度学习-6- 支持向量机1 -PyTorch
The problem of the sum of leetcode three numbers
注册模块用例编写
2020-12-29
Global variables in DLL
Force button list question
OFDM Lecture 16 - OFDM
省政府召开全省高温天气安全防范工作电视电话会议
Fiddler下载安装
PHP一次请求生命周期
微信小程序学习笔记2