# Distributed load testing with Gatling, is it possible???

**URL:** <https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447>\
**Category:** Gatling (Open-Source)\
**Created:** [June 20, 2013, 9:16pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447 "2013-06-20T21:16:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Assane\_Diop](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Assane\_Diop](https://community.gatling.io/u/Assane_Diop)\
**Post date:** [June 20, 2013, 9:16pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/1 "2013-06-20T21:16:20Z")

</div>

I have been doing some load test with gatling 1.5.1 and so far i am pretty happy with the framework.  
I was wondering though if anybody had ever done distributed load testing with this framework.  
I know gatling uses akka actors, maybe someone has already play with it and make this work.

Assane

---

<div class="post-metadata">

**Author:** ![Andrew\_Duffy](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Andrew\_Duffy](https://community.gatling.io/u/Andrew_Duffy)\
**Post date:** [June 20, 2013, 9:25pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/2 "2013-06-20T21:25:21Z")

</div>

We run distributed load tests in Gilt; we built a (slightly hacky) set of scripts run by Jenkins that create EC2 instances, upload executable jars to them, run the load test without generating reports on each one (-nr, I think), and harvest the simulation logs afterwards. Once you have a directory of simulation logs you can create a report and test assertions against the aggregate of them by just using -ro (and -s if you have assertions to test).

---

<div class="post-metadata">

**Author:** ![Assane\_Diop](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Assane\_Diop](https://community.gatling.io/u/Assane_Diop)\
**Post date:** [June 20, 2013, 10:14pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/3 "2013-06-20T22:14:30Z")

</div>

Thanks for the response Andrew.  
I am not sure I follow completely, do you have some examples or tutorial of what your set up is doing?  
I see gilt allows you to connect to another host within gatling, and i can easily create some virtual machine. I am not sure how the scenario will actually run on the machines?

On[](https://groups.google.com/forum/#!forum/testng-users)Thursday, June 20, 2013 2:16:20 PM UTC-7, Assane Diop wrote:

---

<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:** [June 21, 2013, 5:30am UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/4 "2013-06-21T05:30:18Z")

</div>

Thank you Andrew.  
May I suggest that this would be a nice topic for a post on Gilt’s blog (excellent material there, BTW, you guys rock!)?

---

<div class="post-metadata">

**Author:** ![yuhao\_fang](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@yuhao\_fang](https://community.gatling.io/u/yuhao_fang)\
**Post date:** [July 28, 2015, 3:48am UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/5 "2015-07-28T03:48:42Z")

</div>

Could Gatling run distributed load testing now？

在 2013年6月21日星期五 UTC+8下午1:30:18，Stéphane Landelle写道：

---

<div class="post-metadata">

**Author:** ![Abhinav\_Gogna](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Abhinav\_Gogna](https://community.gatling.io/u/Abhinav_Gogna)\
**Post date:** [July 28, 2015, 6:09pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/6 "2015-07-28T18:09:18Z")

</div>

Distributed load test is implemented albeit manually. You can run the simulations from various machines, collect the log and create a report. Check out [http://gatling.io/docs/2.1.7/cookbook/scaling\_out.html](http://gatling.io/docs/2.1.7/cookbook/scaling_out.html)

What Andrew has done is create scripts to do all these manual tasks. We also did something like this with AWS EC2 instances using fabric.

---

<div class="post-metadata">

**Author:** ![Jakub\_Jeszke](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jakub\_Jeszke](https://community.gatling.io/u/Jakub_Jeszke)\
**Post date:** [February 14, 2016, 4:34pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/7 "2016-02-14T16:34:35Z")

</div>

Gatling Team,

are there any plans to provide any ‘cluster’ or ‘distributed’ mode? Do you have any road map for this year?

Regards,  
Jakub

W dniu wtorek, 28 lipca 2015 20:09:19 UTC+2 użytkownik Abhinav Gogna napisał:

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 14, 2016, 5:01pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/8 "2016-02-14T17:01:34Z")

</div>

Absolutely, our upcoming commercial product, FrontLine, will support clustering.

---

<div class="post-metadata">

**Author:** ![aidylewis](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@aidylewis](https://community.gatling.io/u/aidylewis)\
**Post date:** [February 14, 2016, 5:50pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/9 "2016-02-14T17:50:13Z")

</div>

Hi Assane,

Until the commercial product arrives, I’d probably use a lightweight distribution tool[1] and aggregate hosts in InfluxDB. Unless, the Gatling reports were actually required, I’d probably turn them off and disable the parser.

I can write some notes on this if required?

Can I ask what your expected concurrency peak is?

[1] [https://github.com/bbc/notes-on-perf-testing#distribution](https://github.com/bbc/notes-on-perf-testing#distribution)

Aidy

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 14, 2016, 6:05pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/10 "2016-02-14T18:05:17Z")

</div>

One of the issues with InfluxDB and other standard time series databases is that if you care about percentiles/distributions (which you should, those are the only metrics that make sense, on contrary to average and standard deviation), you end up averaging them (over time, over cluster nodes).

This is of course completely wrong (e.g.: the 100th percentile is the maximum, and the global maximum is absolutely not the average of the local maximums) and artificially smoothen your results.

This is one of the issues we’re fixing with FrontLine.

---

<div class="post-metadata">

**Author:** ![aidylewis](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@aidylewis](https://community.gatling.io/u/aidylewis)\
**Post date:** [February 14, 2016, 6:15pm UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/11 "2016-02-14T18:15:34Z")

</div>

That is a very good point.

---

<div class="post-metadata">

**Author:** ![Aparna\_Rastogi](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Aparna\_Rastogi](https://community.gatling.io/u/Aparna_Rastogi)\
**Post date:** [January 12, 2017, 10:08am UTC](https://community.gatling.io/t/distributed-load-testing-with-gatling-is-it-possible/447/12 "2017-01-12T10:08:55Z")

</div>


