DEV Community

Cover image for Introduction to Apache JMeter
NaveenKumar Namachivayam ⚡
NaveenKumar Namachivayam ⚡

Posted on • Originally published at qainsights.com

Introduction to Apache JMeter

Welcome to Learn JMeter Series! This series helps you to learn Apache JMeter in a much simpler way with the relevant examples and exercises. This inception article talks about the introduction to Apache JMeter. Let's get started.

Prerequisites

Following are the prerequisites expected to know, but it is optional to proceed further. If you are unsure, just do a quick search in the internet and learn, you will be good.

  • Basics about performance testing
  • How internet works?
  • Basics of Computer Networking
  • Any programming language

About Apache JMeter

Here is the official definition of Apache JMeter:

The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Source: https://jmeter.apache.org/

Apache JMeter is free, open source tool written in Java which helps you to run performance testing, automation, and more. Originally it was created to test web application, but with the help of open source community, now it supports most of the protocols.

Main Features of Apache JMeter

JMeter supports following protocols, but you can extend the functionality by writing custom code.

  • Web - HTTP(S)
  • SOAP / REST Webservices
  • FTP
  • Database via JDBC
  • LDAP
  • Message-oriented middleware (MOM) via JMS
  • Mail - SMTP(S), POP3(S) and IMAP(S)
  • Native commands or shell scripts
  • TCP
  • Java Objects

JMeter has a simple User Interface which helps you to record, replay, debug and run your load tests.

You can run JMeter in any platform where you can run Java. It comes with powerful features like Reports, Correlations, Custom Coding, Third-party Integrations, CI/CD, Visualization, and Multi-Threading support.

JMeter has two modes: CLI and Non-CLI. Command Line Interface (CLI) helps you to run the load test; Non-CLI mode helps you to record, replay, and debug your test plans.

Sky is the limit

If you have any custom requirement, you can request it to the community or you can write it yourself. The only limit is the sky.

Can we use JMeter to measure the client-side performance?

The answer would be Yes and No. By default, JMeter measures the server-side metrics such as response time, hits/second, throughput, and other resource utilization. If you would like to measure the browser side (client-side) performance, then you can use Selenium Web driver. But from experience, the effort would be more to maintain the scripts and from the load perspective.

Is JMeter a browser?

No. JMeter doesn't execute JavaScript. It will display the results how your browser displays.

Is it mandatory to use JMeter Plugins?

It depends on your requirement. In some instances, the vanilla features of JMeter might not meet your requirements. In that case, JMeter Plugins might help you.

Always use the latest version of JMeter. It will have all fixes (previous release bugs), performance improvements, enhancements and more.

Here is the JMeter version, release date, and its size:

JMeter version, release date, and its size
JMeter version, release date, and its size

Let's get started.

Top comments (0)