问题
According to this post, the Jmeter home is automatically detected. Is there a way to manually set this? My scripts starts java from another place, causing the home to be incorrectly detected.
回答1:
You can use command line option :
- -d {argument}
or --homedir {argument}
the jmeter home directory to use
See:
- http://jmeter.apache.org/usermanual/get-started.html
回答2:
Jmeter 4, If you want to run command out side of the bin folder, you have to decleare jmeter
home in path. and it should be C:\apache-jmeter-4.0
, "apache-jmeter-4.0"
this folder containing all folder including bin.
来源:https://stackoverflow.com/questions/18271830/manually-setting-jmeter-home-directory