Menu
In case you want to easily start Apache JMeter load testing tool on your MAC OS, here some things which you help you get started. Once you downloaded Apache JMeter, just go to the PATH where you’ve dowloaded it. For example, I’ve downloaded JMeter in my Downloads folder. Here are full details on how to run your first load test with JMeter. Download last version (not 2.5.1 or other old ones) from jmeter.apache.org. Ensure you install a version of JAVA which is compatible, Java 6 or 7 for JMeter 2.11.
You have always wanted to use JMeter, on your Mac, but you don’t know how to get started. You might have downloaded JMeter so far, so now how do you get that software installed, up and running? Running a Java program on a Mac isn’t obvious so we are going to explain how to install and run JMeter within minutes using a few command lines.
The great thing is JMeter is a Java program. Java programs are designed to be portable to Windows, Linux and MacOS.
Install HomeBrew
First, we are going to install HomeBrew:
Homebrew is a package manager for MacOS. It enables the user to install / update / remove applications at ease with a nice command line interface.
HomeBrew requires the following configuration:
- An Intel CPU,
- OS X 10.10 or higher,
- Command Line Tools (CLT) for Xcode:
xcode-select --install
, developer.apple.com/downloads or Xcode, - A Bourne-compatible shell for installation (e.g. bash or zsh).
To install HomeBrew:
It should take only a couple of minutes. Before installing JMeter, let’s now update HomeBrew package definitions:
Make sure to update brew before installing JMeter, otherwise you may run into issues like this one:
This issue happens often when a new JMeter version is available, but your local HomeBrew package definition still points to the old version.
Install JMeter
It’s almost finished now, run:
If you wish to install jmeter-plugins along with JMeter, add the
--with-plugins
flag. After a couple of minutes, JMeter should be installed and ready to use.Update JMeter
Willing to upgrade to JMeter’s latest version? Simply run in a terminal:
Launch JMeter
JMeter should be now available as a command-line, try
jmeter -?
and you should see something like:To Launch JMeter, simply run:
Configure JMeter
JMeter’s configuration files are located in the following directories:
Item | Standard |
---|---|
Plugins folder | JMETER_HOME/lib/ext/ |
Library folder for plugin dependencies | |
Configuration folder | JMETER_HOME/bin/ |
Item | Homebrew |
---|---|
Plugins folder | CELLAR_HOME/jmeter/3.1/libexec/lib/ext |
Library folder for plugin dependencies | CELLAR_HOME/jmeter/3.1/libexec/lib/ |
Configuration folder | CELLAR_HOME/jmeter/3.1/libexec/bin/ |
With the following constants:
- JMETER_HOME: JMeter’s home, usually like
/home/ubuntu/jmeter-3.x
- CELLAR_HOME: should be
/usr/local/Cellar
.
Apache Jmeter 3.1 Download
Enjoy using JMeter on your favorite Mac!
Overview
Let’s prepare the environment of JMeter on Mac.
You’ll also need to install Java, but Homebrew makes it easy.
(Note: Homebrew is a prerequisite.)
You’ll also need to install Java, but Homebrew makes it easy.
(Note: Homebrew is a prerequisite.)
![Download Apache Jmeter For Mac Download Apache Jmeter For Mac](/uploads/1/1/7/7/117769354/766916949.jpg)
environment
Apache Jmeter Download Windows
- macOS Catalina 10.15.5
- Homebrew 2.4.1
- Java
openjdk 14.0.1 2020-04-14
- JMeter 5.3
procedure
Java installation
Install using Homebrew.
Version confirmation
Pass through
Verification
JMeter
download
Download from Apache JMeter.
If there is no problem with mirrors as it is, there seems to be no problem. (Lol)
This time I downloaded the source zip.
If there is no problem with mirrors as it is, there seems to be no problem. (Lol)
This time I downloaded the source zip.
Start-up
Unzip the download zip and run jmeter to start JMeter.
It is OK if the following screen opens.
reference
-Install java with Homebrew
-[Illustration] How to use JMeter for the first time
-[Illustration] How to use JMeter for the first time