Skip to main content
Source Link

Gatling recorder with Google Auth

I'm starting to learn Gatling and using Gatling Recorder.

In my SUT, login is done via Google Auth, but when I try to record steps with Gatling Recorder and Firefox with proxy set, I receive the following message:

Your connection is not secure

The owner of accounts.google.com has configured their website improperly. 
To protect your information from being stolen, Firefox has not connected to this website.

This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox only connect to it securely. 
As a result, it is not possible to add an exception for this certificate.

accounts.google.com uses an invalid security certificate. 
The certificate is not trusted because it is self-signed. 
The certificate is only valid for Gatling Error code: SEC_ERROR_UNKNOWN_ISSUER

I've tried HTTPS Mode "Certificate Authority" with certificate generated from Gatling and the message is:

Your connection is not secure

The owner of accounts.google.com has configured their website improperly. 
To protect your information from being stolen, Firefox has not connected to this website.

This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox only connect to it securely. 
As a result, it is not possible to add an exception for this certificate.

accounts.google.com uses an invalid security certificate. 
The certificate does not come from a trusted source. 
Error code: MOZILLA_PKIX_ERROR_V1_CERT_USED_AS_CA

I've tried using a manually self signed certificate but again with no success.

Does someone has an idea how to use Gatling Recorder with Google Auth?

Thanks

1
2