We have to add a section in the Wiki describing how to build Gatling from sources and a link in the FAQ…
Here’s the problem :
Gatling is not “completely” open-source: the reports depend on javascript libraries (highcharts and highstocks) that are not open source (we couldn’t find a good Apache 2 licenced replacement yet)
As we wanted to keep as much code as possible under Apache 2, we built a reports generation API and moved the implementation into a separate project : https://github.com/excilys/gatling-highcharts
So if you want to build from source, the procedure is similar to running from the IDE: https://github.com/excilys/gatling/wiki/Development-Environment, you have to build gatling-highcharts too. The bundle you’re looking for is gatling-charts-highcharts-bundle.
Let me know if you’re still stuck.
I get it now, and it seems to be working fine. I did notice a small problem with looping. If I use a “times(n)” loop, it works ok, but changing it to “during(n)” causes an exception:
[ERROR] [1/31/12 3:41 PM] [akka:event-driven:dispatcher:global-10] [LocalActorRef] You must call startCounter before this method is called
java.lang.IllegalAccessError: You must call startCounter before this method is called
at com.excilys.ebi.gatling.core.session.handler.CounterBasedIterationHandler$$anonfun$3.apply(CounterBasedterationHandler.scala:65)
at com.excilys.ebi.gatling.core.session.handler.CounterBasedIterationHandler$$anonfun$3.apply(CounterBasedterationHandler.scala:65)
Thanks! That seems to be working now. Looks nice :).
One other thing I’ve not been able to get working is specifying a custom simluations folder on the command line:
$GATLING_HOME/bin/gatling.sh -sf /Users/luke/blah/gatling/simulations
GATLING_HOME already set to: /Users/luke/Work/tools/gatling-charts-highcharts-1.1.0-SNAPSHOT
Yes, you’re right. It seems to happen when there is only one script file. It differs from 374 in that it happens at startup even before the menu is presented.