body and get request


I use Gatling 1.4.5.
Is it possible to use a body with a get request (it doesn’t compile, error below) ?

11:18:33.116 [ERROR] c.e.e.g.a.ZincCompiler$ - /opt/gatling-charts-highcharts-1.4.5/user-files/simulations/Analytics2.scala:20: value body is not a member of com.excilys.ebi.gatling.http.request.builder.GetHttpRequestBuilder


No, async-http-client made it impossible… That’s something I’ve fixed in AHC master and branch but we’ve yet to release (still a small pending bug to fix there). Then, I’ll fix Gatling 1 and 2, but you’ll have to go with snapshots (ie 1.5.4-SNAPSHOT for Gatling 1).

Just being curious: what’s your use case? ElasticSearch?

Thanks a lot for quick answer.

It's a home made webservice, that uses a json payload instead of HTTP parameters, in the same way ES does.

You’ll get this fixed in a few days, sorry for the delay. It always is a bit longer when the problem is in a dependency instead of Gatling itself…

Just pushed the fix on 1.5.X branch. Do you think you could build and give it a try?

Not sure.
I will do if I have a piece of free time...

I can upload one for you, but you’ll need to upgrade to 1.5 anyway.
Tell me.

Is there a binary distribution available (with highcharts) ?

Here’s one