Re: [Gatling List] Windows Documentation

1,461 views
Skip to first unread message

Nicolas Rémond

unread,
Feb 15, 2013, 12:27:05 PM2/15/13
to gat...@googlegroups.com
You should have Java 6+ installed.
Then, download the zip from here : http://gatling-tool.org/, unzip and launch gatling.bat or recorder.bat in the bin folder.

Cheers
Nicolas




On Fri, Feb 15, 2013 at 6:15 PM, Joe Early <joee...@gmail.com> wrote:
Anyone had Windows Documentation on how to install and use Gatling? 

Cheers
Joe 

--
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/groups/opt_out.
 
 

Joe Early

unread,
Feb 15, 2013, 12:46:27 PM2/15/13
to gat...@googlegroups.com
Thanks Nicolas, I had java7 installed. This has now been removed and replaced by Java6. 

What should the GATLING_HOME environment variable be set as? 

At the moment I have it set to either the gatling dir or the java dir. 

Both seem wrong? 

Thanks
Joe 

Stéphane Landelle

unread,
Feb 15, 2013, 12:58:19 PM2/15/13
to gat...@googlegroups.com
The bat script should work as is, without forcing GATLING_HOME.


2013/2/15 Joe Early <joee...@gmail.com>

Joe Early

unread,
Feb 15, 2013, 1:18:23 PM2/15/13
to gat...@googlegroups.com
Its stating at the moment: 
The GATLING_HOME environnement variable points to the wrong directory.
Please set it to the correct folder and try to launch Gatling again.
Press any key to continue . . .

Stéphane Landelle

unread,
Feb 15, 2013, 1:37:17 PM2/15/13
to gat...@googlegroups.com
Where did you unzip the bundle? The path mustn't contain spaces, such as the dreaded "Program File".



2013/2/15 Joe Early <joee...@gmail.com>

Joe Early

unread,
Feb 18, 2013, 5:39:18 AM2/18/13
to gat...@googlegroups.com
It was unzipped to C:\Users\joe.early\Downloads\gatling-charts-highcharts-1.4.1\bin

Thanks
Joe

Stéphane Landelle

unread,
Feb 18, 2013, 9:36:38 AM2/18/13
to gat...@googlegroups.com
I can't find a better description for this than Windows WTF?!

  • I grabbed a freshly installed Windows 7
  • I unzipped
  • I launched gatling.bat by double clicking it
  • I reproduced your error
  • I debugged and saw that the cd command returned C:\Users instead of the directory that contained the script
  • I launched cmd manually, cd/moved to the directory, launched gatling.bat and everything ran fine
  • Now, I can no longer reproduce, even I launch the script directly.
@Joe could you try this procedure
@Anyone: Any idea about what happens?

Cheers,

Stéphane


2013/2/18 Joe Early <joee...@gmail.com>

Joe Early

unread,
Feb 18, 2013, 10:08:24 AM2/18/13
to gat...@googlegroups.com
I was able to get it going but only on a clean Vm
    • I grabbed a freshly installed Windows 7
    • I unzipped
    • I launched gatling.bat by double clicking it
    • Got the expected message for picking a sec. Option 1 or 2. 
    • Wa  able to use recoreder.barta s well. 
    however on the normal desktop, its still the same, 

    I looked in the normal Environment Variables window but could not find GATLING_HOME listed. Where is this set at and I will set it manually  

    Stéphane Landelle

    unread,
    Feb 18, 2013, 10:11:22 AM2/18/13
    to gat...@googlegroups.com
    Could you run the console, browse to the bin directory and launch the bat file manually?


    2013/2/18 Joe Early <joee...@gmail.com>

    Joe Early

    unread,
    Feb 18, 2013, 10:16:43 AM2/18/13
    to gat...@googlegroups.com
    I got it running :) 

    I removed all things related to Gatling, downloaded a fresh one from the site and ran on the "broken" machine. 

    Now getting the normal 
    GATLING_HOME is set to "C:\gatling-charts-highcharts-1.4.3"
    Choose a simulation number:
         [0] advanced.AdvancedExampleSimulation
         [1] basic.BasicExampleSimulation

    both bat files work, recorder starts no problem. 


    Now, onto the actual task I wish to perform with this tool. We have a Sliverlight page which hooks into various web services calling various database and one file sever which stores small 15min/1min chucks of video. We need to load test these, anything specific I should be aware off. I was just going to hit the URL directly using the recording and tweak the code if needs be, 

    Stéphane Landelle

    unread,
    Feb 18, 2013, 10:26:02 AM2/18/13
    to gat...@googlegroups.com
    Good news.

    I'm not familiar with Silverlight, but I guess the recorder should do most of the job.
    You might have to:
    Cheers,

    Stéphane


    2013/2/18 Joe Early <joee...@gmail.com>
    I got it running :) 
    Reply all
    Reply to author
    Forward
    0 new messages