Apache JMeter is a load testing tool that can be used for measuring and analysing the performance of various services.
You will get a result like this if java is installed.
java version “1.8.0_111”
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Follow this article to know how to install java in macOS.
Once java is installed, download JMeter to your local machine. I’m gonna use my terminal to download JMeter. The current latest version is 5.1.1.
wget -O apache-jmeter.zip http://apachemirror.wuchna.com//jmeter/binaries/apache-jmeter-5.1.1.zip
Unzip the file
unzip apache-jmeter.zip -d /opt/
You can also download the latest version of Apache JMeter from the official website. Download the binary file in zip format and extract it.
Once you have extracted the zip file, enter into bin directory inside the extracted directory.
You can find a shell script named “jmeter.sh” inside bin. Make sure it has executable permission.
Run jmeter.sh to start jmeter.
JMeter UI will pop up in few seconds.