• info@helpingtesters.com
  • helpingtesters

Introduction to Apache JMeter

September 10, 2017 JMeter Tutorial
JMeter, JMeter Introduction, JMeter Guide, JMeter Tutorial

Apache JMeter is a powerful Open source tool. It is based on Java. JMeter is used to do performance testing on the application and monitor the behavior of the application or System at the time of different types of load conditions. 

For example: Suppose there is an application which works fine for 1 user and based on this it is released in the market. Now, Once the application is live it gets a good response and 100 users use it on an hourly basis. The application runs fine for the 1st user which was expected. However, as the number of users increases or in other words as the load increased the application’s response time also increased i.e. For page which used to load in 10s now took 100s to 1000s.

→Complete list of JMeter Tutorial Series

That’s becoming a concern and raised a question. Why is that? The application was successfully tested for 1 user and it worked fine also. But suddenly it has slowed down. Reason for this is “number of users”!! As the load on the application increases its performance degrades as the application was successfully tested for functionality but not performance.

It helps to test this performance by simulating a number of users. Once the functionality of the application has been tested successfully and end to end flow is working then we must test the performance before releasing it market.


How to use JMeter

It is based on client server architecture. JMeter client is responsible to send the requests that hit JMeter servers (1 or many). JMeter servers send the request to the real application whose response is saved and displayed accordingly.

There are the number of tools in the market but people go for JMeter because of several advantages that it offers us.


Advantages of JMeter 

  • Open Source: It is completely free. One need not pay any license fee to use it. Also, developers may access the source code.
  • Java Based:  It’s based on Java so various benefits of it can be used in JMeter.
  • No Programming skills required: In order to create the scripts no programming language knowledge is needed. One needs to understand different features of JMeter and its functionalities. The actions performed on the website are recorded in JMeter.
  • Supports different protocols: JMeter supports different protocols like HTTP, FTP, JDBC, LDAP, JMS, and SOAP.
  • Suited for API as well as Web based testing: One can create scripts to do the performance tests on API level using REST, SOAP based protocols.
  • Reports: It displays the result in the form of different types of reports like View results in a tree format, View results in table form, graphs or line charts as well.
  • Interactive reports using ANT: Besides in-built reports, one can create customizable reports as well using ANT.
  • Multithreading: It also enables to check for the behavior of the application in cases when multiple users hit it at the same time.
  • Distributed load testing: For sending a lot of loads, it can be distributed on ‘n’ number of servers.
  • Real time traffic: It helps to mimic the behavior of a real time user. Hence, the results are very close to real time traffic.

About the author

Ankita Dawar author

Ankita has worked on different types of testing like Manual, Automation, Performance testing.  She likes to learn about new tools in market that help to make testing easier and interesting. Testing is her passion due to versatile areas it offers.

Leave a Reply

Your email address will not be published.