11

I’ve been having issues lately because my dependencies has been updated to use netty 4.1 and Gatling has not been updated for a while, and still work only on Netty 4.0.

Anybody knows any alternative to Gatling to create similar Simulations and scenarios for the performance test to be run automatically in my Maven life cycle?

paul
  • 12,873
  • 23
  • 91
  • 153

5 Answers5

13

If you look for something code-based it would be:

For UI and/or XML based scenario definition you can check out:

Check out Open Source Load Testing Tools: Which One Should You Use? to learn more about the aforementioned tools and decide which one fits to your most.

Torbilicious
  • 467
  • 1
  • 4
  • 17
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
5

As a nice replacement for Gatling I would recommend you to check the Locust. The good thing about the Locust specifically for you is that it is code based performance testing tool which does not enforce you to write the tests only in a specific programming language like Python. Because if you used Scala before, you might be more comfortable to switch to something like Java or even Kotlin while writing your tests which is more than doable using Locust framework. You can find the handy tutorial by this link:

https://www.blazemeter.com/blog/locust-performance-testing-using-java-and-kotlin

Yuri Bushnev
  • 567
  • 6
  • 11
4

Here's also a benchmark comparison of different tools.

If you are javascript/Ecma familiar k6 does the job.

3

Apache JMeter is a known alternative to Gatling.

It is frequently updated (at least 2 major releases per year) and has a strong user base and a lot of commercial offers.

There is a Maven Plugin that is being recently much more frequently updated, there has been 4 releases in 2 months.

Look at code coverage in more details.

pmpm
  • 705
  • 1
  • 5
  • 20
  • Yes it’s possible run it in a Maven life cycle? I always used manually – paul Nov 11 '17 at 17:09
  • Yes, JMeter Maven plugin is designed to do just that. https://github.com/jmeter-maven-plugin/jmeter-maven-plugin – Cezary Kluczyński Nov 11 '17 at 17:11
  • 30% of code coverage? Mmm thanks but let’s see it there’s any other alternative – paul Nov 11 '17 at 17:15
  • See https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/issues/166 . Jmeter is frequently updated (at least 2 major releases per year) and has a strong user base and a lot of commercial offers. This Maven Plugin is being recently much more frequently updated, there has been 4 releases in 2 months. Look at code coverage in more details. – pmpm Nov 12 '17 at 09:39
  • yes but again it´s only has 35% of coverage. I cannot trust in a software with such a low overage code. Thanks anyway – paul Nov 12 '17 at 09:41
  • 1
    There was a mis configuration leading to wrong coverage results. You can have a look now. – UBIK LOAD PACK Nov 12 '17 at 17:25
0

k6 is a good alternative, if js is not a problem for you. https://k6.io/

Alex Karamfilov
  • 634
  • 1
  • 6
  • 12