DEV Community

Muhammad Iqbal
Muhammad Iqbal

Posted on

Install JMeter on Mac (Apple Silicon M1,M2,M3... processor)

Intro

Apache JMeter is a free, open-source software designed to test performance both on static and dynamic resources, Web dynamic applications.
It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types. JMeter is widely used for load testing, stress testing, and analyzing the performance of web services.

Prerequisites for Installing JMeter:

Java Runtime Environment (JRE): Install Java 8 or later. Verify Java installation with java -version in the terminal.

Install Apache JMeter

brew install jmeter

uname -r # => 23.1.0

uname -m # => arm64

brew install corretto
Enter fullscreen mode Exit fullscreen mode

Run JMeter

# => successful launch on an M1
JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/ exec /opt/homebrew/Cellar/jmeter/5.6.2/libexec/bin/jmeter
Enter fullscreen mode Exit fullscreen mode

Happy Testing 😄

Top comments (0)