Currently I have a small suite of integration tests running against my web-server which makes a request and asserts some assumptions on what the responses should be. These are written in Ruby generating http requests.
I've been looking at Gatling
as a stress testing tool but I'm wondering if it could also be used for an integration tests as well. This way all the endpoint requests could be reused across the the stress tests and the integration tests.
I'm probably losing something here from not having the BDD of RSpec but gaining not having to create the same tests twice.
Does anyone have any experience of using gatling in this way?
This is why load testing APIs is one of the most common use cases for Gatling users. How does it work with Gatling? Gatling's simulations are code. You can bootstrap your simulation with Gatling's recorder.
Developers who use the C or C++ programming languages to create embedded software use the VectorCAST/C++ tool. It is used to automate unit and integration testing and to expedite the test workflow.
JMeter and Gatling are one of the most popular performance testing tools.
You can use the Assertion API and set up acceptance criteria.
However, Gatling isn't a browser and won't run/test your Javascript, so this approach is only realistic when dealing with server side content, such as testing REST APIs. Here's an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With