SlideShare a Scribd company logo
1 of 27
JMETER FOR BEGINNERS
1
COMPONENTS
Jmeter has a lot of built in
components and once we
get used to these, working
in JMeter is really easy
2
COMPONENTS
EXPLAINED
…………..1
3
COMPONENTS
EXPLAINED
…………..2
4
JMETER -> REAL
WORLD MAPPING
5
WORKFLOW OF A
BROWSER CALLING A
WEB PAGE
This flow explains how a
request for web page is
sent to the Web server
from a User's browser, and
how a web page is finally
displayed.
6
JMETER REPLACING A
BROWSER
Now Apache JMeter comes
into the picture. The
actions taken by the User
are triggered by some HTTP
requests which are recorded
in a JMeter HTTP Request
Sampler for multiple users.
7
USER TRANSACTION
IN TERMS OF JMETER
When we add a HTTP Request
Sampler in JMeter Test plan it
stores one Web Page calling
and receiving sequence. We
can call this as a single user
transaction.
8
SIMULATING REAL
WORLD SCENARIO
9
VIEW RESULTS TREE
LISTENER
As JMeter is not exactly a
browser the HTTP Request
Sampler makes all the
received data available for
further analysis. We use
View Tree Listener for
actually visualizing the
received response.
10
SUMMARY REPORT
LISTENER
When JMeter simulates multiple users by
making the same call multiple times, in
execution paths that time more
analytical data is available. The
Summary Report Listener can show us
the additional calculated data line
Minimum time and Maximum time taken
to receive the response. It also
calculates the average time taken using
all the results together.
11
BUILDING A TEST
PLAN
12
NAMING A TEST PLAN
13
THREAD GROUP
Now we will add our first element in the
window. We will add one Thread Group,
which is placeholder for all other
elements like Samplers, Controllers,
Listeners. In JMeter all the node
elements are added by using the
context menu. You have to right click
the element where you want to add a
child element node. Then choose the
appropriate option to add.
14
THREAD GROUP
SETTINGS
The Thread Group represents
one set of actions performed by
User. We have kept the setting
of the thread group as single
thread (that means one user
only) and loop for 1 time (that
means run only one time)
15
NAMING A THREAD
GROUP
Like we changed the name of
Test Plan let us also change the
name of Thread Group. For us
this is the element which
represents multiple users. So
let us name it "Users". For us
this element means Users
visiting the Google Home Page.
16
HTTP REQUEST
SAMPLER
Now we have to add one Sampler
in our Thread Group (Users). As
done earlier for adding Thread
group, this time we will open the
context menu of the Thread Group
(Users) node by right clicking and
we will add HTTP Request Sampler
by choosing Add > Sampler >
HTTP request option.
17
HTTP REQUEST
CONFIGURATION
Name: we will change the name to
reflect the action what we want to
achieve
Server Name or IP: here we have to
type the web server name
Protocol: we will keep this blank That
will mean we want HTTP as the
protocol
Path: we will type path as / (slash)
This means we want the root page of
the server
18
ADDING VIEW
RESULTS TREE
LISTENER
After adding the HTTP Request
Sampler we will need one
Listener. Let us add View
Results Tree Listener under the
Thread Group (User) node. This
will ensure that the results of
the Sampler will be available to
view in this Listener node
element.
19
EXECUTING A TEST
PLAN
With this much of setup, We
will execute the test plan
using Run > Start option.
This is similar to like a user
visiting a web page through
browser, only here we are
doing that through JMeter
sampler.
20
VIEWING THE
RESULTS
Green Colour represents JMeter
was successful in fetching the
web page at the given URL just
like a browser. It has stored all
the headers and the response
sent by the web server and
ready to show us the result in
many ways.
21
VRT-SAMPLER RESULT
TAB
The first tab is Sampler Results. It
shows JMeter data as well as data
returned by the web server. Usually
browsers hide this data from us as it is
not related to showing the web
page. This data is utilized internally by
the browser, for example when there is
a Response Code: 404 then the browser
shows a page not found error page, and
when the Response Code is 200 the
browser shows the received web page
HTML.
22
VRT-REQUEST TAB
The second tab is Request,
where all the data which
was sent to the web server
as part of the request is
shown.
23
VRT-RESPONSE DATA
TAB
The last tab is Response
data. In this tab the listener
shows the data received from
server as it is in text format. It
also have facility to show the
data in XML, HTML formats
. This may look different than
the page actually seen in the
browser.
24
VIEWING RESPONSE
TIMES
To visualize the results, a better
aggregating listener will be
required so we will add Summary
Report Listener in the Thread
Group node. The summary report
shows values about the
measurement JMeter has done
while calling the same page as if
many users are calling the page.
25
ADDING USERS TO
THE TEST
JMeter's real strength is in
sending the same request
like many users are sending
it. To test the web servers
with multiple users we will
have to change the Thread
Group (Users) settings.
26
ATTACHMENTS
Having seen the basics of
Jmeter, the attached PDF
provided by Jmeter, details
the steps to record a script
in Jmeter.
27

More Related Content

Similar to JmeterAndBlazemeter_PPT (1).ppt

servlet 2.5 & JSP 2.0
servlet 2.5 & JSP 2.0servlet 2.5 & JSP 2.0
servlet 2.5 & JSP 2.0megrhi haikel
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...WebStackAcademy
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter Shub
 
Utilizando Proxy no Jmeter Passo a Passo
Utilizando Proxy no Jmeter Passo a PassoUtilizando Proxy no Jmeter Passo a Passo
Utilizando Proxy no Jmeter Passo a PassoIsmael Camargo
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeterNaga Mallala
 
Principles of Computer System Design
Principles of Computer System DesignPrinciples of Computer System Design
Principles of Computer System DesignYing(Doris) WANG
 
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
 
Java servlet life cycle - methods ppt
Java servlet life cycle - methods pptJava servlet life cycle - methods ppt
Java servlet life cycle - methods pptkamal kotecha
 
Manipulating Web App Interfaces: a new approach to input validation testing
Manipulating Web App Interfaces: a new approach to input validation testingManipulating Web App Interfaces: a new approach to input validation testing
Manipulating Web App Interfaces: a new approach to input validation testingFelipe M
 
Load Testing with WAPT: Quick Start Guide
Load Testing with WAPT: Quick Start GuideLoad Testing with WAPT: Quick Start Guide
Load Testing with WAPT: Quick Start GuideSoftLogica
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by TonnyAgate Studio
 
Servlet
ServletServlet
ServletIshucs
 
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
 
12 Steps to API Load Testing with Apache JMeter
12 Steps to API Load Testing with Apache JMeter12 Steps to API Load Testing with Apache JMeter
12 Steps to API Load Testing with Apache JMeterWSO2
 
JMeter & ColdFusion
JMeter & ColdFusion JMeter & ColdFusion
JMeter & ColdFusion isummation
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing Techglyphs
 

Similar to JmeterAndBlazemeter_PPT (1).ppt (20)

servlet 2.5 & JSP 2.0
servlet 2.5 & JSP 2.0servlet 2.5 & JSP 2.0
servlet 2.5 & JSP 2.0
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 4...
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter
 
Wap tquickstart
Wap tquickstartWap tquickstart
Wap tquickstart
 
Utilizando Proxy no Jmeter Passo a Passo
Utilizando Proxy no Jmeter Passo a PassoUtilizando Proxy no Jmeter Passo a Passo
Utilizando Proxy no Jmeter Passo a Passo
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
Principles of Computer System Design
Principles of Computer System DesignPrinciples of Computer System Design
Principles of Computer System Design
 
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
 
Java servlet life cycle - methods ppt
Java servlet life cycle - methods pptJava servlet life cycle - methods ppt
Java servlet life cycle - methods ppt
 
Manipulating Web App Interfaces: a new approach to input validation testing
Manipulating Web App Interfaces: a new approach to input validation testingManipulating Web App Interfaces: a new approach to input validation testing
Manipulating Web App Interfaces: a new approach to input validation testing
 
Load Testing with WAPT: Quick Start Guide
Load Testing with WAPT: Quick Start GuideLoad Testing with WAPT: Quick Start Guide
Load Testing with WAPT: Quick Start Guide
 
Server Performance by Tonny
Server Performance by TonnyServer Performance by Tonny
Server Performance by Tonny
 
Servlets
ServletsServlets
Servlets
 
Servlets
ServletsServlets
Servlets
 
Servlet
ServletServlet
Servlet
 
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
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 
12 Steps to API Load Testing with Apache JMeter
12 Steps to API Load Testing with Apache JMeter12 Steps to API Load Testing with Apache JMeter
12 Steps to API Load Testing with Apache JMeter
 
JMeter & ColdFusion
JMeter & ColdFusion JMeter & ColdFusion
JMeter & ColdFusion
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing
 

Recently uploaded

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

JmeterAndBlazemeter_PPT (1).ppt

  • 2. COMPONENTS Jmeter has a lot of built in components and once we get used to these, working in JMeter is really easy 2
  • 6. WORKFLOW OF A BROWSER CALLING A WEB PAGE This flow explains how a request for web page is sent to the Web server from a User's browser, and how a web page is finally displayed. 6
  • 7. JMETER REPLACING A BROWSER Now Apache JMeter comes into the picture. The actions taken by the User are triggered by some HTTP requests which are recorded in a JMeter HTTP Request Sampler for multiple users. 7
  • 8. USER TRANSACTION IN TERMS OF JMETER When we add a HTTP Request Sampler in JMeter Test plan it stores one Web Page calling and receiving sequence. We can call this as a single user transaction. 8
  • 10. VIEW RESULTS TREE LISTENER As JMeter is not exactly a browser the HTTP Request Sampler makes all the received data available for further analysis. We use View Tree Listener for actually visualizing the received response. 10
  • 11. SUMMARY REPORT LISTENER When JMeter simulates multiple users by making the same call multiple times, in execution paths that time more analytical data is available. The Summary Report Listener can show us the additional calculated data line Minimum time and Maximum time taken to receive the response. It also calculates the average time taken using all the results together. 11
  • 13. NAMING A TEST PLAN 13
  • 14. THREAD GROUP Now we will add our first element in the window. We will add one Thread Group, which is placeholder for all other elements like Samplers, Controllers, Listeners. In JMeter all the node elements are added by using the context menu. You have to right click the element where you want to add a child element node. Then choose the appropriate option to add. 14
  • 15. THREAD GROUP SETTINGS The Thread Group represents one set of actions performed by User. We have kept the setting of the thread group as single thread (that means one user only) and loop for 1 time (that means run only one time) 15
  • 16. NAMING A THREAD GROUP Like we changed the name of Test Plan let us also change the name of Thread Group. For us this is the element which represents multiple users. So let us name it "Users". For us this element means Users visiting the Google Home Page. 16
  • 17. HTTP REQUEST SAMPLER Now we have to add one Sampler in our Thread Group (Users). As done earlier for adding Thread group, this time we will open the context menu of the Thread Group (Users) node by right clicking and we will add HTTP Request Sampler by choosing Add > Sampler > HTTP request option. 17
  • 18. HTTP REQUEST CONFIGURATION Name: we will change the name to reflect the action what we want to achieve Server Name or IP: here we have to type the web server name Protocol: we will keep this blank That will mean we want HTTP as the protocol Path: we will type path as / (slash) This means we want the root page of the server 18
  • 19. ADDING VIEW RESULTS TREE LISTENER After adding the HTTP Request Sampler we will need one Listener. Let us add View Results Tree Listener under the Thread Group (User) node. This will ensure that the results of the Sampler will be available to view in this Listener node element. 19
  • 20. EXECUTING A TEST PLAN With this much of setup, We will execute the test plan using Run > Start option. This is similar to like a user visiting a web page through browser, only here we are doing that through JMeter sampler. 20
  • 21. VIEWING THE RESULTS Green Colour represents JMeter was successful in fetching the web page at the given URL just like a browser. It has stored all the headers and the response sent by the web server and ready to show us the result in many ways. 21
  • 22. VRT-SAMPLER RESULT TAB The first tab is Sampler Results. It shows JMeter data as well as data returned by the web server. Usually browsers hide this data from us as it is not related to showing the web page. This data is utilized internally by the browser, for example when there is a Response Code: 404 then the browser shows a page not found error page, and when the Response Code is 200 the browser shows the received web page HTML. 22
  • 23. VRT-REQUEST TAB The second tab is Request, where all the data which was sent to the web server as part of the request is shown. 23
  • 24. VRT-RESPONSE DATA TAB The last tab is Response data. In this tab the listener shows the data received from server as it is in text format. It also have facility to show the data in XML, HTML formats . This may look different than the page actually seen in the browser. 24
  • 25. VIEWING RESPONSE TIMES To visualize the results, a better aggregating listener will be required so we will add Summary Report Listener in the Thread Group node. The summary report shows values about the measurement JMeter has done while calling the same page as if many users are calling the page. 25
  • 26. ADDING USERS TO THE TEST JMeter's real strength is in sending the same request like many users are sending it. To test the web servers with multiple users we will have to change the Thread Group (Users) settings. 26
  • 27. ATTACHMENTS Having seen the basics of Jmeter, the attached PDF provided by Jmeter, details the steps to record a script in Jmeter. 27