How to set uploaded CSV file server path for __StringFromFile function in JMeter?
How to get server CSV file path for this? ex Bitbucket [need to run JMeter scripts in sever not in local machine]

Below screenshot shown local machine file path

enter image description here

1 Answer 1


Set a parameterized User Defined Variable for the server name that will be passed in from the command line when the test is run: Name = server Value = ${__P(server,serverNameHere)}

Then in your server name reference ${server} in the path.

  • where should i set this --> Value = ${__P(server,serverNameHere)} ?
    – lak
    Mar 14, 2017 at 13:52
  • You can either set it in Config Element->User Defined Variables or at the top level Test Plan object.
    – Jon Foley
    Mar 14, 2017 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.