Relative file path | JMeter Forum

Relative file path

Shilpa garg Post on 17/11/2019

I need to run JMeter tests in AWS EC2 instance. For this, I need to provide the relative path for data file. How can I do it?



Abhishek Puri Reply on 20/11/2019

Please make use of this command where you need to specify the path.

${__BeanShell(import; String basePath = FileServer.getFileServer().getBaseDir(); return basePath;,)}