Reusing pieces of a simulation?

Hi,

I’ve got a set of simulations that all require a login step. I’d like to extract that into some sort of class that I can maintain once, and have all simulations use it.

Here’s an example (it’s kind of ugly because we are using a third party for the auth):

`

Move them to objects or traits and expose the parts as val: https://github.com/gatling/gatling/blob/master/gatling-bundle/src/universal/user-files/simulations/computerdatabase/advanced/AdvancedSimulationStep01.scala#L14