How do I install jmeter on a Mac?

TestingJmeterPerformance TestingLoad Testing

Testing Problem Overview


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 I get started and install the software?

I don't know java and I can't find any instructions on what I'm supposed to do with the download.

I am on a Mac.

How do I install the product as a usable program?

Testing Solutions


Solution 1 - Testing

The easiest way to install it is using Homebrew:

brew install jmeter

Plugins are now included

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

open /usr/local/bin/jmeter

Solution 2 - Testing

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

Solution 3 - Testing

Install jmeter using the following command

brew install jmeter

then open it using this

open /usr/local/bin/jmeter

Solution 4 - Testing

  1. Download apache-Jmeter.zip file
  2. Unzip it
  3. Open terminal-> go to apache-Jmeter/bin
  4. sh jmeter.sh

Solution 5 - Testing

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.

Solution 6 - Testing

You have 2 options:

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

Solution 7 - Testing

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

Solution 8 - Testing

I am also new to this.
I have followed this process to start the application in Mac:

  1. I downloaded apache-jmeter-3.3_src.zip from http://jmeter.apache.org/download_jmeter.cgi website.
  2. I extracted the files and then move to bin folder and then you can find a file named jmeter, this is an executable file. Right click on this and open with terminal and wait for 5 minutes, that's it.

Thank you, I hope this might help.

Solution 9 - Testing

Here is quick video guide to cover below 2 steps Install Jmeter on Mac in 2 Minutes

Step 1: Install Homebrew (If not already present)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Run above command from the terminal (https://brew.sh/)

Step 2: Install JMeter using Homebrew package Manager https://formulae.brew.sh/formula/jmeter#default

brew install jmeter

Solution 10 - Testing

Using brew

brew install jmeter

To navigate to the folder

/opt/homebrew/Cellar/jmeter

Note: You can create an alias, to open this often.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMichael DurrantView Question on Stackoverflow
Solution 1 - TestingAdam MendozaView Answer on Stackoverflow
Solution 2 - TestingDandalfView Answer on Stackoverflow
Solution 3 - TestingHenryView Answer on Stackoverflow
Solution 4 - TestingTabish JavedView Answer on Stackoverflow
Solution 5 - TestingLaurent BristielView Answer on Stackoverflow
Solution 6 - TestingUBIK LOAD PACKView Answer on Stackoverflow
Solution 7 - TestingpmpmView Answer on Stackoverflow
Solution 8 - TestingSivaprasad ReddyView Answer on Stackoverflow
Solution 9 - TestingVeKeView Answer on Stackoverflow
Solution 10 - TestingJayabharathi PalanisamyView Answer on Stackoverflow