SlideShare a Scribd company logo
1 of 7
Download to read offline
Apache JMeter proxy Step-by-step
This tutorial attempts to explain the exact steps for JMeter's proxy. For those new to JMeter,
one easy way to create a test plan is to use the Proxy. What the proxy does is it records the
requests sent to the server.

Basic Proxy Instructions
1. Go to JMETER_HOME/bin and start JMeter with jmeterw.cmd on Windows and jmeter
on Linux/Unix
2. Select “Test Plan” on the tree
3. Right click on the “Test Plan” and add a new thread group: Add > Threads (Users) >
Thread Group

4. Select the Thread Group
5. Right click “Add -> Config Element -> HTTP Request Defaults”

6. In new HTTP Request Defaults element: Server name – enter “jmeter.apache.org”
7. Path – leave blank

1/7
8. Right click on the “Thread Group” and add a recording controller: Add > Logic Controller >
Recording Controller

9. Next, select WorkBench
10. Right click on WorkBench and add the Http proxy: Add -> Non-Test Elements -> HTTP
Proxy Server

11. On HTTP Proxy Server, click the “Add” button in “URL Patterns to Include”. This will
create a blank entry.
12. Enter “.*.html”
13. Click 3 times, the “Add” button in “URL Patterns to Exclude”. This will create 3 blank
entries.
14. Enter “.*.png” pattern, “.*.gif” pattern and “.*.ico” pattern

2/7
15. Right click on “HTTP Proxy Server” and add a listener: Add -> Listener -> View Results
Tree

16. Return to HTTP Proxy Server, and click the “Start” button at the bottom

3/7
Configure your brower to use the JMeter HTTP Proxy
At this point, JMeter's proxy is running. For this exercise, we will use Iceweasel/Firefox to
view some pages on JMeter.
13. Start Iceweasel/Firefox, but do not close JMeter.
14. From the tool bar, click “Edit -> Preferences” (or “Tools > Preferences”). This should bring
up the options.
15. Select the “Advanced” tab, and “Network” tab
16. Click “Settings” button near the bottom.

17. On the new popup, check “Manual proxy configuration”. The address and port fields
should be enabled now.
18. Address – enter “localhost” or the IP address of your system
19. Port – enter “8080”.
20. Check “Use this proxy server for all protocols”

4/7
21. Click “ok” button
22. Click “ok” button again. This should return you to the browser

Record your navigation
23. With your brower, in the “Address” bar at the top, enter
“http://jmeter.apache.org/index.html” and hit the “enter” key.
24. Click on a few links on JMeter's pages.
25. Close your browser and bring up the JMeter window.
Expand the thread group and there should be several samplers. At this point, the test plan can
be saved as is. If you forget to add default http request settings, you will have to manually
delete the server name, and port.

In this sample, there aren't any default request parameters. If a particular request parameter
5/7
is required by all pages, the request defaults is where one would add the entries.
25. Select “Thread Group”
26. Right click “Add -> Listener -> Summary Report” to add an summary listener.

27. The summary listener will show some basic statistics.

27. Select “Thread Group”
28. Number of Threads – enter “5”
29. Ramp up Period – do not change
30. Loop Count – enter 100

6/7
Start the test
At this point, we are ready to run our test plan and see what happens. Save the test plan.
When you're ready to run the test, there's two ways:
1. Run -> Start
2. Ctrl–R
Before you start the test, select “Summary Report”. As the test runs, the statistics will change
until the test is done. At the end of the test, the summary report should look like this.

While the test is running, in the upper right-hand corner, there should be a green square.
When the test is done, the box should be grey.

7/7

More Related Content

Viewers also liked

Proyecto institucional
Proyecto institucionalProyecto institucional
Proyecto institucionalESTEBANEGAS
 
Presentación Díaz & Arias Consultores v5 (1)
Presentación Díaz & Arias Consultores v5 (1)Presentación Díaz & Arias Consultores v5 (1)
Presentación Díaz & Arias Consultores v5 (1)Mauricio Díaz
 
Levelized Cost of Solar Photovalics in North Carolina
Levelized Cost of Solar Photovalics in North CarolinaLevelized Cost of Solar Photovalics in North Carolina
Levelized Cost of Solar Photovalics in North CarolinaNCSustainableEnergyAssoc
 
1º grupo matéria & energia
1º grupo matéria & energia1º grupo matéria & energia
1º grupo matéria & energia0jorge321
 
Camputraing / les traboules de lyon
Camputraing / les traboules de lyonCamputraing / les traboules de lyon
Camputraing / les traboules de lyonMarine Gnt
 
Deuda técnica, hasta donde podemos llevar la metafora vppt
Deuda técnica, hasta donde podemos llevar la metafora vpptDeuda técnica, hasta donde podemos llevar la metafora vppt
Deuda técnica, hasta donde podemos llevar la metafora vpptSantiago Matalonga
 
Company profile bullion international pte ltd-composite ver.2.0
Company profile  bullion international pte ltd-composite ver.2.0Company profile  bullion international pte ltd-composite ver.2.0
Company profile bullion international pte ltd-composite ver.2.0Sujata Lhila
 
Market Access Database Spain 2013
Market Access Database Spain 2013Market Access Database Spain 2013
Market Access Database Spain 2013Josep Darba
 
Exploitez le Big Data dans le cadre de votre stratégie MDM
Exploitez le Big Data dans le cadre de votre stratégie MDMExploitez le Big Data dans le cadre de votre stratégie MDM
Exploitez le Big Data dans le cadre de votre stratégie MDMJean-Michel Franco
 
Lectura domiciliaria
Lectura domiciliariaLectura domiciliaria
Lectura domiciliariaCarla Zárate
 
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...Hernando Lozada Vargas
 
Portfolio de Yamila Montes
Portfolio de Yamila MontesPortfolio de Yamila Montes
Portfolio de Yamila Montesyamimari
 
3° grupo as leis de newton
3° grupo as leis de newton3° grupo as leis de newton
3° grupo as leis de newton0jorge321
 

Viewers also liked (20)

Proyecto institucional
Proyecto institucionalProyecto institucional
Proyecto institucional
 
Estudio de caso
Estudio de casoEstudio de caso
Estudio de caso
 
Presentación Díaz & Arias Consultores v5 (1)
Presentación Díaz & Arias Consultores v5 (1)Presentación Díaz & Arias Consultores v5 (1)
Presentación Díaz & Arias Consultores v5 (1)
 
Levelized Cost of Solar Photovalics in North Carolina
Levelized Cost of Solar Photovalics in North CarolinaLevelized Cost of Solar Photovalics in North Carolina
Levelized Cost of Solar Photovalics in North Carolina
 
1º grupo matéria & energia
1º grupo matéria & energia1º grupo matéria & energia
1º grupo matéria & energia
 
Camputraing / les traboules de lyon
Camputraing / les traboules de lyonCamputraing / les traboules de lyon
Camputraing / les traboules de lyon
 
Genova 15 ottobre 2013 - Comunicazione
Genova 15 ottobre 2013 - ComunicazioneGenova 15 ottobre 2013 - Comunicazione
Genova 15 ottobre 2013 - Comunicazione
 
Celebraciones de Catamarca
Celebraciones de CatamarcaCelebraciones de Catamarca
Celebraciones de Catamarca
 
10. carta perú2
10. carta perú210. carta perú2
10. carta perú2
 
Deuda técnica, hasta donde podemos llevar la metafora vppt
Deuda técnica, hasta donde podemos llevar la metafora vpptDeuda técnica, hasta donde podemos llevar la metafora vppt
Deuda técnica, hasta donde podemos llevar la metafora vppt
 
Caso de estudio
Caso de estudioCaso de estudio
Caso de estudio
 
Company profile bullion international pte ltd-composite ver.2.0
Company profile  bullion international pte ltd-composite ver.2.0Company profile  bullion international pte ltd-composite ver.2.0
Company profile bullion international pte ltd-composite ver.2.0
 
Market Access Database Spain 2013
Market Access Database Spain 2013Market Access Database Spain 2013
Market Access Database Spain 2013
 
Exploitez le Big Data dans le cadre de votre stratégie MDM
Exploitez le Big Data dans le cadre de votre stratégie MDMExploitez le Big Data dans le cadre de votre stratégie MDM
Exploitez le Big Data dans le cadre de votre stratégie MDM
 
Lectura domiciliaria
Lectura domiciliariaLectura domiciliaria
Lectura domiciliaria
 
Lideres nivel 5
Lideres nivel 5Lideres nivel 5
Lideres nivel 5
 
Determinacion del sexo
Determinacion del sexoDeterminacion del sexo
Determinacion del sexo
 
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...
Eb reloj iv, expo boda san josé iturbide 2013, novias, boda, noreste de guana...
 
Portfolio de Yamila Montes
Portfolio de Yamila MontesPortfolio de Yamila Montes
Portfolio de Yamila Montes
 
3° grupo as leis de newton
3° grupo as leis de newton3° grupo as leis de newton
3° grupo as leis de newton
 

Similar to Pdf jmeter

Use JMeter as a Performance Testing Tool
Use JMeter as a Performance Testing ToolUse JMeter as a Performance Testing Tool
Use JMeter as a Performance Testing ToolBetawebsolution
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeterWira Santos
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeterNaga Mallala
 
Jmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoringJmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoringPankaj Biswas
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache JmeterSabitri Gaire
 
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
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveSravanthi N
 
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
 
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
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load TestingAlex Galkin
 
How we can measure server performance using jmeter?
How we can measure server performance using jmeter?How we can measure server performance using jmeter?
How we can measure server performance using jmeter?BugRaptors
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART
 
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using MetasploitPrivileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using MetasploitVishal Kumar
 
JmeterAndBlazemeter_PPT (1).ppt
JmeterAndBlazemeter_PPT (1).pptJmeterAndBlazemeter_PPT (1).ppt
JmeterAndBlazemeter_PPT (1).pptkirangandhi23
 
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_ModeDay4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_ModeSravanthi N
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3surbhi saxena
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3Surbhi Saxena
 

Similar to Pdf jmeter (20)

Use JMeter as a Performance Testing Tool
Use JMeter as a Performance Testing ToolUse JMeter as a Performance Testing Tool
Use JMeter as a Performance Testing Tool
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
Jmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoringJmeter memory profiling, server-side monitoring, memory and cpu monitoring
Jmeter memory profiling, server-side monitoring, memory and cpu monitoring
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on 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
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
 
Load testing with J meter
Load testing with J meterLoad testing with J meter
Load testing with J meter
 
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
 
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
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 
How we can measure server performance using jmeter?
How we can measure server performance using jmeter?How we can measure server performance using jmeter?
How we can measure server performance using jmeter?
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART Tutorials
 
Neoload overview
Neoload overviewNeoload overview
Neoload overview
 
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using MetasploitPrivileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
 
JmeterAndBlazemeter_PPT (1).ppt
JmeterAndBlazemeter_PPT (1).pptJmeterAndBlazemeter_PPT (1).ppt
JmeterAndBlazemeter_PPT (1).ppt
 
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_ModeDay4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
 

Recently uploaded

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
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
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 

Recently uploaded (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Pdf jmeter

  • 1. Apache JMeter proxy Step-by-step This tutorial attempts to explain the exact steps for JMeter's proxy. For those new to JMeter, one easy way to create a test plan is to use the Proxy. What the proxy does is it records the requests sent to the server. Basic Proxy Instructions 1. Go to JMETER_HOME/bin and start JMeter with jmeterw.cmd on Windows and jmeter on Linux/Unix 2. Select “Test Plan” on the tree 3. Right click on the “Test Plan” and add a new thread group: Add > Threads (Users) > Thread Group 4. Select the Thread Group 5. Right click “Add -> Config Element -> HTTP Request Defaults” 6. In new HTTP Request Defaults element: Server name – enter “jmeter.apache.org” 7. Path – leave blank 1/7
  • 2. 8. Right click on the “Thread Group” and add a recording controller: Add > Logic Controller > Recording Controller 9. Next, select WorkBench 10. Right click on WorkBench and add the Http proxy: Add -> Non-Test Elements -> HTTP Proxy Server 11. On HTTP Proxy Server, click the “Add” button in “URL Patterns to Include”. This will create a blank entry. 12. Enter “.*.html” 13. Click 3 times, the “Add” button in “URL Patterns to Exclude”. This will create 3 blank entries. 14. Enter “.*.png” pattern, “.*.gif” pattern and “.*.ico” pattern 2/7
  • 3. 15. Right click on “HTTP Proxy Server” and add a listener: Add -> Listener -> View Results Tree 16. Return to HTTP Proxy Server, and click the “Start” button at the bottom 3/7
  • 4. Configure your brower to use the JMeter HTTP Proxy At this point, JMeter's proxy is running. For this exercise, we will use Iceweasel/Firefox to view some pages on JMeter. 13. Start Iceweasel/Firefox, but do not close JMeter. 14. From the tool bar, click “Edit -> Preferences” (or “Tools > Preferences”). This should bring up the options. 15. Select the “Advanced” tab, and “Network” tab 16. Click “Settings” button near the bottom. 17. On the new popup, check “Manual proxy configuration”. The address and port fields should be enabled now. 18. Address – enter “localhost” or the IP address of your system 19. Port – enter “8080”. 20. Check “Use this proxy server for all protocols” 4/7
  • 5. 21. Click “ok” button 22. Click “ok” button again. This should return you to the browser Record your navigation 23. With your brower, in the “Address” bar at the top, enter “http://jmeter.apache.org/index.html” and hit the “enter” key. 24. Click on a few links on JMeter's pages. 25. Close your browser and bring up the JMeter window. Expand the thread group and there should be several samplers. At this point, the test plan can be saved as is. If you forget to add default http request settings, you will have to manually delete the server name, and port. In this sample, there aren't any default request parameters. If a particular request parameter 5/7
  • 6. is required by all pages, the request defaults is where one would add the entries. 25. Select “Thread Group” 26. Right click “Add -> Listener -> Summary Report” to add an summary listener. 27. The summary listener will show some basic statistics. 27. Select “Thread Group” 28. Number of Threads – enter “5” 29. Ramp up Period – do not change 30. Loop Count – enter 100 6/7
  • 7. Start the test At this point, we are ready to run our test plan and see what happens. Save the test plan. When you're ready to run the test, there's two ways: 1. Run -> Start 2. Ctrl–R Before you start the test, select “Summary Report”. As the test runs, the statistics will change until the test is done. At the end of the test, the summary report should look like this. While the test is running, in the upper right-hand corner, there should be a green square. When the test is done, the box should be grey. 7/7