Install JMETER on Mac

Sheriff Sanni
1 min readMar 31, 2020

Apache JMeter is an Apache project that can be used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus on web applications (Wikipedia).

  1. Open Mac Terminal
Click Command + Spacebar
Type terminal
Press Return on your keyboard

2. Install xcode tools for command line -

xcode-select — install

The error below would be displayed if xcode is already installed:

xcode-select: error: command line tools are already installed, use “Software Update” to install updates

3. Install homebrew

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

4. Update Brew :

brew update

5. Install Jmeter -

brew install jmeter

If this error occurs: Error: You have not agreed to the Xcode license.

Please resolve this by running: sudo xcodebuild -license accept

6. Verify the installation by executing

JMeter -v

7. Download Jmeter Plugin Manager from —

https://jmeter-plugins.org/install/Install/

8. Copy the downloaded extension jar to Jmeter extension library

cp /Users/sheriff/Downloads/jmeter-plugins-manager-1.3.jar /usr/local/Cellar/jmeter/5.1.1/libexec/lib/ext

NB — Update version numbers and usernames to match yours.

username — sheriff
Plugin manager version — 1.3
Jmeter version — 5.1.1

9. Environment variable can be created, not important

JMETER_HOME — /usr/local/Cellar/jmeter/5.1.1
set JMETER_HOME=’/usr/local/Cellar/jmeter/5.1.1'
export JMETER_HOME=’/usr/local/Cellar/jmeter/5.1.1'

10. Start Jmeter

jmeter

11. Upgrade Jmeter

brew upgrade jmeter

--

--