Switch to Gatling for load testing

I would like to use Gatling to test the performance and scalability of REST web services. I am currently using JMeter for this, as I did not know about gatling when I started this project. Gatling will be better integrated and better for the project will have a number of reasons.

I would like to ask one main question:

Obviously, there is a lot of overhead involved in setting up Gatling with the right web service information. I already did this in JMeter, and I'm not going to do it again. For one of the subprojects, we have WADL, but we do not have such a thing for the other. Is it possible, out of the box, to import:

a. JMeter test plans and
b. WADL Documents

in gatling?

I looked through the documents, but unfortunately I can not find anything that refers to them.

+6
source share
2 answers

No, Gatling doesn't have a single one.

Building a jmx converter is something we can research in 2013, since you are not the first to ask. At the moment, I'm a little skeptical, as the logic and configuration of 2 JMeter and Gatling are completely different, so the functions and the way they are used do not display 1: 1.

The easiest way to work with the REST API is to use a recorder, so you must send the request bodies as a template, and then enter data into them. See http://gatling.io/docs/2.1.6/http/http_request.html#request-body

If you work with JSON, you can use our JsonPath (or standard regular expressions) to make statements in the body of the response or even collect data. See http://gatling.io/docs/2.1.6/http/http_check.html#defining-the-check-type

+10
source

Using HttpSampler with a Raw Post body And the latest version 2.8 is the right way to test web services.

Is that how you do it? The upcoming 2.9 has new performance improvements related to the memory and processor consumed by Post Processors.

As for a, I don't think so.

0
source

All Articles