JMETER_HOME environment variable is not defined

前端 未结 10 451
失恋的感觉
失恋的感觉 2020-12-19 02:36

I tried to execute JMeter 4.0 from the command prompt in Windows 7.

I got the following error during execution:

The

相关标签:
10条回答
  • 2020-12-19 03:37

    For me, setting the Windows environment variable didn't help. Instead it worked when I set the variable at the command line (using the root folder of jmeter).

    Like this:

    SET JMETER_HOME=C:\apache-jmeter-4.0
    
    0 讨论(0)
  • 2020-12-19 03:38

    Ensure you have installed Java and JMETER Gui works fine first.

    Then,

    At User Variables add JMETER_HOME followed by D:\Jmeter (Where Jmeter is installed) Next select Path in User variables and add D:\Jmeter\bin(Where Jmeter bin path is)

    Save and restart cmd.

    P.S: This is for Windows solution

    0 讨论(0)
  • 2020-12-19 03:38

    One reason for getting this error is to have JMETER_HOME variable defined in the environment variables but pointing to the wrong location. I had this problem due to previous installation.

    0 讨论(0)
  • 2020-12-19 03:39

    Asually a wrong JMETER_HOME entry causes this. make sure you have JMETER_HOME pointed to jmeter folder not inside bin directory. For example ,from my local windows i am able to see this thie environment variable

    Type : echo %JMETER_HOME%

    0 讨论(0)
提交回复
热议问题