Parameterization in JMeter / CSV Dataset Config

CSV Dataset Config (Parameterization):


To pass the different set of user inputs for different threads running on the server during the load test execution.
Configure the CSV file in CSV Data Set Config and add in the thread group where it is required

Replace the parameter value as ${Parameter} in corresponding HTTP Request.


Attributes in CSV Data Set Config:


Attribute
Description
Name
Descriptive name for the CSV Data set config that is shown in the tree
Filename
Name of the file to be read and it also specifies the path of the particular file
File Encoding
Used to read the data from the file in the specific encoding format
Variable Names
List of variable names are mentioned using comma delimiter (Parameter Names)
Delimiter
Used to split the records in the file
Allow quoted data?
Allow values to be quoted in double quote or a delimiter
Recycle on EOF?
To specify, file be re-read from the beginning on reaching EOF
Stop thread on EOF?
Specifies to stop reading the file on reaching the EOF
Sharing mode
All threads: File is shared between all the threads
Current thread group: Each file is opened once for each thread group in which the element appears
Current thread: Each file is opened separately for each thread
Identifier/Edit: All threads sharing the same identifier share the same file


Right Click on ThreadGroup–> Add–>Config Element–> CSV Data Set Config



No comments:

Post a Comment