SlideShare a Scribd company logo
1 of 14
An Introduction
    JMeter and its History

    Why JMeter? – Features of JMeter

    Tool Installation and Overview

    Scripting - Demo
    ◦ Recording and Playback




                                        Confidential   2
   JMeter is a performance testing tool from Apache.

   It is a 100% pure Java desktop application designed to load test functional behavior
    and measure performance.

   It was developed based on the Java Swing technology.

   Stefano Mazzocchi of the Apache Software Foundation was the original developer of
    JMeter.

   He originally wrote it to test the performance of Apache JServ (The Predecessor of
    Tomcat). Later it was redesigned to enhance the GUI and to add load testing
    capabilities.




                                                           Confidential                    3
   It’s free!

   It is an open source software.

   It has a simple and intuitive GUI.

   It is a platform-independent tool.
            - On Linux/UNIX, JMeter can be invoked by clicking on the jmeter shell script. On Windows,
    it can be invoked by starting the jmeter.bat file.

   JMeter stores its test plans in XML format. This means you can generate a test plan using a text
    editor.

   The Protocols supported by JMeter are:
    ◦ HTTP/HTTPS
    ◦ FTP
    ◦ LDAP
    ◦ JDBC
    ◦ Web Services
    ◦ SOAP/XML-RPC

                                                                     Confidential                        4
   This tool has basically 2 main parts.

    ◦ Java Swing-based GUI (For Scripting and Execution)

    ◦ ANT (Only for Execution)




                                                           Confidential   5
Java Swing GUI




 This is the main page of JMeter. It is the default page of the tool.
 This can be accessed by opening JMeter file from command line by changing the present working
  directory to <JMeter installation folder>bin.
 So for testing Internet sites we’ll go through the Proxy and for Intranet sites we’ll start JMeter without
  the proxy. If you are testing behind the fire wall (i.e. for Internet sites), then you have to invoke JMeter
  by providing the Hostname and Port number of the Proxy Server from the Command prompt as shown
  below. > jmeter –H <Hostname> -P <PortNumber>


                                                                              Confidential                       6
   JMeter is invoked after executing this line in command prompt.
   Ant can only be used for test execution of scripts already created using JMeter.




                                                                                       Confidential   7
   Installation
    ◦ JMeter requires a working JDK environment 1.3 or higher.

   Overview
         Test Plan
         Work Bench
         Thread Group
         Samplers
         Listeners
         Controllers
         Assertions
         Timer
         Configuration Elements
         Pre Processors
         Post Processors



                                                            Confidential   8
Test Plan
 A test plan describes a series of steps JMeter will execute when run. A complete test plan will consist
  of one or more Thread Groups, Logic Controllers, Sample generating controllers, Listeners, Timers,
  Assertions, and Configuration elements.

   At the Test Plan level, static variables can be defined that allow users to abstract values that are
    repeated throughout their tests, such as server names.

   An option exists to instruct JMeter to run the Thread Group serially rather than in parallel.

   When “Functional Test Mode” check box is checked, all information, including the full response data
    will be logged to the Listener files.

WorkBench
 The WorkBench simply provides a place to temporarily store test elements while not in use, for
  copy/paste purposes.

   When you save your test plan, WorkBench items are not saved with it.


                                                                         Confidential                      9
Thread Group
 A Thread Group defines a pool of users that will execute a particular test case against your server. In
  the Thread Group, you can control the number of users simulated (num of threads), the ramp up time
  (how long it takes to start all the threads), the number of times to perform the test, and optionally, a
  start and stop time for the test.

Samplers
 Samplers perform the actual work of JMeter. Samplers tell JMeter to send requests to a server.

 JMeter sends requests in the order that the samplers appear in the tree. Example: HTTP Request



Listeners
 Most of the listeners perform several roles in addition to "listening" to the test results. They also
   provide means to view, save, and read saved test results.
 The various listeners have a panel whereby one can specify the file to which the results will be written
   (or read from). By default, the results are stored as CSV files, typically with a ".jtl" extension.




                                                                      Confidential                     10
Controllers
 Logic Controllers let you customize the logic that JMeter uses to decide when to send requests.
  Logic Controllers may have child elements as any of the following: Samplers (requests),
  Configuration Elements, and other Logic Controllers. Example: Loop Controller

Assertions
 Assertions allow you to assert facts about responses received from the server being tested.

 Using an assertion, you can essentially "test" that your application is returning the results you
  expect it to.
 Similar to Text Check in Load Runner.



Timers
 The timer will cause JMeter to delay a certain amount of time between each request that a thread

    makes.
   Similar to Think Time.


                                                                    Confidential                      11
Config Elements
 These elements are processed at the start of the scope in which they are found, i.e. before
  any samplers in the same scope. Example: HTTP Authorization Manager, Cookie Manager

Pre Processors
 A Pre-Processor executes some action prior to a Sampler Request being made.

 If a Pre-Processor is attached to a Sampler element, then it will execute just prior to that
  sampler element running. Example: User Parameters

Post Processors
 A Post-Processor executes some action after a Sampler Request has been made.

 If a Post-Processor is attached to a Sampler element, then it will execute just after that
  sampler element runs.
 A Post-Processor is most often used to process the response data, often to extract values
  from it. Example: Regular Expression Extractor

                                                                Confidential                     12
   Recording and Playback
    ◦   Setting up Proxy
    ◦   Recording Options
    ◦   Recording http application
    ◦   Simple Playback




                                     Confidential   13
Confidential   14

More Related Content

What's hot

Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter Shub
 
What Is JMeter?
What Is JMeter?What Is JMeter?
What Is JMeter?QATestLab
 
Performance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity TestingPerformance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity TestingAkshay Patole
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeterRahul Sudame
 
Jmeter interviewquestions
Jmeter interviewquestionsJmeter interviewquestions
Jmeter interviewquestionsgirichinna27
 
JMeter Post-Processors
JMeter Post-ProcessorsJMeter Post-Processors
JMeter Post-ProcessorsLoadium
 
Performance testing and_reporting_with_j_meter by Le Van Nghi
Performance testing and_reporting_with_j_meter by  Le Van NghiPerformance testing and_reporting_with_j_meter by  Le Van Nghi
Performance testing and_reporting_with_j_meter by Le Van NghieXo Platform
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd SessionTharinda Liyanage
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmetertest test
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeterlethibichhoa
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationJay Jha
 
Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017Shay Ginsbourg
 
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
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeterNaga Mallala
 
How to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and BeyondHow to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and BeyondAndrey Pokhilko
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeterMikael Kundert
 
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
 

What's hot (20)

Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter
 
What Is JMeter?
What Is JMeter?What Is JMeter?
What Is JMeter?
 
Performance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity TestingPerformance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity Testing
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeter
 
Jmeter interviewquestions
Jmeter interviewquestionsJmeter interviewquestions
Jmeter interviewquestions
 
JMeter Post-Processors
JMeter Post-ProcessorsJMeter Post-Processors
JMeter Post-Processors
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
 
Performance testing and_reporting_with_j_meter by Le Van Nghi
Performance testing and_reporting_with_j_meter by  Le Van NghiPerformance testing and_reporting_with_j_meter by  Le Van Nghi
Performance testing and_reporting_with_j_meter by Le Van Nghi
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmeter
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeter
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
 
Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017
 
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
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
How to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and BeyondHow to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and Beyond
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeter
 
JMeter
JMeterJMeter
JMeter
 
Jmeter From Scratch
Jmeter From ScratchJmeter From Scratch
Jmeter From Scratch
 
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
 

Viewers also liked

LF/ULF PHOTOGRAPHY
LF/ULF PHOTOGRAPHYLF/ULF PHOTOGRAPHY
LF/ULF PHOTOGRAPHYLe Tri Minh
 
Steps to combat antibiotic resistance
Steps to combat antibiotic resistanceSteps to combat antibiotic resistance
Steps to combat antibiotic resistanceShanti Srinivasan
 
Timeline of Antibiotic Resistance
Timeline of Antibiotic ResistanceTimeline of Antibiotic Resistance
Timeline of Antibiotic Resistancekatefranklyn
 
Kt hemiplegia
Kt hemiplegiaKt hemiplegia
Kt hemiplegiaeli wati
 
Developed and developing countries
Developed and developing countriesDeveloped and developing countries
Developed and developing countrieskatefranklyn
 
Soft contact Lens-manufacturing methods.
Soft contact Lens-manufacturing methods.Soft contact Lens-manufacturing methods.
Soft contact Lens-manufacturing methods.Irine Jeba
 
Az internethasználat kockázatai április 11
Az internethasználat kockázatai április 11Az internethasználat kockázatai április 11
Az internethasználat kockázatai április 11Dr. Ollé János
 
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájában
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájábanAz oktatási módszer értelmezésének változása Nagy Sándor didaktikájában
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájábanDr. Ollé János
 

Viewers also liked (16)

DAFO STEAM AADRYPE
DAFO STEAM AADRYPEDAFO STEAM AADRYPE
DAFO STEAM AADRYPE
 
LF/ULF PHOTOGRAPHY
LF/ULF PHOTOGRAPHYLF/ULF PHOTOGRAPHY
LF/ULF PHOTOGRAPHY
 
Bachlour Degree
Bachlour DegreeBachlour Degree
Bachlour Degree
 
S_Aswin_Kumar_RHCE
S_Aswin_Kumar_RHCES_Aswin_Kumar_RHCE
S_Aswin_Kumar_RHCE
 
Steps to combat antibiotic resistance
Steps to combat antibiotic resistanceSteps to combat antibiotic resistance
Steps to combat antibiotic resistance
 
Timeline of Antibiotic Resistance
Timeline of Antibiotic ResistanceTimeline of Antibiotic Resistance
Timeline of Antibiotic Resistance
 
Kt hemiplegia
Kt hemiplegiaKt hemiplegia
Kt hemiplegia
 
Spisak osoba: NAPUSTILI INSTITUT LOLA, ali su nastavili da primaju novac
Spisak osoba: NAPUSTILI INSTITUT LOLA, ali su nastavili da primaju novacSpisak osoba: NAPUSTILI INSTITUT LOLA, ali su nastavili da primaju novac
Spisak osoba: NAPUSTILI INSTITUT LOLA, ali su nastavili da primaju novac
 
Developed and developing countries
Developed and developing countriesDeveloped and developing countries
Developed and developing countries
 
Antibiotic resistance: a tragedy of the commons, Prof. Jan Kluytmans
Antibiotic resistance: a tragedy of the commons, Prof. Jan KluytmansAntibiotic resistance: a tragedy of the commons, Prof. Jan Kluytmans
Antibiotic resistance: a tragedy of the commons, Prof. Jan Kluytmans
 
Presbyopic cl
Presbyopic clPresbyopic cl
Presbyopic cl
 
Soft contact Lens-manufacturing methods.
Soft contact Lens-manufacturing methods.Soft contact Lens-manufacturing methods.
Soft contact Lens-manufacturing methods.
 
Sheet Metal Forming and operations
Sheet Metal Forming and operationsSheet Metal Forming and operations
Sheet Metal Forming and operations
 
Az internethasználat kockázatai április 11
Az internethasználat kockázatai április 11Az internethasználat kockázatai április 11
Az internethasználat kockázatai április 11
 
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájában
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájábanAz oktatási módszer értelmezésének változása Nagy Sándor didaktikájában
Az oktatási módszer értelmezésének változása Nagy Sándor didaktikájában
 
Sin emoción no hay educación
Sin emoción no hay educaciónSin emoción no hay educación
Sin emoción no hay educación
 

Similar to Day1 JMeter_training_overview

Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewSravanthi N
 
Software testing
Software testingSoftware testing
Software testingnil65
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance TestingKnoldus Inc.
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
ApachejmeterabriefintroductionForedoomed
 
Jmeter_Presentaion_Parag
Jmeter_Presentaion_ParagJmeter_Presentaion_Parag
Jmeter_Presentaion_ParagPARAG KHEDIKAR
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETERBugRaptors
 
Top 20 JMeter Interview Questions and Answers in 2023.pdf
Top 20 JMeter Interview Questions and Answers in 2023.pdfTop 20 JMeter Interview Questions and Answers in 2023.pdf
Top 20 JMeter Interview Questions and Answers in 2023.pdfAnanthReddy38
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Nitish Bhardwaj
 
Top 20 JMeter Interview Questions and Answers in 2023.pptx
Top 20 JMeter Interview Questions and Answers in 2023.pptxTop 20 JMeter Interview Questions and Answers in 2023.pptx
Top 20 JMeter Interview Questions and Answers in 2023.pptxAnanthReddy38
 
J-meter Workshop Vodqa
J-meter Workshop VodqaJ-meter Workshop Vodqa
J-meter Workshop VodqaThoughtworks
 
JMeter Workshop vodQA
JMeter Workshop vodQAJMeter Workshop vodQA
JMeter Workshop vodQAvodQA
 

Similar to Day1 JMeter_training_overview (20)

Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_Overview
 
Software testing
Software testingSoftware testing
Software testing
 
jmeter interview q.pdf
jmeter interview q.pdfjmeter interview q.pdf
jmeter interview q.pdf
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
apache_jmeter.pptx
apache_jmeter.pptxapache_jmeter.pptx
apache_jmeter.pptx
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
Apachejmeterabriefintroduction
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
Jmeter_Presentaion_Parag
Jmeter_Presentaion_ParagJmeter_Presentaion_Parag
Jmeter_Presentaion_Parag
 
Jmeter Walkthrough
Jmeter WalkthroughJmeter Walkthrough
Jmeter Walkthrough
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETER
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
Jmeter introduction
Jmeter introductionJmeter introduction
Jmeter introduction
 
Top 20 JMeter Interview Questions and Answers in 2023.pdf
Top 20 JMeter Interview Questions and Answers in 2023.pdfTop 20 JMeter Interview Questions and Answers in 2023.pdf
Top 20 JMeter Interview Questions and Answers in 2023.pdf
 
Apache J meter
Apache J meterApache J meter
Apache J meter
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
Top 20 JMeter Interview Questions and Answers in 2023.pptx
Top 20 JMeter Interview Questions and Answers in 2023.pptxTop 20 JMeter Interview Questions and Answers in 2023.pptx
Top 20 JMeter Interview Questions and Answers in 2023.pptx
 
JMeter workshop
JMeter workshopJMeter workshop
JMeter workshop
 
J-meter Workshop Vodqa
J-meter Workshop VodqaJ-meter Workshop Vodqa
J-meter Workshop Vodqa
 
JMeter Workshop vodQA
JMeter Workshop vodQAJMeter Workshop vodQA
JMeter Workshop vodQA
 

Recently uploaded

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

Day1 JMeter_training_overview

  • 2. JMeter and its History  Why JMeter? – Features of JMeter  Tool Installation and Overview  Scripting - Demo ◦ Recording and Playback Confidential 2
  • 3. JMeter is a performance testing tool from Apache.  It is a 100% pure Java desktop application designed to load test functional behavior and measure performance.  It was developed based on the Java Swing technology.  Stefano Mazzocchi of the Apache Software Foundation was the original developer of JMeter.  He originally wrote it to test the performance of Apache JServ (The Predecessor of Tomcat). Later it was redesigned to enhance the GUI and to add load testing capabilities. Confidential 3
  • 4. It’s free!  It is an open source software.  It has a simple and intuitive GUI.  It is a platform-independent tool. - On Linux/UNIX, JMeter can be invoked by clicking on the jmeter shell script. On Windows, it can be invoked by starting the jmeter.bat file.  JMeter stores its test plans in XML format. This means you can generate a test plan using a text editor.  The Protocols supported by JMeter are: ◦ HTTP/HTTPS ◦ FTP ◦ LDAP ◦ JDBC ◦ Web Services ◦ SOAP/XML-RPC Confidential 4
  • 5. This tool has basically 2 main parts. ◦ Java Swing-based GUI (For Scripting and Execution) ◦ ANT (Only for Execution) Confidential 5
  • 6. Java Swing GUI  This is the main page of JMeter. It is the default page of the tool.  This can be accessed by opening JMeter file from command line by changing the present working directory to <JMeter installation folder>bin.  So for testing Internet sites we’ll go through the Proxy and for Intranet sites we’ll start JMeter without the proxy. If you are testing behind the fire wall (i.e. for Internet sites), then you have to invoke JMeter by providing the Hostname and Port number of the Proxy Server from the Command prompt as shown below. > jmeter –H <Hostname> -P <PortNumber> Confidential 6
  • 7. JMeter is invoked after executing this line in command prompt.  Ant can only be used for test execution of scripts already created using JMeter. Confidential 7
  • 8. Installation ◦ JMeter requires a working JDK environment 1.3 or higher.  Overview  Test Plan  Work Bench  Thread Group  Samplers  Listeners  Controllers  Assertions  Timer  Configuration Elements  Pre Processors  Post Processors Confidential 8
  • 9. Test Plan  A test plan describes a series of steps JMeter will execute when run. A complete test plan will consist of one or more Thread Groups, Logic Controllers, Sample generating controllers, Listeners, Timers, Assertions, and Configuration elements.  At the Test Plan level, static variables can be defined that allow users to abstract values that are repeated throughout their tests, such as server names.  An option exists to instruct JMeter to run the Thread Group serially rather than in parallel.  When “Functional Test Mode” check box is checked, all information, including the full response data will be logged to the Listener files. WorkBench  The WorkBench simply provides a place to temporarily store test elements while not in use, for copy/paste purposes.  When you save your test plan, WorkBench items are not saved with it. Confidential 9
  • 10. Thread Group  A Thread Group defines a pool of users that will execute a particular test case against your server. In the Thread Group, you can control the number of users simulated (num of threads), the ramp up time (how long it takes to start all the threads), the number of times to perform the test, and optionally, a start and stop time for the test. Samplers  Samplers perform the actual work of JMeter. Samplers tell JMeter to send requests to a server.  JMeter sends requests in the order that the samplers appear in the tree. Example: HTTP Request Listeners  Most of the listeners perform several roles in addition to "listening" to the test results. They also provide means to view, save, and read saved test results.  The various listeners have a panel whereby one can specify the file to which the results will be written (or read from). By default, the results are stored as CSV files, typically with a ".jtl" extension. Confidential 10
  • 11. Controllers  Logic Controllers let you customize the logic that JMeter uses to decide when to send requests. Logic Controllers may have child elements as any of the following: Samplers (requests), Configuration Elements, and other Logic Controllers. Example: Loop Controller Assertions  Assertions allow you to assert facts about responses received from the server being tested.  Using an assertion, you can essentially "test" that your application is returning the results you expect it to.  Similar to Text Check in Load Runner. Timers  The timer will cause JMeter to delay a certain amount of time between each request that a thread makes.  Similar to Think Time. Confidential 11
  • 12. Config Elements  These elements are processed at the start of the scope in which they are found, i.e. before any samplers in the same scope. Example: HTTP Authorization Manager, Cookie Manager Pre Processors  A Pre-Processor executes some action prior to a Sampler Request being made.  If a Pre-Processor is attached to a Sampler element, then it will execute just prior to that sampler element running. Example: User Parameters Post Processors  A Post-Processor executes some action after a Sampler Request has been made.  If a Post-Processor is attached to a Sampler element, then it will execute just after that sampler element runs.  A Post-Processor is most often used to process the response data, often to extract values from it. Example: Regular Expression Extractor Confidential 12
  • 13. Recording and Playback ◦ Setting up Proxy ◦ Recording Options ◦ Recording http application ◦ Simple Playback Confidential 13