I want to create a JMeter setenv.bat that contains environmental variables such as set JMETER_HOME=xx I want to just type 'jmeter' anywhere on the Terminal CL in any directory to start jmeter, could this done ?
I have used a symbolic link but setenv.bat file must be a better way.
Any example would be appreciated.
In order to be able to launch JMeter from any place you need to add "bin" folder of your JMeter installation to your operating system PATH
For Windows it can be done via setx command like:
replace
c:\jmeter\binwith the actual path to your JMeter's bin folder.In the same shell or after next login you will be able to type
jmeterand it will run JMeter GUI.More information: Get Started With JMeter: Installation & Tests