-1

Is there any way to parameterize the CSV data file path or source directory path in JMeter?

Subodhya
  • 9
  • 4
  • Does this answer your question? [How to do parameterization for file name text of csv data set config in jmeter](https://stackoverflow.com/questions/27721871/how-to-do-parameterization-for-file-name-text-of-csv-data-set-config-in-jmeter) – Ori Marko Jul 08 '20 at 07:01

1 Answers1

0

There are at least 2 possibilities:

  1. Via User Defined Variables like:

    enter image description here

    and then referring the variable in the CSV Data Set Config

    enter image description here

  2. Or via __P() function like:

    enter image description here

    the property value can be passed via -J command line argument or put into the user.properties file. See Overriding Properties Via The Command Line for more information.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133