Parametrize gatling runs

I would like to pass in custom arguments to my simulations. This would be easy if I could pass a “config” parameter to the simulation constructor but the instatiation is taken care of by the Gatling private class Runner. Gatling.fromMap allows me to set up some Gatling expected parameters but not custom ones (as far as I know).

What would be the preferred method of doing this? I think if somehow I can get custom values to the session or I could instantiate the class myself it would be great. Another option is to just use a “config” static object but I would like to avoid that if possible.

I understand this is a pretty open question.

Thanks in advance!

Hi Cindy,

since this is a pretty open question I can’t give you an definite answer but you might check out https://github.com/sgoeschl/gatling-blueprint-project and the related documentation

Thanks in advance,

Siegfried Goeschl