SlideShare a Scribd company logo
(c) 2010 agilitator.com

A

Really

Really

Really
Basic Introduction
into
Load & Stress Testing
with Apache JMeter
(c) 2010 agilitator.com

Performance, Load and
Stress Testing Objectives
Performance
Find bottlenecks, and establish a baseline

for the system operational load
Load
Profile the system's behavior under the top

load it was designed to work under
Stress
Attempt to break the system by

overwhelming its resources
(c) 2010 agilitator.com

All of the above (and more)
“Apache JMeter is an open source 100%
pure Java desktop 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:
http://jakarta.apache.org/jmeter/
(c) 2010 agilitator.com

Let’s get started
Download

JMeter from Apache Website
http://jakarta.apache.org/site/download
s/downloads_jmeter.cgi
For *nix systems:
For Windows:

.tgz archive
.zip archive

Extract

archive into a local directory
Navigate to jakarta-jmeter-2.*.*bin
directory
Launch JMeter GUI (make sure that Java
is installed on your computer..)
jmeter.bat (Windows)
jmeter.sh (*nix)
(c) 2010 agilitator.com

JMeter on Windows
(c) 2010 agilitator.com

Apache JMeter GUI
(c) 2010 agilitator.com

Add a Thread Group
(c) 2010 agilitator.com

Meet your testers

• 100 simultaneous users
• activated at the rate 10 per second
• runs only once
(c) 2010 agilitator.com

Sampling – what?

Samplers describe your test target – what, where and how.
HTTP Request access web site over – what else – HTTP !
(c) 2010 agilitator.com

An HTTP Request

There are quite a few options to be configured… For this
basic introduction let’s keep things simple
(c) 2010 agilitator.com

Filling in the blanks

At the very least, you need to supply the following:
• URL for the website you are going to test
• Port # - default is 80 (and you may leave it blank)
• the page/directory to send request to (“/” stands for root)
(c) 2010 agilitator.com

Can I run my tests now?
As a matter of fact – you can!
The catch?
You would not get any results back.
You need to add a
LISTENER
to display the information
you'll be getting back
(c) 2010 agilitator.com

Adding a Listener

Summary Report is one of the most basic ones;
it displays data in a table format
(c) 2010 agilitator.com

A Summary Report:
what you see is what you
get

Nothing to configure here, though you might want to supply a
file name to where the results of the test might be saved.
By default, the file will be written to jakarta-jmeter-2.*.*bin
directory; use the browse button to specify different location
NB: if file does not exist already, JMeter will pop up an error message:
“Could not open the file”. Ignore it, the file will be created in the
specified directory after first run
(c) 2010 agilitator.com

Save your test plan

Before you run your test you have to save the
configuration; it is saved into a file with JMX
extension
(c) 2010 agilitator.com

Run the test, sit back
and observe results!

After running your test several times, you’ll notice that
historic results begin to accumulate in the table. To clear
the slate use Run > Clear menu option (or press CtrlShift-E)
(c) 2010 agilitator.com

Making (some) sense
out of the results
amazon.com

• you’ve run total of 100 samples – HTTP requests to
amazon.com
• average response time – 920 milliseconds
• min, max and standard deviation values are also
provided
• on average you’ve received 89698.6 bytes per page
• no errors – page faults
google.com

testing google.com with same parameters yield 23
milliseconds average response time, with 10 times
less data transfer
(c) 2010 agilitator.com

Just Scratching the Surface!

What this really, really, really basic introduction did not cover?
Why, everything else!
all rights reserved (c) 2010 agilitator.com

Next steps
There are 20+ samplers, 15+ listeners, pre- and
post-processors, assertions, timers, schedulers
as well as several configuration options for each.
(And we haven’t even touched
the Workbench!... )

Get more of JMeter on:

http://jakarta.apache.org/jmeter/
all rights reserved (c) 2010 agilitator.com

Your feedback is always welcome at:

feedback@agilitator.com

More Related Content

PPTX
Apache JMeter - A brief introduction
PPTX
Basic of jMeter
PDF
Performance Testing - Apache Benchmark, JMeter
PPTX
What Is JMeter?
PDF
Introduction to jmeter
PPTX
Performance testing using Jmeter for apps which needs authentication
PPTX
Performance testing with Apache JMeter
PDF
Day1 JMeter_training_overview
Apache JMeter - A brief introduction
Basic of jMeter
Performance Testing - Apache Benchmark, JMeter
What Is JMeter?
Introduction to jmeter
Performance testing using Jmeter for apps which needs authentication
Performance testing with Apache JMeter
Day1 JMeter_training_overview

What's hot (20)

ODP
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
PPTX
J Meter Intro
PDF
JMeter - Performance testing your webapp
PPTX
Jmeter_Presentaion_Parag
PDF
PPTX
Introduction to JMeter
PPTX
JMeter Post-Processors
PPTX
JMeter_ Cubet Seminar ppt
PPT
Jmeter From Scratch
PPTX
How to Analyze Reports in Jmeter
PDF
Server Performance by Tonny
PPTX
JMeter workshop
PPTX
Presentation on Apache Jmeter
PPTX
"Introduction to JMeter" @ CPTM 3rd Session
PPTX
Using Jenkins and Jmeter to build a scalable Load Testing solution
PDF
Using JMeter for Performance Testing Live Streaming Applications
PDF
Introduction to JMeter
PPTX
JMETER-SKILLWISE
DOC
Jmeter interviewquestions
PPTX
How we can measure server performance using jmeter?
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
J Meter Intro
JMeter - Performance testing your webapp
Jmeter_Presentaion_Parag
Introduction to JMeter
JMeter Post-Processors
JMeter_ Cubet Seminar ppt
Jmeter From Scratch
How to Analyze Reports in Jmeter
Server Performance by Tonny
JMeter workshop
Presentation on Apache Jmeter
"Introduction to JMeter" @ CPTM 3rd Session
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using JMeter for Performance Testing Live Streaming Applications
Introduction to JMeter
JMETER-SKILLWISE
Jmeter interviewquestions
How we can measure server performance using jmeter?
Ad

Viewers also liked (20)

ODP
Apache JMeter Introduction
PPTX
Jmeter introduction
PPT
Apachejmeterabriefintroduction
PDF
Anatomy of Bed Bug Tips to Control from Bed Bugs
PDF
Know More About Rational Performance - Snehamoy K
PPT
Qc dept open_sta overview
PPT
Best Practices In Load And Stress Testing Cmg Seminar[1]
PDF
Load Testing SAP Applications with IBM Rational Performance Tester
PPT
Performance Teting - VU Scripting Using Rational (http://www.geektester.blogs...
PPTX
Load testing with J meter
DOCX
My Project on Rational Performance Testing
PDF
Take a load off! Load testing your Oracle APEX or JDeveloper web applications
PPT
Performance testing and rpt
PPTX
Introduction to Jmeter
PDF
RFT - Ashish Mathur
PPTX
Load Testing and JMeter Presentation
PPT
Rpt ppt for training
PDF
Performance Test Plan - Sample 1
PPTX
PPT
Automation testing IBM RFT - Rational Functional Tester
Apache JMeter Introduction
Jmeter introduction
Apachejmeterabriefintroduction
Anatomy of Bed Bug Tips to Control from Bed Bugs
Know More About Rational Performance - Snehamoy K
Qc dept open_sta overview
Best Practices In Load And Stress Testing Cmg Seminar[1]
Load Testing SAP Applications with IBM Rational Performance Tester
Performance Teting - VU Scripting Using Rational (http://www.geektester.blogs...
Load testing with J meter
My Project on Rational Performance Testing
Take a load off! Load testing your Oracle APEX or JDeveloper web applications
Performance testing and rpt
Introduction to Jmeter
RFT - Ashish Mathur
Load Testing and JMeter Presentation
Rpt ppt for training
Performance Test Plan - Sample 1
Automation testing IBM RFT - Rational Functional Tester
Ad

Similar to Apache JMeter - A Brief Introduction (20)

PPT
JMeter_introduction_Final.ppt for jmeter
PPT
Performance testing with Jmeter
PPTX
JMeter Intro
PPTX
How to use Jmeter for performance testing
PPTX
Performance testing using jmeter
PDF
Performancetestingjmeter 131210111657-phpapp02
PPTX
Perofrmance testing and apache jmeter
PPT
Load Test Drupal Site Using JMeter and Amazon AWS
PPTX
PPT
Performance testing and j meter
PPTX
Software testing
PDF
Performancetestingjmeter 121109061704-phpapp02
DOC
Best Jmeter Interview Questions- Prepared by Working Professionals
PPTX
J meter introduction
PDF
This Is How We Test Our Performance With JMeter
PPT
J Meter Presentation 4
PPT
Performance testing jmeter
PPTX
QA. Load Testing
PPTX
PDF
Automation - Apache JMeter
JMeter_introduction_Final.ppt for jmeter
Performance testing with Jmeter
JMeter Intro
How to use Jmeter for performance testing
Performance testing using jmeter
Performancetestingjmeter 131210111657-phpapp02
Perofrmance testing and apache jmeter
Load Test Drupal Site Using JMeter and Amazon AWS
Performance testing and j meter
Software testing
Performancetestingjmeter 121109061704-phpapp02
Best Jmeter Interview Questions- Prepared by Working Professionals
J meter introduction
This Is How We Test Our Performance With JMeter
J Meter Presentation 4
Performance testing jmeter
QA. Load Testing
Automation - Apache JMeter

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Empathic Computing: Creating Shared Understanding
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PPTX
Spectroscopy.pptx food analysis technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
1. Introduction to Computer Programming.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Spectral efficient network and resource selection model in 5G networks
Advanced methodologies resolving dimensionality complications for autism neur...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
Getting Started with Data Integration: FME Form 101
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Dropbox Q2 2025 Financial Results & Investor Presentation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Empathic Computing: Creating Shared Understanding
SOPHOS-XG Firewall Administrator PPT.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
Spectroscopy.pptx food analysis technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
1. Introduction to Computer Programming.pptx
20250228 LYD VKU AI Blended-Learning.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Spectral efficient network and resource selection model in 5G networks

Apache JMeter - A Brief Introduction

  • 1. (c) 2010 agilitator.com A Really Really Really Basic Introduction into Load & Stress Testing with Apache JMeter
  • 2. (c) 2010 agilitator.com Performance, Load and Stress Testing Objectives Performance Find bottlenecks, and establish a baseline for the system operational load Load Profile the system's behavior under the top load it was designed to work under Stress Attempt to break the system by overwhelming its resources
  • 3. (c) 2010 agilitator.com All of the above (and more) “Apache JMeter is an open source 100% pure Java desktop 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: http://jakarta.apache.org/jmeter/
  • 4. (c) 2010 agilitator.com Let’s get started Download JMeter from Apache Website http://jakarta.apache.org/site/download s/downloads_jmeter.cgi For *nix systems: For Windows: .tgz archive .zip archive Extract archive into a local directory Navigate to jakarta-jmeter-2.*.*bin directory Launch JMeter GUI (make sure that Java is installed on your computer..) jmeter.bat (Windows) jmeter.sh (*nix)
  • 8. (c) 2010 agilitator.com Meet your testers • 100 simultaneous users • activated at the rate 10 per second • runs only once
  • 9. (c) 2010 agilitator.com Sampling – what? Samplers describe your test target – what, where and how. HTTP Request access web site over – what else – HTTP !
  • 10. (c) 2010 agilitator.com An HTTP Request There are quite a few options to be configured… For this basic introduction let’s keep things simple
  • 11. (c) 2010 agilitator.com Filling in the blanks At the very least, you need to supply the following: • URL for the website you are going to test • Port # - default is 80 (and you may leave it blank) • the page/directory to send request to (“/” stands for root)
  • 12. (c) 2010 agilitator.com Can I run my tests now? As a matter of fact – you can! The catch? You would not get any results back. You need to add a LISTENER to display the information you'll be getting back
  • 13. (c) 2010 agilitator.com Adding a Listener Summary Report is one of the most basic ones; it displays data in a table format
  • 14. (c) 2010 agilitator.com A Summary Report: what you see is what you get Nothing to configure here, though you might want to supply a file name to where the results of the test might be saved. By default, the file will be written to jakarta-jmeter-2.*.*bin directory; use the browse button to specify different location NB: if file does not exist already, JMeter will pop up an error message: “Could not open the file”. Ignore it, the file will be created in the specified directory after first run
  • 15. (c) 2010 agilitator.com Save your test plan Before you run your test you have to save the configuration; it is saved into a file with JMX extension
  • 16. (c) 2010 agilitator.com Run the test, sit back and observe results! After running your test several times, you’ll notice that historic results begin to accumulate in the table. To clear the slate use Run > Clear menu option (or press CtrlShift-E)
  • 17. (c) 2010 agilitator.com Making (some) sense out of the results amazon.com • you’ve run total of 100 samples – HTTP requests to amazon.com • average response time – 920 milliseconds • min, max and standard deviation values are also provided • on average you’ve received 89698.6 bytes per page • no errors – page faults google.com testing google.com with same parameters yield 23 milliseconds average response time, with 10 times less data transfer
  • 18. (c) 2010 agilitator.com Just Scratching the Surface! What this really, really, really basic introduction did not cover? Why, everything else!
  • 19. all rights reserved (c) 2010 agilitator.com Next steps There are 20+ samplers, 15+ listeners, pre- and post-processors, assertions, timers, schedulers as well as several configuration options for each. (And we haven’t even touched the Workbench!... ) Get more of JMeter on: http://jakarta.apache.org/jmeter/
  • 20. all rights reserved (c) 2010 agilitator.com Your feedback is always welcome at: [email protected]