SlideShare a Scribd company logo
2
INTRODUCTION TO
JMETER
WHAT IS JMETER?

    JMeter was first developed by
Stefano Mazzocchi of the Apache
 Software Foundation, designed to
test and measure the performance
     and functional behavior of
 client/server applications, such as
      web applications or FTP
            applications.
A TYPICAL TEST PLAN WILL CONSIST
OF ONE OR MORE :
 Thread Group: Each thread group simulates a single
  user.

 Listeners: Provide access to the information gathered
  by JMeter about the test cases while JMeter runs.
  Since there are several listeners that come with JMeter
  it’s important to say that all of them save the same
  data, the only difference is in the way the data is
  presented on the screen.

 Sampler: Tell JMeter to send a request to a server.

 Logic Controllers: Determine the order in which
  samplers are processed.
To understand the effect of Logic Controllers on a test plan, consider the
following test tree:
 Test Plan
    Thread Group
        Once Only Controller
            Login Request (an HTTP Request )
        Load Search Page (HTTP Sampler)
        Interleave Controller
            Search "A" (HTTP Sampler)
            Search "B" (HTTP Sampler)
            HTTP default request (Configuration Element)
        HTTP default request (Configuration Element)
        Cookie Manager (Configuration Element)
 The first thing about this test is that the login request will be executed
  only the first time through. Subsequent iterations will skip it. This is
  due to the effects of the Once Only Controller .
 Timers: Allow JMeter to delay between each request that a
  thread makes.

 Assertions: Allow you to test that your application is
  returning the results you expect it to.

 Configuration Elements: A configuration element works
  closely with a Sampler. Although it does not send requests
  (except for HTTP Proxy Server ), it can add to or modify
  requests.

 Pre-processor Elements: A Pre-Processor executes some
  action prior to a Sampler Request being made.

 Post-Processor Elements: A Post-Processor executes some
  action after a Sampler Request has been madeA Post-
  Processor executes some action after a Sampler Request
  has been made.
Elments Used on Jmeter
Once JMeter runs, you will see two
elements, Test Plan and WorkBench
Test Plan sample consisting of more than one
Thread Group and multiple elements in each Thread
                      Group
Test Plan sample having a single Thread Group
        incorporating multiple elements
Thread Group sample with details is shown below
The Response Assertion element shown in the following
   figure predefines the pattern matching conditions
The Assertion Results element shown in following figure will
  capture these predefined patterns in the data or page
      response and display them for further analysis
Bibliography:

http://jmeter.apache.org/usermanual/test_plan.ht
ml

More Related Content

PPT
Performance testing and reporting with JMeter
PPTX
Introduction to jmeter & how to view jmeter Test Result in Real-Time
PPT
Performance testing and_reporting_with_j_meter by Le Van Nghi
PPTX
Performance Testing using Jmeter and Capacity Testing
PDF
Mykola Kovsh - Functional API automation with Jmeter
PPTX
"Introduction to JMeter" @ CPTM 3rd Session
PPTX
Perfromane Test Tool jmeter
PDF
Performance testing with jmeter
Performance testing and reporting with JMeter
Introduction to jmeter & how to view jmeter Test Result in Real-Time
Performance testing and_reporting_with_j_meter by Le Van Nghi
Performance Testing using Jmeter and Capacity Testing
Mykola Kovsh - Functional API automation with Jmeter
"Introduction to JMeter" @ CPTM 3rd Session
Perfromane Test Tool jmeter
Performance testing with jmeter

What's hot (19)

PPTX
How we can measure server performance using jmeter?
PDF
Load Testing with JMeter
PDF
JMeter - Performance testing your webapp
PPTX
Using Jenkins and Jmeter to build a scalable Load Testing solution
PDF
Introduction to JMeter
PPTX
Jmeter introduction
PDF
Introduction to jmeter
PPTX
PPTX
UFT Automation Framework Introduction
ODP
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
PDF
SOFTWARE TESTING W4_watermark.pdf
PPT
QTP&UFT Automation Framework
PDF
Automation testing core
DOC
Unit 6 final
ODP
Apache JMeter Introduction
PPTX
Ch 2 Apraoaches Of Software Testing
PDF
Bt0081 software engineering2
PPTX
Mocha.js
PDF
Challenges in Using UVM at SoC Level
How we can measure server performance using jmeter?
Load Testing with JMeter
JMeter - Performance testing your webapp
Using Jenkins and Jmeter to build a scalable Load Testing solution
Introduction to JMeter
Jmeter introduction
Introduction to jmeter
UFT Automation Framework Introduction
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
SOFTWARE TESTING W4_watermark.pdf
QTP&UFT Automation Framework
Automation testing core
Unit 6 final
Apache JMeter Introduction
Ch 2 Apraoaches Of Software Testing
Bt0081 software engineering2
Mocha.js
Challenges in Using UVM at SoC Level
Ad

Similar to Elments Used on Jmeter (20)

PDF
Performancetestingjmeter 131210111657-phpapp02
PDF
Day1_Apache_JMeter_Overview
PDF
Automation - Apache JMeter
PPT
Apachejmeterabriefintroduction
PPTX
Load testing with J meter
PPTX
Apache JMeter - A brief introduction
PPTX
How to use Jmeter for performance testing
PDF
Day1 JMeter_training_overview
PPT
Performance testing with Jmeter
PPT
JMeter_introduction_Final.ppt for jmeter
PPTX
JMeter Intro
PPTX
J Meter Intro
PPTX
Basic of jMeter
PPTX
J meter introduction
PPT
JMeter.ppt
PPTX
Software testing
PDF
Server Performance by Tonny
PPTX
PPTX
Presentation on Apache Jmeter
PDF
Jmeter Walkthrough
Performancetestingjmeter 131210111657-phpapp02
Day1_Apache_JMeter_Overview
Automation - Apache JMeter
Apachejmeterabriefintroduction
Load testing with J meter
Apache JMeter - A brief introduction
How to use Jmeter for performance testing
Day1 JMeter_training_overview
Performance testing with Jmeter
JMeter_introduction_Final.ppt for jmeter
JMeter Intro
J Meter Intro
Basic of jMeter
J meter introduction
JMeter.ppt
Software testing
Server Performance by Tonny
Presentation on Apache Jmeter
Jmeter Walkthrough
Ad

Elments Used on Jmeter

  • 2. WHAT IS JMETER? JMeter was first developed by Stefano Mazzocchi of the Apache Software Foundation, designed to test and measure the performance and functional behavior of client/server applications, such as web applications or FTP applications.
  • 3. A TYPICAL TEST PLAN WILL CONSIST OF ONE OR MORE :  Thread Group: Each thread group simulates a single user.  Listeners: Provide access to the information gathered by JMeter about the test cases while JMeter runs. Since there are several listeners that come with JMeter it’s important to say that all of them save the same data, the only difference is in the way the data is presented on the screen.  Sampler: Tell JMeter to send a request to a server.  Logic Controllers: Determine the order in which samplers are processed.
  • 4. To understand the effect of Logic Controllers on a test plan, consider the following test tree:  Test Plan  Thread Group  Once Only Controller  Login Request (an HTTP Request )  Load Search Page (HTTP Sampler)  Interleave Controller  Search "A" (HTTP Sampler)  Search "B" (HTTP Sampler)  HTTP default request (Configuration Element)  HTTP default request (Configuration Element)  Cookie Manager (Configuration Element)  The first thing about this test is that the login request will be executed only the first time through. Subsequent iterations will skip it. This is due to the effects of the Once Only Controller .
  • 5.  Timers: Allow JMeter to delay between each request that a thread makes.  Assertions: Allow you to test that your application is returning the results you expect it to.  Configuration Elements: A configuration element works closely with a Sampler. Although it does not send requests (except for HTTP Proxy Server ), it can add to or modify requests.  Pre-processor Elements: A Pre-Processor executes some action prior to a Sampler Request being made.  Post-Processor Elements: A Post-Processor executes some action after a Sampler Request has been madeA Post- Processor executes some action after a Sampler Request has been made.
  • 7. Once JMeter runs, you will see two elements, Test Plan and WorkBench
  • 8. Test Plan sample consisting of more than one Thread Group and multiple elements in each Thread Group
  • 9. Test Plan sample having a single Thread Group incorporating multiple elements
  • 10. Thread Group sample with details is shown below
  • 11. The Response Assertion element shown in the following figure predefines the pattern matching conditions
  • 12. The Assertion Results element shown in following figure will capture these predefined patterns in the data or page response and display them for further analysis