The latest release of Gatling is out with the version number of 3.7! Since the release of 3.6.1 in July 2021, Gatling team has been working hard to provide a major release with lots of bug fixes and brand new features. And thanks to the new offerings of Gatling 3.7, your load testing experience forms into a whole new facet.
Java DSL
Gatling’s first choice for writing your load test scripts has always been Scala language. But you won’t have to stick with Scala any more! With Gatling 3.7, users will be able to choose Java as their coding language. Alongside the existing Scala DSL, Java DSL has been introduced with 3.7 version and it can be used with Kotlin as well.
If you are/were struggling with the learning process of Scala for load testing, you can continue your way with Java.
But of course, Scala DSL will be actively maintained.
HTTP and Core Features
To help you to create your scenarios more easily, Gatling 3.7 offers new and revised functions. With “checkIf” function, you can now stop injectors with virtual users or perform multiple checks at once.
For HTTP side, new support elements have been added for WebSocket and Server Sent Events.
Of course this is not the full list. Lots of detailed functions and bug fixes also come with the new version. You can see all release notes via this GitHub link.
How to Upgrade
You can download Gatling 3.7 via their official web page. But it is highly recommended that you pay attention to the details below:
- Recommended syntax for Gatling Expression Language is now #{} instead of ${}.
- Gatling minor versions are not binary compatible, as usual. Binary compatibility is only guaranteed for fixes. As a result, you will have to recompile any code you wrote in previous versions if you want them to run on 3.7.
- You have to configure the scala-maven-plugin if you want to stick to Scala for specific projects.
That is all for Gatling 3.7 in a nutshell! And the good news is; Loadium is fully compatible with Gatling as well. You can upload your Gatling load testing scripts and perform a load test! Loadium with Gatling can be utilized in a variety of ways. You may use it to create an automated simulation for website performance testing, for example.
If you are curious about Loadium, request a demo from here.
We chose Loadium over Blazemeter because of its strong support with better report screens. Taking support in emergency is great value. Thank you.
The high price of Blazemeter and the high price of its support fees caused my organization to look for another open source alternative for performance testing and continuous testing.
As a small business, cost is everything. Loadium gave us a solution that was low-cost, yet scalable. Loadium’s customer support is available whenever we need them.