How to resolve the error “Unable to access jarfile ApacheJMeter.jar errorlevel=1” while initiating Jmeter?

前端 未结 13 630
谎友^
谎友^ 2020-12-16 09:50

Download Jmeter and execute the batch file (Jmeter\\apache-jmeter-2.6\\bin\\jmeter.bat).
We get the error message in the console:

Unable to access jarfil         


        
13条回答
  •  攒了一身酷
    2020-12-16 10:12

    JMeter should be started using :

    • jmeter/bin/jmeter.sh for Linux
    • jmeter/bin/jmeter.bat for windows

    this will ensure correct property files are read and necessary jars in lib are loaded.

    any other method will expose you to a lot of trouble.

    the most upvoted answer is wrong !

    See 1.4 Running JMeter in reference documentation :

    • https://jmeter.apache.org/usermanual/get-started.html

    If you'd like to learn more about JMeter and performance testing this book can help you.

提交回复
热议问题