当前位置:网站首页>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}
边栏推荐
- [MySQL] understand the important architecture of MySQL (I)
- tabbarController的使用
- 点击input时,不显示边框!
- V-for dynamically sets the SRC of img
- Custom password input box, no rounded corners
- 2020-12-29
- 添加dll
- 青少年软件编程等级考试标准解读_二级
- [shutter -- layout] detailed explanation of the use of align, center and padding
- 官方颁发的SSL证书与自签名证书结合实现网站双向认证
猜你喜欢

2022 chemical automation control instrument operation certificate test question simulation test platform operation

Elastic APM installation and use

【Mysql数据库】mysql基本操作集锦-看得会的基础(增删改查)

Your login IP is not within the login mask configured by the administrator

docker配置mysql集群

Drawing shadow error diagram with MATLAB

arc-gis的基本使用2

arcgis的基本使用1

antUI中a-modal 拖拽功能制作

Zipkin installation and use
随机推荐
网站设计需要的基本知识
Windows通过命令备份数据库到本地
Solve "note: one or more layouts are missing the layout_width or layout_height attributes."
登录模块用例编写
V-for dynamically sets the SRC of img
微信小程序AvatarCropper 头像裁剪
Simple pedestrian recognition code to 88% accuracy Zheng Zhedong preparation
2022 chemical automation control instrument operation certificate test question simulation test platform operation
Process32first returns false, error x message 24
Process32First返回false,错误x信息24
Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
Basic use of Arc GIS 2
2020-12-29
【线上死锁分析】由index_merge引发的死锁事件
TabbarController的封装
微信小程序学习笔记2
[MySQL] understand the important architecture of MySQL (I)
Your login IP is not within the login mask configured by the administrator
arcgis的基本使用1
Calling DLL to start thread