Relative file path | JMeter Forum

Relative file path

S
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?

A

Instructor

Abhishek Puri Reply 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;,)}