SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Destacado

BTEC National Business & Finance
BTEC National Business & FinanceBTEC National Business & Finance
BTEC National Business & Finance
Michael 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 Mar10
Diversity
 
Btec national health_&_social_care
Btec national health_&_social_careBtec national health_&_social_care
Btec national health_&_social_care
ufuk taş
 
Equality & Diversity by Kristi Long
Equality & Diversity by Kristi LongEquality & Diversity by Kristi Long
Equality & Diversity by Kristi Long
NES
 
Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015Equality & Diversity Slideshare july 2015
Equality & Diversity Slideshare july 2015
Patrick Doyle
 
Managing Diversity. 441
Managing Diversity. 441Managing Diversity. 441
Managing Diversity. 441
guestca2b8d0
 

Destacado (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 a Utilizando Proxy no Jmeter Passo a Passo

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
Jay Jha
 
Software testing
Software testingSoftware testing
Software testing
nil65
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
surbhi saxena
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
Surbhi Saxena
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
Surbhi Saxena
 

Similar a 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
 

Último

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
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

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?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
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
 
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
 
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
 
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
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

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