Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set path to the file location in the "CSV Data Set Config" if csv.file is located in bitbucket

Tags:

jmeter

I want to run Jmeter project in Jenkins. I commited project.jmx and related csv files in bitbucket. How can I set the path to the csv file located in bitbucket

like image 982
mariia Avatar asked Dec 07 '22 23:12

mariia


1 Answers

CSV Data Set config will accept

  • Absolute path (the complete path like c:\path\to\csv\file.csv)
  • Relative path from the test (csvfolder\csvfile.csv)

    csvfolder
         csvfile.csv
    .jmx
    

    Assuming the 'csvfolder' folder is present where you have .jmx

If your folder structure is as given below,

csvfolder
   csvfile
jmxfolder
   jmx

then your CSV file path should be ../csvfolder/csvfile

like image 167
vins Avatar answered Jan 16 '23 03:01

vins