Apache JMeter proxy setup step by step


Welcome to Apache JMeter Proxy set up step by step ,in this post I'm going to show you how exactly you need to set up proxy in Jmeter with step by step.Here I am using Firefox browser to set up proxy under network settings.

Why Proxy set up?

Proxy which is limited works in companies because in order to save from virus which is coming through different software.Coming to JMeter proxy set up which is requires while Recording the script for web application in different browser,please read Record Script in Jmeter in this post.

If you want to record the script in Apache Jmeter it is very important to set up Proxy settings under network settings of browsers then only JMeter recognize your actions on applications and record the same in Recording Controller where it will generate HTTP Request samples under Thread Groups.

Step By Step Proxy Set Up

1.Open Apache Jmeter from apache-jmeter-3.0\bin folder i.e for Windows double click on jmeter.bat file.
Apache JMeter proxy setup step by step
Open APACHE JMeter

2.Now add Thread Group to Test Plan.
3.Add HTTP Request Defaults.
4.Add Recording Controller.
5.Add HTTP Test Script Recorder under Workbench.
6.Under HTTP Test Script Recorder simply click on Start button ,it will ask you to install RooTCACertificate which will generates in bin folder of Jmeter.

Apache JMeter proxy setup step by step

7.Click on Ok button once you install CACertificate.
8.Now open Firefox browser.
9.Go to Tools - Options from Menu bar.

Apache JMeter proxy setup step by step
Open Firefox Browser

10.Click on Advance tab.

Apache JMeter proxy setup step by step

11.Click on Network tab and click on Settings button.
12.It will open Connection Settings window.
Apache JMeter proxy setup step by step
Connection Settings

13.In this window simply Click on Manual Proxy Configurations
14.Enter HTTP Proxy as Localhost and  Port number is 8181 as described in Record Script in Jmeter post,Please read this post to understand the main concept on Port number declaration.
15.Click on Use Proxy Server for all protocols check box.
16.Click on OK button,that's it you are done,now JMeter will record the script what ever actions you will perform on browser.

What have you learned?

How to open JMeter in windows.
Set up Proxy settings in Firefox Browser.
How to record the script in Jmeter.

No comments:

Post a Comment