How do I install jmeter on a Mac?

后端 未结 8 2153
太阳男子
太阳男子 2021-01-30 00:06

We want to use JMeter.

I\'ve downloaded the production version as directed in the user manual at http://jmeter.apache.org/usermanual/get-started.html

But how do

相关标签:
8条回答
  • 2021-01-30 00:16

    The easiest way to install it is using Homebrew:

    brew install jmeter
    

    Or if you need plugins also:

    brew install jmeter --with-plugins
    

    And to open it, use the following command (since it doesn't appear in your Applications):

    open /usr/local/bin/jmeter
    
    0 讨论(0)
  • 2021-01-30 00:19

    Download last version (not 2.5.1 or other old ones) from jmeter.apache.org

    Unzip file

    Ensure you install a version of JAVA which is compatible, Java 6 or 7 for JMeter 2.11

    In bin folder click on jmeter.sh not on jar or execute sh ./apache-jmeter-x.x.x/bin/jmeter in the terminal.

    x.x.x is the version you use.

    Finally, when started you may want to select System Look and feel for Mac OSX better integration. Menu > Options > Look and Feel > System

    0 讨论(0)
  • 2021-01-30 00:20

    jmeter is now just installed with

    brew install jmeter

    This version includes the plugin manager that you can use to download the additional plugins.

    OUTDATED:

    If you want to include the plugins (JMeterPlugins Standard, Extras, ExtrasLibs, WebDriver and Hadoop) use:

    brew install jmeter --with-plugins

    0 讨论(0)
  • 2021-01-30 00:30

    Once you got the ZIP from the download, extract it locally, and with your finder, go in bin directory.

    Then double-click on ApacheJMeter.jar to launch the User Interface of JMeter.

    This and the next steps are described in a blog entry.

    0 讨论(0)
  • 2021-01-30 00:32

    You have 2 options:

    • Install using homebrew

    brew update to update homebrew packages

    brew install jmeter to install jmeter

    Read this blog to know how to map folders from standard jmeter to homebrew installed version.

    • Install using standard version which I would advise you to do. Steps are:

      1. Install Last compatible JDK version (7 or 8 as of JMeter 3.1).

      2. Download JMeter from here

      3. Unzip folder and run from the folder:

    bin/jmeter

    0 讨论(0)
  • 2021-01-30 00:34
    1. Download apache-Jmeter.zip file
    2. Unzip it
    3. Open terminal-> go to apache-Jmeter/bin
    4. sh jmeter.sh
    0 讨论(0)
提交回复
热议问题