SlideShare a Scribd company logo
1 of 13
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.
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

What's hot

How we can measure server performance using jmeter?
How we can measure server performance using jmeter?How we can measure server performance using jmeter?
How we can measure server performance using jmeter?BugRaptors
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeterYuriy Gerasimov
 
JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webappAmit Solanki
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionRuslan Strazhnyk
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeterGalih Lasahido
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmetertest test
 
UFT Automation Framework Introduction
UFT Automation Framework IntroductionUFT Automation Framework Introduction
UFT Automation Framework IntroductionHimal Bandara
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonDavid O'Dowd
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation FrameworkYu Tao Zhang
 
Unit 6 final
Unit 6 finalUnit 6 final
Unit 6 finalsietkcse
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter IntroductionSøren Lund
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Prof .Pragati Khade
 
Bt0081 software engineering2
Bt0081 software engineering2Bt0081 software engineering2
Bt0081 software engineering2Techglyphs
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelDVClub
 

What's hot (19)

How we can measure server performance using jmeter?
How we can measure server performance using jmeter?How we can measure server performance using jmeter?
How we can measure server performance using jmeter?
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeter
 
JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webapp
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solution
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeter
 
Jmeter introduction
Jmeter introductionJmeter introduction
Jmeter introduction
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmeter
 
Apache J meter
Apache J meterApache J meter
Apache J meter
 
UFT Automation Framework Introduction
UFT Automation Framework IntroductionUFT Automation Framework Introduction
UFT Automation Framework Introduction
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
 
SOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdfSOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdf
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation Framework
 
Automation testing core
Automation testing coreAutomation testing core
Automation testing core
 
Unit 6 final
Unit 6 finalUnit 6 final
Unit 6 final
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter Introduction
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Bt0081 software engineering2
Bt0081 software engineering2Bt0081 software engineering2
Bt0081 software engineering2
 
Mocha.js
Mocha.jsMocha.js
Mocha.js
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC Level
 

Similar to Elments Used on Jmeter

Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Nitish Bhardwaj
 
Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewSravanthi N
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeterWira Santos
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
ApachejmeterabriefintroductionForedoomed
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introductionsilenceIT Inc.
 
Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overviewSravanthiN
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with JmeterPrashanth Kumar
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter Shub
 
J meter introduction
J meter introductionJ meter introduction
J meter introductionBharath Kumar
 
Software testing
Software testingSoftware testing
Software testingnil65
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by TonnyAgate Studio
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache JmeterSabitri Gaire
 

Similar to Elments Used on Jmeter (20)

Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_Overview
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
Apachejmeterabriefintroduction
 
Load testing with J meter
Load testing with J meterLoad testing with J meter
Load testing with J meter
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introduction
 
Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overview
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter
 
J meter introduction
J meter introductionJ meter introduction
J meter introduction
 
JMeter.ppt
JMeter.pptJMeter.ppt
JMeter.ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by Tonny
 
JMeter
JMeterJMeter
JMeter
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache Jmeter
 
Jmeter Walkthrough
Jmeter WalkthroughJmeter Walkthrough
Jmeter Walkthrough
 
jmeter interview q.pdf
jmeter interview q.pdfjmeter interview q.pdf
jmeter interview q.pdf
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 

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.
  • 6.
  • 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