Jmeter-6 CSV Data Set Config file Import

Source: Internet
Author: User

When a thread group cycles more than 1 times, the data submitted in the request is the same. Some systems restrict the inability to submit the same data, and we load the CSV file data with the CSV data Set Config.

1 Create a text file with the input parameter value saved as a. csv file. Iterates through one row of data at a time.

2 Jmeter Thread Group Right-click "Add" Configuration Component "CSV Data set Config [Dinghanhua]

3 CSV Data Set config edit page

FileName: Absolute path to File

Encoding: File Encoding

Variable names: argument name, Parameter name, .... Corresponds to the parameter value one by one within the file.

Delimiter: Default comma

Allow quoted data: There are parameters inside the file that contain delimiters. In the CSV file, use "" to enclose the parameters containing the delimiter.

Last three items: 1 The file finishes reading whether to terminate the loop 2 if the file finishes reading stop process 3 shared scope

4 referencing parameters in the request

5 thread groups set the number of cycles to run 4 times. Reads one row of data at a time.

The end!

Jmeter-6 CSV Data Set Config file Import

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.