Choosing a simulation to run from the SBT Gatling Plugin

1,850 views
Skip to first unread message

Carlos Torres

unread,
Oct 6, 2014, 7:20:14 PM10/6/14
to gat...@googlegroups.com
Hi,

So, currently I have a project with the current layout just for Gatling simulations that I'm starting out.

$ tree
.
├── build.sbt
├── project
│   ├── build.properties
│   └── plugins.sbt
└── src
    └── test
        └── scala
            └── hellogatling
                └── HelloGatlingSimulation.scala



Currently, I only have one simulation (i.e. HelloGatlingSimulation.scala), which I can run just fine with 

sbt gatling:test

but as I add more simulations under src/test/scala I want to be able to run a particular simulation, not *all* of them.

Is this possible with gatling-sbt?

Thanks

Carlos Torres

Carlos Torres

unread,
Oct 6, 2014, 7:28:20 PM10/6/14
to gat...@googlegroups.com
Nevermind, I figured it out.

The way I got it to work is from the sbt console itself. Then I can run the command as follows:

> gatling:testOnly hellogatling.HelloGatlingSimulation


Sorry for such a newbie question

Thanks

Mr Lewis

unread,
Oct 7, 2014, 7:20:33 AM10/7/14
to gat...@googlegroups.com
Hi Carlos, 

You should be able to run: 

> testOnly *HelloGatlingSimulation*

Aidy

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages