Using different keystore in a single scenario

Gatling version: 3.11.5 (must be up to date)
Gatling flavor: java kotlin scala javascript typescript
Gatling build tool: maven gradle sbt bundle npm

Hello,
I’m doing a load test that require me to make call to two different applications.
Those two applications require different keystore.
However in the gatling.conf file it’s only possible to setup one keystore
Is there a way programatically to setup a different keystore for one an exec in my scenario ?
Just to be clear the goal is not to use different keystore per user, within the same scenario and same user I would need to use two different keystore

Hi @Juvemax,

Do you know that you can configure multiple keys in a keystore (and multiple authorities in a truststore)?
Your client (gatling user client to be exact) should have only one keystore and one truststore.
As your web browser only have one truststore and one keystore.
But you may configure it to contains multiple keys (coming from different original storages… different origin keystores if you prefer)

Exactly how to do that is out of scope of gatling support, but I guess you can find on the internets plenty of resources and tutorial to merge and manipulate keystores and truststores.

For instance (quick search):

Cheers!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.