Record the HTTPS Request in Jmeter:

  • Download the Jmeter from apache Jmeter site
  • Download the supported Java version for your JMeter version

Open JMeter using Jmeter.bat in a window or JMeter.sh in Linux or run the ApacheJmeter.jar file

after starting the Jmeter

  • Add HTTP(S) Test Script Recording to Test Plan.
  • Add Transaction Controller to Test Plan
  • Change target Controller to transaction controller created earlier
  • Click on the Start button in HTTP(S) Test Script Recording.
  • Jmeter will create Certificate by default in the bin folder

Follow the below steps to import the Jmeter certificate to record Https Traffic.

  • open Chrome or IE
  • open Chrome Setting and search for manage SSL

Record-the-HTTPS-Request-in-Jmeter

Certificates Window will open like below, Where we can import or export the certificates

Record the Https Request in Jmeter

Click on Import button Certificate Import Wizard as below

Certificate-Import-Wizard

After Clicking On Next below window will be seen

Certificate-Path

Browse the path to JMeter bin folder and certificate will be shown as below

Certificate-File

Select the Certificate and click On Next Button

Record-the-Https-Request-in-Jmeter-Certificate

instead of Selecting Personal click On browse and select Trusted Root Certificates

Select-Trusted-Root-Certificates

Click Ok and Next 

Complete-Certificate-Setup

After Clicking on  Finish Security Window will be opened as below

Security-Warning

Click On  Yes button you will be shown an alert as “Certificate imported Successfully”

Then restart the Browser and Jmeter and follow the below post for recording script

Click Here to Recording Script Post

 

Record the HTTPS Request in Jmeter

Leave a Reply

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