Relative file path | JMeter Forum
S
Shilpa Posted 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?


A
Abhishek Puri Replied on 20/11/2019

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

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