JMeter is an open source testing software. It is 100% pure java application for load and performance testing. JMeter is designed to analyse and measure the performance and load functional behaviour of web application and variety of services.
JMeter is mainly used for testing Web application or FTP application but currently, it is applicable in functional testing, JDBC database connections, Web services, generic TCP connections and OS native processes. jMeter is designed to cover categories of tests like load, functional, performance, regression, etc., and it requires JDK 5 or higher.
Stefano Mazzocchi of the Apache Software Foundation was the original developer of JMeter. He wrote it primarily to test the performance of Apache JServ (now called as Apache Tomcat project). Apache later redesigned JMeter to enhance the GUI and to add functional testing capabilities.
JMeter is a Java desktop application with a graphical interface that uses the Swing graphical API. It can therefore run on any environment / workstation that accepts a Java virtual machine, for example – Windows, Linux, Mac, etc.
Following are the list of protocols supported by JMeter:
- Web – HTTP, HTTPS sites ‘web 1.0’ web 2.0 (ajax, flex and flex-ws-amf).
- Web Services – SOAP / XML-RPC
- Database via JDBC drivers
- Directory – LDAP
- Messaging Oriented service via JMS
- Service – POP3, IMAP, SMTP
- FTP Service
- Open source application: JMeter is an open source software. Therefore, it is freely available.
- User-friendly GUI: It has a simple and interactive GUI.
- Support various server types: JMeter can conduct load and performance test for many different server types – Web – HTTP, HTTPS, SOAP, Database via JDBC, LDAP, JMS, Mail – POP3, etc.
- Platform independent: It is a platform independent tool as it is written and developed using Java.
- Framework: It is a multi-threading framework which allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.
- It is highly extensible.
- Singleton Design Pattern | Introduction
- Introduction to Hibernate Framework
- Java | MIDI Introduction
- Introduction to Java Servlets
- Introduction to JSP
- JavaTuples | Introduction
- Opening Existing Excel sheet in Java using Apache POI
- Apache POI | Getting Started
- Creating Sheets in Excel File in Java using Apache POI
- Microservices Introduction
- Introduction to Spring Framework
- Introduction to Spring Boot
- Introduction and Working of Struts Web Framework
- Introduction to JDBC
- Introduction to Processing | Java
- Introduction to the Spring Data Framework
- Introduction to Java NIO with Examples
- Components of Apache Spark
- Configuration of Apache Tomcat Server with Eclipse IDE
- Spring Boot | How to consume JSON messages using Apache Kafka
Following are some important features of JMeter:
Working of JMeter:
JMeter simulates a group of users and sends request to a target server. And hence, returns statistics which shows the functionality/ performance of the target server.
Following figure shows how JMeter works:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : nikhilgupta23