Run multiple scenario


I have several scenario which I need to execute in the same scala class.
Let’s say Search1,Search2 and Search3.

How can I do that with gatling ? How can I let Search1 finish and start Search2 and at the end Search3

Many thanks.


What your trying to achieve is unclear:

  1. Do you want each virtual user to perform Search1, then Search2, then Search3?
  2. Do you want 3 distincts populations of virtual users, probably with different injection profiles, where the users performing Search2 wait for all the ones performing Search1 to terminate before starting, and then the ones performing Search3 wait for all the ones performing Search2 to terminate before starting?


The second case please.
Sorry i was not clear.


Then that’s what andThen does, see Gatling - Injection