Back to Top

JMeter Script Recording Configuration

Updated 12 July 2020

In this blog we will learn about “JMeter Script Recording Configuration”


HTTP(S) Test Script Recorder can be used to record all the requests which your web or mobile application is making to server.JMeter is one of the most preferred tools for software testing approaches. The Test Script Recorder in JMeter is designed to record such scenarios.

Proxy is a component which inserts between you and the remote server.

Let’s start the steps of JMeter Script Recording Configuration.

Create a test Plan

Add a Thread Group

  1. Right-click on Test Plan
  2. Mouse over Add >
  3. Mouse over Threads (Users) >
  4. Click on Thread Group

Set the Thread Group properties with the following values:

Start your headless eCommerce
Find out More
  • Number of Threads (users): Set this to 100.
  • Ramp-Up Period (in seconds): Set this to 2.
  • Loop Count: Leave this set to 1.

Add an HTTP Request Defaults

Now let’s add HTTP Request Defaults to Thread Group:

  1. Select Thread Group, then right-click it
  2. Mouse over Add >
  3. Mouse over Config Element >
  4. Click on HTTP Request Defaults

In HTTP Request Defaults, under the Web Server section, fill in the Server Name or IP field with the name or IP address of the web server you want to test.


Add a Recording Controller

Now let’s add a Recording Controller to Thread Group:

  1. Select Thread Group, then right-click it
  2. Mouse over Add >
  3. Mouse over Logic Controller >
  4. Click on Recording Controller

The Recording Controller is where recorded HTTP Request samplers will be created. The next step is to set up an HTTP(S) Test Script Recorder.


Add HTTP(S) Test Script Recorder

Now add the an HTTP(S) Test script recorder

  1. Select WorkBench, then right-click it
  2. Mouse over Add >
  3. Mouse over Non-Test Elements >
  4. Click on HTTP(S) Test Script Recorder

Configure Browser for Proxy Settings

  1. Steps to set proxy in Mozilla are-
    • Open the Mozilla Firefox browser settings and select preferences
    •  In General, click on “Settings” button under sub heading “Network Proxy”.
  • Click on Manual proxy configuration radio button
  • Now type in the HTTP Proxy textbox and any available port in Port textbox like 8080

Once You made changes then click on “OK” button.

Click on Start button: a dialog should show up asking to install CA Root Certificate. This certificate must be installed within the web browser to support recording HTTPS traffic.


JMeter generates a Root Certificate Authority within the <JMETER_HOME>/bin folder. You should find a file named ApacheJMeterTemporaryRootCA.crt in this folder. Let’s see how to install it in common web browsers.

Select Privacy & Security settings and scroll-down to the bottom of the page,


Click on View Certificates then click on Import,


Select the Apache JMeter TemporaryRootCA.crt located in <JMETER_HOME>/bin folder. (<JMETER_HOME> is where JMeter is installed)

And You should see the certificate within the Certificate Manager


After that browse the url in firefox browser. And then navigate the field which one you want to test. Then stop the request from jmeter.


Above you can see the request under recording controller.

Thanks for reading. I hope it will help you.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


  • Shafeek
    • Chakradhar (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home