Aditya Singh
Aditya Singh

Reputation: 54

Unable to Record in Apache JMeter in Chrome browser

I am trying to record a user flow in chrome browser but I am getting the following error:

enter image description here

Although I have added a recently generated Certificate before recording and I am able to record the flow in Firefox. Here in chrome, I am getting exceptions that: (I tried by clicking on Advanced --> proceed but the same message comes again) enter image description here

This is my chrome setting: enter image description here

JMeter Setting: enter image description here

Any solutions for this?

Upvotes: 0

Views: 5640

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

You need to install JMeter's certificate in Chrome, see:

Installing the certificate in Chrome or Internet Explorer

Both Chrome and Internet Explorer use the same trust store for certificates.

  • Browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, and open it
  • Click on the "Details" tab and check that the certificate details agree with the ones displayed by the JMeter Test Script Recorder
  • If OK, go back to the "General" tab, and click on "Install Certificate …" and follow the Wizard prompts

Also be aware that there is easier way of recording a JMeter test using Chrome - JMeter Chrome Extension, in this case you won't have to worry about proxies and certificates

Upvotes: 1

Related Questions