Nakabonne/ali: Generate HTTP load and plot the results in real-time(github.com)
github.com
Nakabonne/ali: Generate HTTP load and plot the results in real-time
https://github.com/nakabonne/ali
21 comments
> jmeter - classic, true and tested, works well but config format is a hassle to deal with
You can use Taurus [1] to write scenarios in yaml files instead of using JMeter's JMX.
[1] https://gettaurus.org/kb/Basic1/
You can use Taurus [1] to write scenarios in yaml files instead of using JMeter's JMX.
[1] https://gettaurus.org/kb/Basic1/
That's neat, thanks for the suggesting! I've used https://github.com/flood-io/ruby-jmeter that is similar to Taurus, ruby DSL for generating the JMX. Only had issues with some things not being supported but was easy to extend to support those features. Made a short presentation about ruby-jmeter a while ago (6 years): https://slides.com/victorbjelkholm-old/jmeter-ruby-do-perfor...
locust maybe?
There's also ab (Apache Benchmark) which is super simple and can be all you need sometimes.
And is included in MacOS (as I discovered after trying to install it for 10min).
Simple example (-c is concurrency, -n is total number of requests to make, -H for headers):
Simple example (-c is concurrency, -n is total number of requests to make, -H for headers):
ab -c 20 -n 50000 'https://someurl.com/someendpoint'Ab support only http 1.0 requests, I recommend wrk instead: https://github.com/wg/wrk
Artillery is another one.
https://artillery.io/docs/http-reference/
https://artillery.io/docs/http-reference/
+1 for Gatling. I agree with the reporting part. Although the basic version is good enough for the 80% use case
Tsung
drill is relatively new but shows promise:
https://github.com/fcsonline/drill
https://github.com/fcsonline/drill
K6 is my usual go-to, since it can import Postman request files (which makes it easier to simulate more complex requests with file uploads and such), and is highly configurable.
https://k6.io/
https://k6.io/
Similar tool I recommend https://k6.io/docs/
Looks real nice! Unfortunately doesn't have graphs like "ali" or other popular load testing tools, and the cloud version is very expensive (starts at $74/month) if you just want some nice visualization of your results.
k6 can be used together with Grafana[1] so you can get pretty charts for free :-)
[1] https://k6.io/blog/k6-loves-grafana
[1] https://k6.io/blog/k6-loves-grafana
As a lover of Grafana, I love this! Thanks, didn't know. I'll definitely give k6 a try!
You can use it with influxdb and grafana which gives you 5seconds delay - almost real time I say.
I tried the cloud version of this out on someone's recommendation last week, and was impressed. It gets expensive quite fast looking at the price plans though. The k6 open source library behind it seems cool too.
I used in the past locust.io - has ui and supports scenarios etc.
Thank you! I actually really need this right now.
Wow that's really nice! Thanks for sharing!
What I've found so far:
- jmeter - classic, true and tested, works well but config format is a hassle to deal with
- gatling - works well in general, but the reporting in the open source version is very basic, probably because they have "enterprise" features around reporting (that starts at $400/month)