SlideShare a Scribd company logo
1 of 10
Learning JMeter Getting Started With Jmeter   I.    What is Jmeter? Apache JMeter is a 100% pure Java desktop application designed to load test, functional behavior and measure performance. JMeter may be used to test performance both on static and dynamic resources . It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. II.   Why choose Apache Jmeter? There are wide load testing tools to choose from. There are open source tools like Open STA, http_load, The Grinder, Siege including Jmeter and commercial tools like LoadRunner, WebLoad etc. But why would we pick Jmeter? Jmeter is FREE! – no monthly charges Easy to install and use – 100% JAVA with friendly GUI Feature rich Record from browser Load test data from files Add logic, variables and functions Run distributed testing from multiple machines Variety of protocols: Web – HTTP, HTTPS; SOAP; Database via JDBC; LDAP; JMS; Mail – POP3
III. What are the requirements of Jmeter? Java Virtual Machine – JMeter requires a fully compliant JVM 1.4 or higher Operating System Unix (Solaris, Linux, etc) Windows (98, NT, XP, etc)       IV. Installation: Install Jmeter from following website, select Binary- 2.4 Zip file: http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi Install Badboy software from following website: http://www.badboy.com.au/and select 2.1.2_beta_1 version.   Download and install Jmeter plug-ins from following website: http://code.google.com/p/jmeter-plugins/ For comprehensive tutorials visit:  http://jakarta.apache.org/jmeter/   V.  Creating and Running the application: Firstly, we have to record the script using Badboy software, so start the Badboy. Enter the URL of  a website or application you want to test in the address bar of  Badboy Software. Press the ENTER key, it will start recording. Once recording is over, click on Record On /Off button to stop recording.  
VI.  Importing Recorded script to Jmeter: Click on File  Export to Jmeter Save the file. The file will be get saved with .JMX extension.            VII. How to run JMeter? Unzip Jmeter distribution file to desired path Go to “bin” directory Run Jmeter file Windows : double click jmeter.bat Mac : double click ApacheJmeter.jar Unix : double click jmeter.sh OR run ./jmeter from the command line VIII. How to import the recorded script into Jmeter: Click on FileOpen Select the saved recorded file and click on Open.    IX. Creating Thread group:   Click on Thread group. Assign no. of users, Ramp up period and loop.  
X. Selecting Result formats:   Right click on Thread groupAddSampler Select the appropriate Samplers according to the results that you want to view.   XI.  Running the Thread group: 1. Click on RunStart. It will start running the opened script.  2.  If the script is in running state the button at the top right corner will be displayed in green color                                                                          and after that it will change to gray color.  XII. Results: Click on respective samplers to view results.   XIII. Converting and copying the generated graph: Right click on the graph and select appropriate option.  
Learning j meter
Learning j meter
Learning j meter
Learning j meter
Learning j meter
Learning j meter

More Related Content

Similar to Learning j meter

Software testing
Software testingSoftware testing
Software testing
nil65
 

Similar to Learning j meter (20)

Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache Jmeter
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
JMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeterJMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeter
 
Introduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-TimeIntroduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-Time
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Jmeter introduction
Jmeter introductionJmeter introduction
Jmeter introduction
 
J meter
J meterJ meter
J meter
 
Software testing
Software testingSoftware testing
Software testing
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Jmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoringJmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoring
 
B4usolution performance testing
B4usolution performance testingB4usolution performance testing
B4usolution performance testing
 
JMeter Training in Delhi
JMeter Training in DelhiJMeter Training in Delhi
JMeter Training in Delhi
 
This Is How We Test Our Performance With JMeter
This Is How We Test Our Performance With JMeterThis Is How We Test Our Performance With JMeter
This Is How We Test Our Performance With JMeter
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
 
Jmeter
JmeterJmeter
Jmeter
 
Appium- part 1
Appium- part 1Appium- part 1
Appium- part 1
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeter
 
Reverse engineering – debugging fundamentals
Reverse engineering – debugging fundamentalsReverse engineering – debugging fundamentals
Reverse engineering – debugging fundamentals
 
Creative Automation with Galen Framework
Creative Automation with Galen FrameworkCreative Automation with Galen Framework
Creative Automation with Galen Framework
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Learning j meter

  • 1. Learning JMeter Getting Started With Jmeter   I. What is Jmeter? Apache JMeter is a 100% pure Java desktop application designed to load test, functional behavior and measure performance. JMeter may be used to test performance both on static and dynamic resources . It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. II. Why choose Apache Jmeter? There are wide load testing tools to choose from. There are open source tools like Open STA, http_load, The Grinder, Siege including Jmeter and commercial tools like LoadRunner, WebLoad etc. But why would we pick Jmeter? Jmeter is FREE! – no monthly charges Easy to install and use – 100% JAVA with friendly GUI Feature rich Record from browser Load test data from files Add logic, variables and functions Run distributed testing from multiple machines Variety of protocols: Web – HTTP, HTTPS; SOAP; Database via JDBC; LDAP; JMS; Mail – POP3
  • 2. III. What are the requirements of Jmeter? Java Virtual Machine – JMeter requires a fully compliant JVM 1.4 or higher Operating System Unix (Solaris, Linux, etc) Windows (98, NT, XP, etc)       IV. Installation: Install Jmeter from following website, select Binary- 2.4 Zip file: http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi Install Badboy software from following website: http://www.badboy.com.au/and select 2.1.2_beta_1 version.   Download and install Jmeter plug-ins from following website: http://code.google.com/p/jmeter-plugins/ For comprehensive tutorials visit: http://jakarta.apache.org/jmeter/   V. Creating and Running the application: Firstly, we have to record the script using Badboy software, so start the Badboy. Enter the URL of a website or application you want to test in the address bar of Badboy Software. Press the ENTER key, it will start recording. Once recording is over, click on Record On /Off button to stop recording.  
  • 3. VI. Importing Recorded script to Jmeter: Click on File  Export to Jmeter Save the file. The file will be get saved with .JMX extension.           VII. How to run JMeter? Unzip Jmeter distribution file to desired path Go to “bin” directory Run Jmeter file Windows : double click jmeter.bat Mac : double click ApacheJmeter.jar Unix : double click jmeter.sh OR run ./jmeter from the command line VIII. How to import the recorded script into Jmeter: Click on FileOpen Select the saved recorded file and click on Open.   IX. Creating Thread group:   Click on Thread group. Assign no. of users, Ramp up period and loop.  
  • 4. X. Selecting Result formats:   Right click on Thread groupAddSampler Select the appropriate Samplers according to the results that you want to view.   XI. Running the Thread group: 1. Click on RunStart. It will start running the opened script. 2. If the script is in running state the button at the top right corner will be displayed in green color and after that it will change to gray color. XII. Results: Click on respective samplers to view results.   XIII. Converting and copying the generated graph: Right click on the graph and select appropriate option.