JMETER_HOME environment variable is not defined

前端 未结 10 449
失恋的感觉
失恋的感觉 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:32

    1. ensure java is installed and can check with java —version
    2. assuming the path jmeter installed is C:\apache-jmeter-5.3
      1. add the user variable
        1. press new
        2. add Jmeter variable name as JMETER_HOME
        3. variable value as: C:\apache-jmeter-5.3
      2. add the path
        1. look for Path system variable and press edit
        2. edit it to have C:\apache-jmeter-5.3\bin
        3. it doesnt have Path(very unlikely), than press new and add variable name as path and value as C:\apache-jmeter-5.3\bin
      3. restart cmd and type jmeter should do the job.

提交回复
热议问题