This tutorial explains how to record JMeter test scenarios easily. JMeter Recording Scenario operation is critical for web performance tests. You can first record a scenario, then clean the unnecessary part of the recordings. Then, you can add your custom JMeter elements based on your performance test scenario.

Prerequisites:  JMeter & Java JDK download and setup

In this tutorial, I will explain how to set up and use the Apache JMeter HTTP(S) Test Script Recorder to record HTTP requests. JMeter comes with built-in script recorder works as a proxy server. You can follow steps to complete this tutorial.

  • Browser proxy setup
  • JMeter HTTP/HTTPS recorder setup

1- Browser Proxy Setup for JMeter Recording Scenario

Tools -> Options -> Advanced -> Settings


On popup enter IP address and port in our case is localhost and port =7000

2- JMeter HTTP/HTTPS Recorder Setup

First of all, we need to add thread group to test plan.

Test Plan –> Add –> Threads (Users) –> Thread Group


Right click “Add -> Config Element -> HTTP Request Defaults”


HTTP Request Defaults element -> Server name:

Now its time to add controller right click on Thread Group  follow “Add -> Logic Controller -> Recording Controller”


Change controller name as “My First Recording”


Workbench –> Add –>Non-Test Elements –> HTTP(S) Test Script Recorder 

after we add this element we can record scenario


You can add url pattern as regular expression, you include or exclude contents (e.g. *.jpg, *.png, *.js, etc)

Example: I will add pattern to exclude image files.

.*\.png .*\.jpg .*\.gif


When we click on Start button on Http(s) Script Recorder


We will see a message which tells that a temporary certificate named ApacheJMeterTemporaryRootCA.crt has been created in JMeter bin directory, just click on OK button.

Now you can check your recorded requests.


As a result, you can save time and have more realistic scenarios using Test Script Recorder.

-Onur Yazir