Gatling

Load testing framework

Built On

  • Scala
  • Akka
  • Netty

Install

Get 1.5 or the new 2.0 RC. Then untar and you're ready.

Record

You'll need to set up your browser to proxy through the recorder, which can be accessed by running:

GATLING_HOME/bin/recorder.sh
The recorder
The recording

It's just scala...

So you can modify the recording to your hearts content. Instead of logging in using a hardcoded username and password, let's pull them from a csv file.

The CSV

Feeders

Also supports JSON, jdbc, and redis feeders

Running Tests

Reports with fancy charts

Get automatically generated. #+1

The results
The results

Some nice features

  • Assertions (response times, req/sec, etc.)
  • Built in websockets support
  • Fancy conditional branching (weighted random branching)
  • It's just a library, so you can pretty much do what you want, as long as it's in scala

Da end