Jmeter

Introduction

Basic Introduction to Jmeter

JMeter is a Java-based desktop application that can be used for performance testing of different kinds of client-server applications like websites, web services, databases, FTP servers, etc. It is an open-source tool provided by Apache with no licensing cost.

Learn Jmeter for free Automation Laboratories

 

Types of applications that can be tested by JMeter:

  • Websites - HTTP and HTTPS
  • Web Services - REST and SOAP
  • Database Servers
  • FTP Servers
  • LDAP Servers
  • Mail Servers - SMTP, POP3, IMAP
  • Shell Scripts
  • TCP Servers

 

Advantages of JMeter

Advantages of using JMeter

  • Free of cost - It is an open-source product with zero licensing cost.
  • Can load test different kinds of - It can be used for performance testing of all kinds of applications ranging from - Web applications, web services, database, LDAP, shell scripts, etc.
  • Platform independent - As JMeter is 100% Java-based, so it is platform-independent and can run on multiple platforms.
  • Record and Playback feature - JMeter provides a record and playback option along with a drag and drop feature which makes it easier and faster to create scripts.
  • Customizable - Since JMeter is open source, developers can customize its source code as per their specific requirements.
  • Supports distributed load testing - JMeter supports distributed load testing feature in which we can create a master-slave setup for carrying out a load test on multiple machines.
  • Good community support - JMeter has many online tutorials and helping community support. It also has freely available plugins that help in different aspects of script creation and analysis.

 

Limitations of JMeter

Limitation of Using Jmeter

  • Scripting in JMeter requires some level of expertise and understanding of JMeter elements, regular expressions, session handling, etc.
  • It does not have a network visualization feature unlike other performance testing tools like LoadRunner.
  • A single normal configuration machine is not sufficient for carrying out a load test with a large number of users. In such cases, either a very high configuration cloud machine is required or distributed testing is performed.
  • It does not support ajax, javascript and flash, neither it renders web elements like a browser.
  • It provides very limited real-time test monitoring capability as compared to other tools.

Download Jmeter

Jmeter Download

Jmeter can be downloaded from the  download link

Prerequisite:

Make sure the Windows machine should have Java 8 + installed. Steps for Java Installation.

Download latest Jmeter | Automation Laboratories

 

  • Click on the highlighted apache-jmeter-5.4.1.zip
  • Create a directory in the local machine and copy the same and extract the zip in the directory.

Extract Zip Jmeter | Automation Laboratories

  • After extraction, it will have the below directories.

Extract Zip Jmeter in DIrectory| Automation Laboratories

Run Jmeter on Windows

Running Jmeter on Windows machine

  • Traverse to bin Directory and double click on jmeter  window batch file

Jmeter bin Directory | Automation Laboratories

 

Best Books available

q? encoding=UTF8&MarketPlace=IN&ASIN=1787285774&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=1787285774 - June 30, 2022 Automationlaboratories

q? encoding=UTF8&MarketPlace=IN&ASIN=1783988282&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=1783988282 - June 30, 2022 Automationlaboratories

q? encoding=UTF8&MarketPlace=IN&ASIN=1784394815&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=1784394815 - June 30, 2022 Automationlaboratories

q? encoding=UTF8&MarketPlace=IN&ASIN=B01MY708OD&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=B01MY708OD - June 30, 2022 Automationlaboratories

q? encoding=UTF8&MarketPlace=IN&ASIN=B01MA2ASLO&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=B01MA2ASLO - June 30, 2022 Automationlaboratories

q? encoding=UTF8&MarketPlace=IN&ASIN=B07FZZ4M43&ServiceVersion=20070822&ID=AsinImage&WS=1&Format= SL250 &tag=7033b 21 - June 30, 2022 Automationlaboratoriesir?t=7033b 21&l=am2&o=31&a=B07FZZ4M43 - June 30, 2022 Automationlaboratories