SlideShare a Scribd company logo
1 of 7
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 “jakarta.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 Jakarta.
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://jakarta.apache.org/jmeter/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 servername, 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

LETR equality and diversity presentation
LETR equality and diversity presentationLETR equality and diversity presentation
LETR equality and diversity presentationLETRteam
 
Inclusion by Design | joe gerstandt | 2015 Forum on Workplace Inclusion
Inclusion by Design |  joe gerstandt | 2015 Forum on Workplace InclusionInclusion by Design |  joe gerstandt | 2015 Forum on Workplace Inclusion
Inclusion by Design | joe gerstandt | 2015 Forum on Workplace InclusionJoe Gerstandt
 
Diversity, equality & inclusion 2016
Diversity, equality & inclusion 2016Diversity, equality & inclusion 2016
Diversity, equality & inclusion 2016Timothy Holden
 
BTEC National Business & Finance
BTEC National Business & FinanceBTEC National Business & Finance
BTEC National Business & FinanceMichael Thaw
 
DWfL Launch Presentation Slides Final 24 Mar10
DWfL Launch Presentation Slides Final   24 Mar10DWfL Launch Presentation Slides Final   24 Mar10
DWfL Launch Presentation Slides Final 24 Mar10Diversity
 
Change, Cultural Difference and Competitiveness: Diversity e-Learning in Finland
Change, Cultural Difference and Competitiveness: Diversity e-Learning in FinlandChange, Cultural Difference and Competitiveness: Diversity e-Learning in Finland
Change, Cultural Difference and Competitiveness: Diversity e-Learning in FinlandAlan Bruce
 
Btec national health_&_social_care
Btec national health_&_social_careBtec national health_&_social_care
Btec national health_&_social_careufuk taş
 
“Promoting diversity and inclusion through workplace adjustments: a practical...
“Promoting diversity and inclusion through workplace adjustments: a practical...“Promoting diversity and inclusion through workplace adjustments: a practical...
“Promoting diversity and inclusion through workplace adjustments: a practical...Eunice Caldeira
 
Diversity and inclusion in the workplace—The future for CGIAR
Diversity and inclusion in the workplace—The future for CGIARDiversity and inclusion in the workplace—The future for CGIAR
Diversity and inclusion in the workplace—The future for CGIARILRI
 
Equality & Diversity by Kristi Long
Equality & Diversity by Kristi LongEquality & Diversity by Kristi Long
Equality & Diversity by Kristi LongNES
 
Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015Patrick Doyle
 
Managing Diversity. 441
Managing Diversity. 441Managing Diversity. 441
Managing Diversity. 441guestca2b8d0
 
Equality & diversity
Equality & diversityEquality & diversity
Equality & diversityjomortimer
 
Diversity Management The Challenges And Opportunities
Diversity Management   The Challenges And OpportunitiesDiversity Management   The Challenges And Opportunities
Diversity Management The Challenges And OpportunitiesShruti Bhatia
 

Viewers also liked (20)

LETR equality and diversity presentation
LETR equality and diversity presentationLETR equality and diversity presentation
LETR equality and diversity presentation
 
Inclusion by Design | joe gerstandt | 2015 Forum on Workplace Inclusion
Inclusion by Design |  joe gerstandt | 2015 Forum on Workplace InclusionInclusion by Design |  joe gerstandt | 2015 Forum on Workplace Inclusion
Inclusion by Design | joe gerstandt | 2015 Forum on Workplace Inclusion
 
Diversity, equality & inclusion 2016
Diversity, equality & inclusion 2016Diversity, equality & inclusion 2016
Diversity, equality & inclusion 2016
 
BTEC National Business & Finance
BTEC National Business & FinanceBTEC National Business & Finance
BTEC National Business & Finance
 
DWfL Launch Presentation Slides Final 24 Mar10
DWfL Launch Presentation Slides Final   24 Mar10DWfL Launch Presentation Slides Final   24 Mar10
DWfL Launch Presentation Slides Final 24 Mar10
 
Change, Cultural Difference and Competitiveness: Diversity e-Learning in Finland
Change, Cultural Difference and Competitiveness: Diversity e-Learning in FinlandChange, Cultural Difference and Competitiveness: Diversity e-Learning in Finland
Change, Cultural Difference and Competitiveness: Diversity e-Learning in Finland
 
Btec national health_&_social_care
Btec national health_&_social_careBtec national health_&_social_care
Btec national health_&_social_care
 
“Promoting diversity and inclusion through workplace adjustments: a practical...
“Promoting diversity and inclusion through workplace adjustments: a practical...“Promoting diversity and inclusion through workplace adjustments: a practical...
“Promoting diversity and inclusion through workplace adjustments: a practical...
 
Promoting diversity at the workplace: a strategy for inclusion and competitiv...
Promoting diversity at the workplace: a strategy for inclusion and competitiv...Promoting diversity at the workplace: a strategy for inclusion and competitiv...
Promoting diversity at the workplace: a strategy for inclusion and competitiv...
 
Diversity and inclusion in the workplace—The future for CGIAR
Diversity and inclusion in the workplace—The future for CGIARDiversity and inclusion in the workplace—The future for CGIAR
Diversity and inclusion in the workplace—The future for CGIAR
 
Diversity and Equality
Diversity and EqualityDiversity and Equality
Diversity and Equality
 
Equality & Diversity by Kristi Long
Equality & Diversity by Kristi LongEquality & Diversity by Kristi Long
Equality & Diversity by Kristi Long
 
Equality Act 2010
Equality Act 2010Equality Act 2010
Equality Act 2010
 
Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015
 
Equality Act 2010 Presentation
Equality Act 2010 PresentationEquality Act 2010 Presentation
Equality Act 2010 Presentation
 
Managing Diversity. 441
Managing Diversity. 441Managing Diversity. 441
Managing Diversity. 441
 
Equality & diversity
Equality & diversityEquality & diversity
Equality & diversity
 
Lecture 5 equality and diversity the equality act 2010
Lecture 5 equality and diversity the equality act 2010Lecture 5 equality and diversity the equality act 2010
Lecture 5 equality and diversity the equality act 2010
 
Diversity Management The Challenges And Opportunities
Diversity Management   The Challenges And OpportunitiesDiversity Management   The Challenges And Opportunities
Diversity Management The Challenges And Opportunities
 
Diversity And Inclusion
Diversity And InclusionDiversity And Inclusion
Diversity And Inclusion
 

Similar to Utilizando Proxy no Jmeter Passo a Passo

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
 
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
 
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
 
Software testing
Software testingSoftware testing
Software testingnil65
 
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
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3Surbhi Saxena
 
"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
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART
 
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
 
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
 
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
 

Similar to Utilizando Proxy no Jmeter Passo a Passo (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
 
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
 
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
 
Software testing
Software testingSoftware testing
Software testing
 
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
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART Tutorials
 
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?
 
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
 
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
 
Neoload overview
Neoload overviewNeoload overview
Neoload overview
 
Diesel load testing tool
Diesel load testing toolDiesel load testing tool
Diesel load testing tool
 

Recently uploaded

"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
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
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
 
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
 
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
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
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 - 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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
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
 
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
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 

Recently uploaded (20)

"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 ...
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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 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...
 
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
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
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 - 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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
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
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

Utilizando Proxy no Jmeter Passo a Passo

  • 1. 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 “jakarta.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 Jakarta. 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://jakarta.apache.org/jmeter/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 servername, 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