jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Header in CSV File
Date Mon, 02 Mar 2009 23:00:19 GMT
On 02/03/2009, Jan Lagerpusch <> wrote:
> Hi all,
>  is it possible to use a CSV data file with header information, using the
>  header column names as variables?
>  Currently, the only way this works for me is if I delete the header row from
>  the CSV file and specify the column names in the CSV DataSet Config. I can
>  then access the field values using the ${specified_column_name} notation.
>  However, when I include specified_column_name as the column header in the
>  CSV file's first row and leave the "Variable Names (comma-delimited)"
>  Parameter in CSV DataSet Config empty, the variable name is not replaced by
>  the column contents. Do I have to use a different parameter name in that
>  case?
>  Is it possible to have a header row in the CSV file after all?

No, the only way to specify the column names is using the GUI field.

Feel free to raise a Bugzilla enhancement request to allow the
variable names to be defined in the file header and/or to ignore the
file header.

>  Best regards & thanks in advance,
>  Jan
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
>  For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message