How to performance test websites using Gatling that are encrypted using Certbot? Aim 

to performance test a UI

Method


Run Gatling recorder
Once the gatling recorder proxy has been started, configure this proxy in the webbrowser that will be used for the test
Login to the UI
Navigate to the website
Save the recording


Results

When a http site is recorded, then it is recorded, but when an https site then gatling records nothing

Discussion

Gatling can record websites, but when these are encrypted then one could define the following:

HTTPS mode:


self-signed certificate
provided keystore


keystore file
keystore pasword
keystore type

certificate authority


ca certificate
ca private key



How to record websites that are encrypted using Certbot?

This topic has been created in the Google user group.
If it is possible to switch https to http temporarly then gatling can record the clicks. When the recording was done, https was activated again and the test could be run against https as well. In summary, recording works if the site is http and running it works against https. Note that the recorder file contains http and this need to be changed to https.