Multiple scenario

Hi,

I have few scenarios prepared and I would like to run all of them sequentially.

Is it possible?

Regards,

Paweł

Hi,

Currently, from the gatling-maven-plugin, yes, but not from CLI.

Cheers,

Steph

2012/8/26 slowikps <slowikps@gmail.com>

Forget about my last response: you can use the -s option:
https://github.com/excilys/gatling/wiki/Configuration#wiki-cli-options

I’ll try to change the CLI to allow multiple selections.

2012/8/26 Stéphane Landelle <slandelle@excilys.com>

Thanks! Maven plugin is fit for me :slight_smile:

2012/8/26 slowik <slowikps@gmail.com>

Hi Stéphane,

Basically trying to do the same but the -s option doesn’t seem to work for me. I’ trying to execute all my scenarios from Gradle with the command: -sbf /myoutputdir -s *
I read about the * notion in this issue: https://github.com/excilys/gatling/issues/363 but I’m wondering whether this is still valid, I do pass the sbf param as the compilation is already done by Gradle.

Is it me doing something wrong or is running multiple scenerios not supported by the Gatling class?

Thanks,

Vincent

Hi Vincent,

You can no longer launch multiple simulations directly with Gatling. The -s option is used to force the simulation if there’s several of them available.

I’m not familiar with Gradle. With maven you would set up multiple executions of the gatling-maven-plugin, with different configurations (ie -s option).
Don’t tell me maven can do something Gradle can’t :wink:

Cheers,

Stéphane

Hi Stéphane,

Got the point. Just wrote a small Gradle wrapper around it and now I’m able to execute my Scenarios one by one via Gradle (Gradle does everything you want ;)).

Kind regards,

Vincent

Nice!

Care to share? We could link it in our documentation.

Cheers,

Stéphane

Hi Stéphane,

Just created a sample Gradle project on GitHub: https://github.com/vincentkok/gradle-gatling

Kind regards,

Vincent

Hi,

I am trying to integrate gradle+gatling project with jenkins plugin(version 1.2.1) to generate reports. I have installed plugin in jenkins and have configured into jenkins to call as a post build action. I can see task is being called but report publisher is not working.
could you please help me here?