当前位置:网站首页>JMeter parameterization
JMeter parameterization
2022-06-24 20:48:00 【m0_ sixty-two million four hundred and ninety-six thousand nine】
A parameterized : Write the sent parameter data into a file in advance , Go again jmeter edit csv plug-in unit , Put many values into a parameter , When you need to fill in these values when editing a request , Just write the parameter name , It is equivalent to writing the corresponding parameter value . Parameterization allows you to execute interfaces in batches , Improve your work efficiency .
1. When will parameterization be used ?
When you need to send a lot of data , You can use parameterized batch execution interfaces .
2. In the use of jmeter When , It is often necessary to parameterize some data , Commonly used is CSV Data Set Config, Let's introduce the usage of this control in detail :
(1) adopt Test Plan perhaps Thread Group add to CSV Data Set Config

(2) Prepare data files , General with .csv,.dat .txt Wait for the end of the file , Separators between data are available , perhaps tab


Here are CSV Data Set Config Operating instructions for each parameter :

Allow Quoated data: Double quotation marks are related , example : If the parameter needs to include , perhaps ” etc. , This item can be selected True, The effect is as follows :

Recycle on EOF: Set to True after , Circular values are allowed
Stop Thread EOF: When Recycle on EOF by false also Stop Thread EOF by true, Then finish reading csv After the record in the file , Stop running , Invalid number of threads and execution times
- Sharing Mode: Sharing mode :
- All threads: All threads , All threads loop values , Threads 1 Take the first line , Thread 2 takes down a line .
- Current thread group: Current thread group , Each thread group has its own value .
- Current thread: Current thread , All threads in the test plan take the first line .
3、 Parameter reference :${ Variable name }

边栏推荐
- Basic properties and ergodicity of binary tree
- Open programmable infrastructure (OPI) project, redefining dpu/ipu
- Leetcode(455)——分发饼干
- Where is 5g really powerful? What is the difference with 4G?
- RF_ DC system clock setting gen1/gen2
- Interpreter mode -- formulas for dating
- Sequential stack traversal binary tree
- Leetcode(135)——分发糖果
- CVPR 2022 remembers Sun Jian! Tongji and Ali won the best student thesis award, and hekaiming was shortlisted
- Map跟object 的区别
猜你喜欢

宅男救不了元宇宙

The latest simulated question bank and answers of the eight members (Electrical constructors) of Sichuan architecture in 2022

Prototype mode -- clone monster Army

Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading

Apple doesn't need money, but it has no confidence in its content

Bean lifecycle flowchart

Berkeley, MIT, Cambridge, deepmind et d'autres grandes conférences en ligne: vers une IA sûre, fiable et contrôlable

Apple, Microsoft and Google will no longer fight each other. They will work together to do a big thing this year

两位湖南老乡,联手干出一个百亿IPO

苹果、微软、谷歌不再掐架,今年要合力干一件大事
随机推荐
Two fellow countrymen from Hunan have jointly launched a 10 billion yuan IPO
C语言实现扫雷(简易版)
Hongxiang Yunteng is compatible with dragon lizard operating system, and the product runs stably
Batch capitalization of MySQL table names
Builder mode -- Master asked me to refine pills
RF_ DC system clock setting gen1/gen2
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
Summary of idea practical skills: how to rename a project or module to completely solve all the problems you encounter that do not work. It is suggested that the five-star collection be your daughter
Compressed list of redis data structures
Memo mode - game archiving
2021-09-30
科创人·味多美CIO胡博:数字化是不流血的革命,正确答案藏在业务的田间地头
年轻人捧红的做饭生意经:博主忙卖课带货,机构月入百万
[cann document express issue 04] unveiling the development of shengteng cann operator
用手机摄像头就能捕捉指纹?!准确度堪比签字画押,专家:你们在加剧歧视
基于QT+MySQL的相机租赁管理系统
maptalks:数据归一化处理与分层设色图层加载
Leetcode(146)——LRU 缓存
Bridging mode -- law firm
VMware virtual machine setting static IP