Search code examples
jmeterperformance-testing

JMeter WebDriver Sampler: Your connection is not private


Am trying to collect the performance metrics on Browser (client-side). While launching the url through browser, I get the following message:

Error

Please find my code below:

Script

How do I fix this?

Thanks for your support.

Regards,


Solution

  • There is nothing you can "fix" there, because it's the problem with the web application you're testing, either it's certificate is self-signed or it's untrusted or something is missing in the chain, in other words you need to "fix" this on on JMeter/Selenium level but on the system under test level.

    If you want to "work around" this you can configure your browser to accept insecure certificates, it can be done under "Capabilities Management" tab of your WebDriver config element:

    enter image description here

    More information on Selenium WebDriver: What Is Selenium WebDriver?