How to start reading from the second line using CSV data configuration file in jmeter

The CSV data configuration is always read from the first line. I want to add column headers to a CSV file. Therefore, I want the CSV config to start reading from the second line.

The following is a parameter in a thread group. Number of threads = 1 Loop Count = 10 (depends on the number of lines in the CSV file)

+6
source share
2 answers

What version of JMeter are you using? It seems that leaving the Variable Names field blank will do the trick. More details here :

Versions of JMeter after version 2.3.4 support CSV files with a row header defining column names. To enable this, leave the Variable Names field blank. The correct delimiter must be provided.

+8
source
  • Leave the variable names empty as in the attached image.

enter image description here

  1. Add a header to the csv file. Header values ​​will act as variable names that can be used as parameters in queries. ~ sample object. CSV file facility1, name GG1LMD, test1

  2. Request

enter image description here

+6
source

All Articles