JMeter - How to read properties file

jmeter

Solution

I too had a same requirement. It is easy to write a config element.

Refer to this. http://www.testautomationguru.com/jmeter-property-file-reader-a-custom-config-element/

Problem

My JMeter project is like this. ``` project | ----> test (folder containing .jmx) | ----> properties (folder containing .properties files) ``` In the non-gui mode, I can pass .properties file name to the test via commandline - which I know. But how can I read this property file in GUI mode while debugging? I do not want to place them in the bin folder. Is there any other way? like a config element? Is it easy to write a custom config element to read a property file?

Original source