How to record a script on JMeter

The recording procedure in the JMeter was explained below in different steps.

Step 1:

Start JMeter by double clicking on “jmeter.bat” in bin folder of JMeter directory

Step 2:

Add a new Thread Group by right clicking on the Test Plan in JMeter

Test Plan à Add à Threads (Users)à Thread Group



Step 3:

Add Recording Controller by right clicking on the Thread Group

Thread Group à Add à Logic controller à Recording Controller


Step 4:

Rename the Recording Controller with the transaction name, by entering the required name in 

Recording Controller à  Name


Step 5:

Add “HTTP(S) Test Script Recorder” by right clicking on the Workbench

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



Step 6:

Select the HTTP(S) Test Script Recorder tab in WorkBench

Enter the same port number that you have configured in proxy settings under Global Settings Port

Note: Need to mention domain address in the “HTTPS Domains” field if you are recording a HTTPS application.

Select the “Target Controller” field to set where the script needs to be stored

Click “Start” button to record


Step 7:

Go to browser and enter the application URL in the address bar. Navigate according to the transaction.

Step 8:

After completion of recording the transaction, go to JMeter and click on “Stop” button.
Ensure that the script was recorded properly by expanding the corresponding “Recording Controller”

(Ex: Home_Page)




No comments:

Post a Comment