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.
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
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.
If you reply to this email, your message will be added to the discussion below:
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.
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.