I have a gatling simulation where I would like to run a mix of scenarios, some authenticating like users logging into the system and others where our apis are authenticated via certificates.
The issue I am running into is that the gatling.conf file allows you to specify a single keystore/trustore which gets loaded prior to the simulation being run. This results in the scenarios which do NOT use certificates erroring out.
Is there a way to specify cert or standard auth within the setup of the Simulation or within the specifc scenario? I would potentially like to pass different certificates to different scenarios as well. Is this possible and are there examples of how this is done anywhere?
Here is an example of my simulation.