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

前端 未结 13 557
谎友^
谎友^ 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 09:54

    This error could also happen because of version mismatch of jmeter and java. As jmeter versions supports different java versions as below.

    Download the zip accordingly and you are good to go.

    0 讨论(0)
  • 2020-12-16 09:57

    I faced with the same error, when i downloaded the Jmeter Source, and it got fixed once i downloaded Jmeter Binary. Please watch this video.

    0 讨论(0)
  • 2020-12-16 10:03

    Try downloading apache-jmeter-2.6.zip from http://www.apache.org/dist/jmeter/binaries/

    This contains the proper ApacheJMeter.jar that is needed to initiate.

    Go to bin folder in the command prompt and try java -jar ApacheJMeter.jar if the download is correct this should open the GUI.

    Edit on 23/08/2018:

    • The correct answer as of current modern JMeter versions is https://stackoverflow.com/a/51973791/460802
    0 讨论(0)
  • 2020-12-16 10:03

    When we download the binary of apache-jmeter-x.x.tgz, where x could be any version of apache Jmeter. ApacheJMeter.jar must present inside apache-jmeter-x/bin folder , if it is not present somewhere your package not downloaded properly. Cause could be slow internet, or improper shutdown

    Download package again and make sure ApacheJMeter.jar present in apache-jmeter-x/bin folder. Once it is present hit sh jemeter.sh

    0 讨论(0)
  • 2020-12-16 10:06

    navigate to the url http://jmeter.apache.org/download_jmeter.cgi-->download apache-jmeter-2.11.zip, which is under binaries.

    this error is occurring since Apache jmeter.jar is missing in bin folder

    0 讨论(0)
  • 2020-12-16 10:09

    For people still getting the issue.

    I face same problem and seems some .jar file missing.

    so try tar -xf apache-jmeter-5.2.1.tgz in the console rather than just right click unzip. And also, try binary package if source package still has an issue. this solve my issue (I am using ubuntu)

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