SlideShare a Scribd company logo
1 of 14
Download to read offline
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
Confidential 6
 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 outside the fire wall (i.e. for Internet sites), 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>
Java Swing GUI
 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

Faster Python Programs Through Optimization by Dr.-Ing Mike Muller
Faster Python Programs Through Optimization by Dr.-Ing Mike MullerFaster Python Programs Through Optimization by Dr.-Ing Mike Muller
Faster Python Programs Through Optimization by Dr.-Ing Mike MullerPyData
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytestSuraj Deshmukh
 
Day3_Part 1_Apache_JMeter_Logic_Controllers
Day3_Part 1_Apache_JMeter_Logic_ControllersDay3_Part 1_Apache_JMeter_Logic_Controllers
Day3_Part 1_Apache_JMeter_Logic_ControllersSravanthi N
 
maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming Max Kleiner
 
Python Unit Test
Python Unit TestPython Unit Test
Python Unit TestDavid Xie
 
Automated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationAutomated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationBarbara Jones
 
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019Unity Technologies
 
Flex Unit 4 Feature Overview
Flex Unit 4 Feature OverviewFlex Unit 4 Feature Overview
Flex Unit 4 Feature Overviewjeff tapper
 
Test Driven Development With Python
Test Driven Development With PythonTest Driven Development With Python
Test Driven Development With PythonSiddhi
 
Linux host review
Linux host reviewLinux host review
Linux host reviewrglaal
 
Unit Testing using PHPUnit
Unit Testing using  PHPUnitUnit Testing using  PHPUnit
Unit Testing using PHPUnitvaruntaliyan
 
Test Driven Development with PHPUnit
Test Driven Development with PHPUnitTest Driven Development with PHPUnit
Test Driven Development with PHPUnitMindfire Solutions
 
How to debug systemd problems fedora project
How to debug systemd problems   fedora projectHow to debug systemd problems   fedora project
How to debug systemd problems fedora projectSusant Sahani
 
Making more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - PhoronixMaking more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - PhoronixNEWLUG
 
Test driven development with react
Test driven development with reactTest driven development with react
Test driven development with reactLeon Bezuidenhout
 
Laboratory exercise - Network security - Penetration testing
Laboratory exercise - Network security - Penetration testingLaboratory exercise - Network security - Penetration testing
Laboratory exercise - Network security - Penetration testingseastorm44
 
PHPUnit: from zero to hero
PHPUnit: from zero to heroPHPUnit: from zero to hero
PHPUnit: from zero to heroJeremy Cook
 

What's hot (20)

Faster Python Programs Through Optimization by Dr.-Ing Mike Muller
Faster Python Programs Through Optimization by Dr.-Ing Mike MullerFaster Python Programs Through Optimization by Dr.-Ing Mike Muller
Faster Python Programs Through Optimization by Dr.-Ing Mike Muller
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytest
 
Phpunit testing
Phpunit testingPhpunit testing
Phpunit testing
 
Day3_Part 1_Apache_JMeter_Logic_Controllers
Day3_Part 1_Apache_JMeter_Logic_ControllersDay3_Part 1_Apache_JMeter_Logic_Controllers
Day3_Part 1_Apache_JMeter_Logic_Controllers
 
maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming maXbox Starter 42 Multiprocessing Programming
maXbox Starter 42 Multiprocessing Programming
 
Python Unit Test
Python Unit TestPython Unit Test
Python Unit Test
 
PHPUnit
PHPUnitPHPUnit
PHPUnit
 
Automated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and ValidationAutomated Python Test Frameworks for Hardware Verification and Validation
Automated Python Test Frameworks for Hardware Verification and Validation
 
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
 
Flex Unit 4 Feature Overview
Flex Unit 4 Feature OverviewFlex Unit 4 Feature Overview
Flex Unit 4 Feature Overview
 
Test Driven Development With Python
Test Driven Development With PythonTest Driven Development With Python
Test Driven Development With Python
 
Linux host review
Linux host reviewLinux host review
Linux host review
 
Unit Testing using PHPUnit
Unit Testing using  PHPUnitUnit Testing using  PHPUnit
Unit Testing using PHPUnit
 
Test Driven Development with PHPUnit
Test Driven Development with PHPUnitTest Driven Development with PHPUnit
Test Driven Development with PHPUnit
 
How to debug systemd problems fedora project
How to debug systemd problems   fedora projectHow to debug systemd problems   fedora project
How to debug systemd problems fedora project
 
Making more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - PhoronixMaking more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - Phoronix
 
Test driven development with react
Test driven development with reactTest driven development with react
Test driven development with react
 
Laboratory exercise - Network security - Penetration testing
Laboratory exercise - Network security - Penetration testingLaboratory exercise - Network security - Penetration testing
Laboratory exercise - Network security - Penetration testing
 
PHPUnit: from zero to hero
PHPUnit: from zero to heroPHPUnit: from zero to hero
PHPUnit: from zero to hero
 
Metasploit Humla for Beginner
Metasploit Humla for BeginnerMetasploit Humla for Beginner
Metasploit Humla for Beginner
 

Viewers also liked

Negotiation Movie Ppt Version Sample
Negotiation Movie Ppt Version SampleNegotiation Movie Ppt Version Sample
Negotiation Movie Ppt Version SampleAndrew Schwartz
 
Sales Standards Presentation by ConceptDraw MINDMAP
Sales Standards Presentation by ConceptDraw MINDMAPSales Standards Presentation by ConceptDraw MINDMAP
Sales Standards Presentation by ConceptDraw MINDMAPAnastasia Krylova
 
Seven Management and Planning Tools from ConceptDraw
Seven Management and Planning Tools from ConceptDrawSeven Management and Planning Tools from ConceptDraw
Seven Management and Planning Tools from ConceptDrawAnastasia Krylova
 
Conducting 'meaningful' retrospection meetings
Conducting 'meaningful' retrospection meetingsConducting 'meaningful' retrospection meetings
Conducting 'meaningful' retrospection meetingsRahul Sudame
 
Preparing Speech with ConceptDraw MindMap
Preparing Speech with ConceptDraw MindMapPreparing Speech with ConceptDraw MindMap
Preparing Speech with ConceptDraw MindMapAnastasia Krylova
 
Hanno Jarvet - VSM, Planning and Problem Solving - ConFu
Hanno Jarvet - VSM, Planning and Problem Solving - ConFuHanno Jarvet - VSM, Planning and Problem Solving - ConFu
Hanno Jarvet - VSM, Planning and Problem Solving - ConFuDevConFu
 
problem solving definitions
problem solving definitionsproblem solving definitions
problem solving definitionsJobEvaluation
 
Technical Paper Competition - PMI's Project Management Regional Conference, P...
Technical Paper Competition - PMI's Project Management Regional Conference, P...Technical Paper Competition - PMI's Project Management Regional Conference, P...
Technical Paper Competition - PMI's Project Management Regional Conference, P...Rahul Sudame
 
Planning mindmap for planning cover page
Planning mindmap for planning cover pagePlanning mindmap for planning cover page
Planning mindmap for planning cover pageLara Berndes
 
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...Ural-PDC
 
Day3_Part 2_Apache_JMeter_Config_Elements
Day3_Part 2_Apache_JMeter_Config_ElementsDay3_Part 2_Apache_JMeter_Config_Elements
Day3_Part 2_Apache_JMeter_Config_ElementsSravanthi N
 
Oscar 2016. MindMap of Academy Awards Leonardo Diaprio Was Nominated
Oscar 2016. MindMap of  Academy Awards Leonardo Diaprio Was NominatedOscar 2016. MindMap of  Academy Awards Leonardo Diaprio Was Nominated
Oscar 2016. MindMap of Academy Awards Leonardo Diaprio Was NominatedAnastasia Krylova
 
Marketing Communications: social media case study
Marketing Communications: social media case studyMarketing Communications: social media case study
Marketing Communications: social media case studyVictoria Gnatoka
 
Ch14 Conflict & Negotiation
Ch14 Conflict & NegotiationCh14 Conflict & Negotiation
Ch14 Conflict & Negotiationitsvineeth209
 
Presentation Movie Ppt Version Sample
Presentation Movie Ppt Version SamplePresentation Movie Ppt Version Sample
Presentation Movie Ppt Version SampleAndrew Schwartz
 
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for Kids, Entrepr...
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for  Kids, Entrepr...1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for  Kids, Entrepr...
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for Kids, Entrepr...Rod King, Ph.D.
 
Public speaking training course improve presentation skills
Public speaking training course improve presentation skillsPublic speaking training course improve presentation skills
Public speaking training course improve presentation skillsAkash Karia
 
Concentration and memory techniques
Concentration and memory techniquesConcentration and memory techniques
Concentration and memory techniquesnhatnguyenjulian
 

Viewers also liked (20)

Negotiation Movie Ppt Version Sample
Negotiation Movie Ppt Version SampleNegotiation Movie Ppt Version Sample
Negotiation Movie Ppt Version Sample
 
Sales Standards Presentation by ConceptDraw MINDMAP
Sales Standards Presentation by ConceptDraw MINDMAPSales Standards Presentation by ConceptDraw MINDMAP
Sales Standards Presentation by ConceptDraw MINDMAP
 
Seven Management and Planning Tools from ConceptDraw
Seven Management and Planning Tools from ConceptDrawSeven Management and Planning Tools from ConceptDraw
Seven Management and Planning Tools from ConceptDraw
 
Conducting 'meaningful' retrospection meetings
Conducting 'meaningful' retrospection meetingsConducting 'meaningful' retrospection meetings
Conducting 'meaningful' retrospection meetings
 
Preparing Speech with ConceptDraw MindMap
Preparing Speech with ConceptDraw MindMapPreparing Speech with ConceptDraw MindMap
Preparing Speech with ConceptDraw MindMap
 
Hanno Jarvet - VSM, Planning and Problem Solving - ConFu
Hanno Jarvet - VSM, Planning and Problem Solving - ConFuHanno Jarvet - VSM, Planning and Problem Solving - ConFu
Hanno Jarvet - VSM, Planning and Problem Solving - ConFu
 
problem solving definitions
problem solving definitionsproblem solving definitions
problem solving definitions
 
Technical Paper Competition - PMI's Project Management Regional Conference, P...
Technical Paper Competition - PMI's Project Management Regional Conference, P...Technical Paper Competition - PMI's Project Management Regional Conference, P...
Technical Paper Competition - PMI's Project Management Regional Conference, P...
 
Planning mindmap for planning cover page
Planning mindmap for planning cover pagePlanning mindmap for planning cover page
Planning mindmap for planning cover page
 
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...
Principles of Computing Resources Planning in Cloud-Based Problem Solving Env...
 
Day3_Part 2_Apache_JMeter_Config_Elements
Day3_Part 2_Apache_JMeter_Config_ElementsDay3_Part 2_Apache_JMeter_Config_Elements
Day3_Part 2_Apache_JMeter_Config_Elements
 
ConceptDraw Typography
ConceptDraw TypographyConceptDraw Typography
ConceptDraw Typography
 
Oscar 2016. MindMap of Academy Awards Leonardo Diaprio Was Nominated
Oscar 2016. MindMap of  Academy Awards Leonardo Diaprio Was NominatedOscar 2016. MindMap of  Academy Awards Leonardo Diaprio Was Nominated
Oscar 2016. MindMap of Academy Awards Leonardo Diaprio Was Nominated
 
Marketing Communications: social media case study
Marketing Communications: social media case studyMarketing Communications: social media case study
Marketing Communications: social media case study
 
Ch14 Conflict & Negotiation
Ch14 Conflict & NegotiationCh14 Conflict & Negotiation
Ch14 Conflict & Negotiation
 
Public Speaking
Public SpeakingPublic Speaking
Public Speaking
 
Presentation Movie Ppt Version Sample
Presentation Movie Ppt Version SamplePresentation Movie Ppt Version Sample
Presentation Movie Ppt Version Sample
 
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for Kids, Entrepr...
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for  Kids, Entrepr...1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for  Kids, Entrepr...
1-Page L.I.S.T.: Community Problem Solving & Design (CPSD) for Kids, Entrepr...
 
Public speaking training course improve presentation skills
Public speaking training course improve presentation skillsPublic speaking training course improve presentation skills
Public speaking training course improve presentation skills
 
Concentration and memory techniques
Concentration and memory techniquesConcentration and memory techniques
Concentration and memory techniques
 

Similar to Day1_Apache_JMeter_Overview

Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overviewSravanthiN
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
ApachejmeterabriefintroductionForedoomed
 
Software testing
Software testingSoftware testing
Software testingnil65
 
"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
 
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
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meterPurna Chandar
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Nitish Bhardwaj
 
Elments Used on Jmeter
Elments Used on JmeterElments Used on Jmeter
Elments Used on JmeterViviana Lesmes
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by TonnyAgate Studio
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeterGalih Lasahido
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETERBugRaptors
 
Performance Testing With Jmeter
Performance Testing With JmeterPerformance Testing With Jmeter
Performance Testing With JmeterAdam Goucher
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introductionsilenceIT Inc.
 

Similar to Day1_Apache_JMeter_Overview (20)

Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overview
 
Apachejmeterabriefintroduction
ApachejmeterabriefintroductionApachejmeterabriefintroduction
Apachejmeterabriefintroduction
 
Software testing
Software testingSoftware testing
Software testing
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
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
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
jmeter interview q.pdf
jmeter interview q.pdfjmeter interview q.pdf
jmeter interview q.pdf
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 
Jmeter Walkthrough
Jmeter WalkthroughJmeter Walkthrough
Jmeter Walkthrough
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
Elments Used on Jmeter
Elments Used on JmeterElments Used on Jmeter
Elments Used on Jmeter
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by Tonny
 
Introduction to JMeter
Introduction to JMeterIntroduction to JMeter
Introduction to JMeter
 
apache_jmeter.pptx
apache_jmeter.pptxapache_jmeter.pptx
apache_jmeter.pptx
 
Load testing with J meter
Load testing with J meterLoad testing with J meter
Load testing with J meter
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETER
 
Performance Testing With Jmeter
Performance Testing With JmeterPerformance Testing With Jmeter
Performance Testing With Jmeter
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introduction
 

Recently uploaded

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 WoodJuan lago vázquez
 
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.pdfOrbitshub
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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 businesspanagenda
 
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, ...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
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 - DevoxxUKJago de Vreede
 
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, Adobeapidays
 
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 2024Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
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...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
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 SavingEdi Saputra
 

Recently uploaded (20)

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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
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, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.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
 
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
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
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...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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
 

Day1_Apache_JMeter_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. Confidential 6  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 outside the fire wall (i.e. for Internet sites), 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> Java Swing GUI
  • 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