Can't run with -s or --simulations

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

With 1.1.6

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 :slight_smile:

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

I’ll try to get 1.1.6 and test with it :wink:

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

Hi François,

What’s your OS? Is it Windows?

2012/5/25 Romain Sertelon <bluepyth@gmail.com>

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

quotes
remove them :wink:

2012/5/25 Francois Dussert <fdussert@gmail.com>

OMG :slight_smile:
I’ll try later and tell you

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

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>

log added: https://github.com/excilys/gatling/commit/d275f75621bf280959e94124dedc7a9c5f0857b5

2012/5/25 Stéphane Landelle <slandelle@excilys.com>

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>

Yes I’ll do
This is my ‘POC’ environment :wink: