How to work with Strict Transport Security (HSTS) with JMeter
2 answers
Websites using HSTS will not allow you to add a server exception. What you can do is configure your browser to allow / bypass the HSTS policy. Here's what you can do in Firefox case -
- Enter
about:support
into your browser to open the troubleshooting information page. (Alternatively, select Troubleshooting Information from the Help menu). - Navigate to the "Profile Folder" row in the table shown on the page and click the "Open Folder" button.
- This will open a new browser window for the firefox profile directory. With this browser window open, close / close Firefox.
- Open the file
SiteSecurityServiceState.txt
and remove any lines containing your server nameSiteSecurityServiceState.txt
you need to access. Save this file.
After that, when you start firefox, it will ignore the HSTS limitation.
Source: Mozilla Support
Alternative solution is to use JMeter Chrome plugin - BlazeMeter
0
source to share