How to Record and Play in JMeter?

Timothy Joseph | October 25, 2021

How to Record and Play in JMeter?There are various tools available to record and play JMeter scripts. Firefox browser proxy settings can also be used to records the JMeter script.

Below are the steps to record script in JMeter using Firefox proxy:-

  1. Open JMeter, right-click on "Test Plan" and add "Thread Group".
  2. Again right-click on "Test Plan" and then add "HTTP(S) Test Script Recorder" from the "Non-Test Elements" option.
  3. Now, right-click on "Thread Group" and add "Recording Controller" from the "Login Controller" option.
  4. Click on "HTTP(S) Test Script Recorder" in the left panel and provide any available port number (say "8080").
  5. Click on the "Target Controller" drop-down in the same window and select the "Recording Controller" drop-down.
  6. Open Firefox browser, go to "Settings" and then click on "Network Settings" from the General tab.
  7. In network settings select "Manual proxy configuration", enter "localhost" for HTTP Proxy, and "8080" for Port.
  8. Navigate back to the "HTTP(S) Test Script Recorder" window in JMeter and click on the "Start" button.
  9. The certificate will be saved in the JMeter Bin folder. Import that certificate in Firefox settings and then start recording.
  10. Visit the web URL in Firefox and everything will be recorded in "Recording Controller".
  11. Now, save the script, and press the "Ctrl+R" keyboard shortcut to play the recording.

Do you need professional assistance in optimizing your test automation processes? 
Contact QASource today and experience the difference.


This publication is for informational purposes only, and nothing contained in it should be considered legal advice. We expressly disclaim any warranty or responsibility for damages arising out of this information and encourage you to consult with legal counsel regarding your specific needs. We do not undertake any duty to update previously posted materials.

Post a Comment