Quantcast

Recording stops due to HSTS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Recording stops due to HSTS

Amarendra Darisa
Hi,

I am trying to record a transaction but hit a page which says is using HSTS. It doesn’t allow me add an exception. As i am on mac, i double checked the jMeter cert permissions again which seem to be fine. Please suggest how to get this issue resolved. I am doing this on mac with chrome browser.



- Amar



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Recording stops due to HSTS

rhintintin
This post has NOT been accepted by the mailing list yet.

Do you have the cert generated by jmeter in recording mode added into your certificate authorities?

 

I don’t use Chrome, but in firefox I import the cert created in Bin when recording is started, into certificate authorities.

 

The cert expires after a set number of days (3 I think), however this can be changed in preferences.

 

From: Amarendra Darisa [via JMeter] [mailto:ml+[hidden email]]
Sent: 12 May 2017 10:22
To: Chris Grey <[hidden email]>
Subject: Recording stops due to HSTS

 

Hi,

 

I am trying to record a transaction but hit a page which says is using HSTS. It doesn’t allow me add an exception. As i am on mac, i double checked the jMeter cert permissions again which seem to be fine. Please suggest how to get this issue resolved. I am doing this on mac with chrome browser.

 

Image removed by sender.


- Amar

 

 

 

 


If you reply to this email, your message will be added to the discussion below:

http://www.jmeter-archive.org/Recording-stops-due-to-HSTS-tp5725606.html

To unsubscribe from JMeter - User, click here.
NAML

-----------------------------------------------

Consider the environment: Please don't print this e-mail unless you really need to.

Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error.

Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free.

Brokerage Services provided by TD Direct Investing (Europe) Limited (a subsidiary of The Toronto-Dominion Bank). Incorporated in England and Wales under registration number 2101863. Registered office: Exchange Court, Duncombe Street, Leeds, LS1 4AX, United Kingdom. Authorised and regulated by the Financial Conduct Authority, 25 The North Colonnade, Canary Wharf, London, E14 5HS, United Kingdom (Financial Services Register Firm Reference Number 141282), member of the London Stock Exchange and the ICAP Securities and Derivatives Exchange. VAT Registration No. 397103051. www.tddirectinvesting.co.uk

Banking Services provided by TD Bank N.V. Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. Authorised by the Dutch Central Bank (De Nederlandsche Bank - DNB Institution Number 481) and subject to limited regulation by the Financial Conduct Authority and Prudential Regulation Authority (Financial Services Register Firm Reference Number 216791). Details about the extent of our regulation by the Financial Conduct Authority and Prudential Regulation Authority are available from us on request.

------------------------------------------------

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Recording stops due to HSTS

glinius@live.com
This post has NOT been accepted by the mailing list yet.
In reply to this post by Amarendra Darisa
Try re-importing JMeter self-signed certificate into your browser, i.e.

 1. Delete the previously imported certificate
 2. Delete ApacheJMeterTemporaryRootCA.crt file under JMeter's "bin" folder
 3. Start HTTP(S) Test Script Recorder
 4. Import newly generated ApacheJMeterTemporaryRootCA.crt file into Chrome browser.

See HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder JMeter User Manual entry for more details.

JMeter self-signed certificate has a limited life time (7 days as per JMeter 3.2) so it might be the case it has expired.

Also you can consider an alternative way of recording a JMeter test - JMeter Chrome Extension, in this case you won't need to worry about proxies, SSL certificates, etc. so you will be able to just follow your test scenario steps in the browser and the extension will record them. Once done you should be able to export it as .jmx test script.  
Loading...