<p>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.</p>

CC BY-SA 3.0
2017-06-15T16:17:11.610Z
2017-06-15T16:17:11.610Z
030
<p><strong>Aim</strong> </p>

<p>to performance test a UI</p>

<p><strong>Method</strong></p>

<ul>
<li>Run <a href="http://gatling.io/" rel="nofollow noreferrer">Gatling</a> recorder</li>
<li>Once the gatling recorder proxy has been started, configure this proxy in the webbrowser that will be used for the test</li>
<li>Login to the UI</li>
<li>Navigate to the website</li>
<li>Save the recording</li>
</ul>

<p><strong>Results</strong></p>

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

<p><strong>Discussion</strong></p>

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

<p>HTTPS mode:</p>

<ul>
<li>self-signed certificate</li>
<li>provided keystore

<ul>
<li>keystore file</li>
<li>keystore pasword</li>
<li>keystore type</li>
</ul></li>
<li>certificate authority

<ul>
<li>ca certificate</li>
<li>ca private key</li>
</ul></li>
</ul>

<p>How to record websites that are encrypted using Certbot?</p>

<p><a href="https://groups.google.com/forum/#!topic/gatling/VI0MkEJGIj8" rel="nofollow noreferrer">This topic</a> has been created in the Google user group.</p>

CC BY-SA 3.0
2017-06-15T16:22:05.963Z
@Tensibai improved?
030
CC BY-SA 3.0
2017-06-15T18:33:01.433Z
Yep, far better :)
Tensibai
CC BY-SA 3.0
2017-06-15T18:34:25.887Z
And now I can understand it act as a man in the middle proxy and provide and answer not using fallback to http (tomorrow) :)
Tensibai
CC BY-SA 3.0
2017-06-16T08:15:40.227Z
Checking again, I still don't get why you can navigate to the UI through gatling recorder but not recording anything, don't you have some company management system breaking your browser configuration when you point it to gatling ?
Tensibai
<gatling><certbot>
How to performance test websites using Gatling that are encrypted using Certbot?
030
# How to performance test websites using Gatling that are encrypted using Certbot?

(Asked by: username_0 on 2017-06-15)

**Aim**

to performance test a UI

**Method**

* Run [Gatling](http://gatling.io/) 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](https://groups.google.com/forum/#!topic/gatling/VI0MkEJGIj8) has been created in the Google user group.

**Tags:** gatling, certbot

> **Comments:**
> **username_0**: @username_1 improved?  
> **username_1**: Yep, far better :)  
> **username_1**: And now I can understand it act as a man in the middle proxy and provide and answer not using fallback to http (tomorrow) :)  
> **username_1**: Checking again, I still don't get why you can navigate to the UI through gatling recorder but not recording anything, don't you have some company management system breaking your browser configuration when you point it to gatling ?  

---

## 1 answers

### Answer by username_0 on 2017-06-15. Score: 0 | Accepted answer

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.


---

