# Can't run with -s or --simulations

**URL:** <https://community.gatling.io/t/cant-run-with-s-or-simulations/85>\
**Category:** Gatling (Open-Source)\
**Created:** [May 25, 2012, 1:43pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85 "2012-05-25T13:43:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 1:43pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/1 "2012-05-25T13:43:43Z")

</div>

Hi,

i try to run tests with no interaction so i try to use -s option but it does nothing (no errors too).

Example without -s :

> [root@ns226456 bin]#./gatling.sh
> 
> GATLING\_HOME is set to /usr/local/gatling
> 
> #logback.classic pattern: %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx
> 
> Collecting simulations…
> 
> Choose a simulation number:
> 
> [0] advanced.AdvancedExampleSimulation
> 
> [1] basic.BasicExampleSimulation
> 
> [2] staging.Hits900K
> 
> [3] staging.Hits750K
> 
> [4] staging.Hits600K
> 
> [5] staging.Hits450K

And with -s :

> [root@ns226456 bin]# ./gatling.sh --simulations “staging.Hits450K”  
> GATLING\_HOME is set to /usr/local/gatling  
> #logback.classic pattern: %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx  
> Collecting simulations…  
> [root@ns226456 bin]#

What am I doing wrong ?

Regards

---

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 1:53pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/2 "2012-05-25T13:53:03Z")

</div>

With 1.1.6

---

<div class="post-metadata">

**Author:** ![Romain\_Sertelon](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Romain\_Sertelon](https://community.gatling.io/u/Romain_Sertelon)\
**Post date:** [May 25, 2012, 2:08pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/3 "2012-05-25T14:08:39Z")

</div>

This is strange, I didn’t test already, but reading the code, I can’t understand what is the problem. It _should_ work x)

Don’t know if Stéphane will look at it first, but I’m trying to test now 🙂

---

<div class="post-metadata">

**Author:** ![Romain\_Sertelon](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Romain\_Sertelon](https://community.gatling.io/u/Romain_Sertelon)\
**Post date:** [May 25, 2012, 2:49pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/4 "2012-05-25T14:49:58Z")

</div>

Tested with 1.2.0-SNAPSHOT on windows (cmd) and with archetype. Couldn’t reproduce bug 😕

I’ll try to get 1.1.6 and test with it 😉

---

<div class="post-metadata">

**Author:** ![Romain\_Sertelon](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Romain\_Sertelon](https://community.gatling.io/u/Romain_Sertelon)\
**Post date:** [May 25, 2012, 3:21pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/5 "2012-05-25T15:21:55Z")

</div>

Hi again.

I just tested 1.1.6 and the -s or --simulations switch worked fine for me.

I can’t reproduce the bug :-\

Cheers,  
Romain

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [May 25, 2012, 3:24pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/6 "2012-05-25T15:24:01Z")

</div>

Hi François,

What’s your OS? Is it Windows?

2012/5/25 Romain Sertelon \<[bluepyth@gmail.com](mailto:bluepyth@gmail.com)\>

---

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 3:41pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/7 "2012-05-25T15:41:30Z")

</div>

Nop  
It’s a Centos 6 amd 64 with sun jdk 6

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [May 25, 2012, 3:51pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/8 "2012-05-25T15:51:18Z")

</div>

quotes  
remove them 😉

2012/5/25 Francois Dussert \<[fdussert@gmail.com](mailto:fdussert@gmail.com)\>

---

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 4:07pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/9 "2012-05-25T16:07:24Z")

</div>

OMG 🙂  
I’ll try later and tell you

---

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 6:47pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/10 "2012-05-25T18:47:02Z")

</div>

So that’s ok … I’m a noob … sorry

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [May 25, 2012, 6:50pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/11 "2012-05-25T18:50:31Z")

</div>

no pro  
I’ll have a look and add some logs to make it clearer. I’ll have a look at the docs too.

Have a nice week-end!  
See you,

Steph

2012/5/25 usul \<[fdussert@gmail.com](mailto:fdussert@gmail.com)\>

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [May 25, 2012, 7:06pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/12 "2012-05-25T19:06:06Z")

</div>

log added: [https://github.com/excilys/gatling/commit/d275f75621bf280959e94124dedc7a9c5f0857b5](https://github.com/excilys/gatling/commit/d275f75621bf280959e94124dedc7a9c5f0857b5)

2012/5/25 Stéphane Landelle \<[slandelle@excilys.com](mailto:slandelle@excilys.com)\>

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [May 25, 2012, 7:09pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/13 "2012-05-25T19:09:39Z")

</div>

BTW, removing the samples (basic and advanced) will decrease your start up time as Gatling won’t have to compile them.

2012/5/25 Stéphane Landelle \<[slandelle@excilys.com](mailto:slandelle@excilys.com)\>

---

<div class="post-metadata">

**Author:** ![Francois\_Dussert](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Francois\_Dussert](https://community.gatling.io/u/Francois_Dussert)\
**Post date:** [May 25, 2012, 7:16pm UTC](https://community.gatling.io/t/cant-run-with-s-or-simulations/85/14 "2012-05-25T19:16:19Z")

</div>

Yes I’ll do  
This is my ‘POC’ environment 😉
