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

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

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