News for hackers. Stuff that matters.
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by diggan on Monday October 05, 2020 @05:28AM (#24685985)
What's some alternatives to this, that also has "scenarios" or similar so you could simulate real user flows, but a lot of them? Should be self-hosted.

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)

Re:Nakabonne/ali: Generate HTTP load and plot the results in... by rkwz on Monday October 05, 2020 @05:44AM (#24686066)
> 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/

Re:Nakabonne/ali: Generate HTTP load and plot the results in... by diggan on Monday October 05, 2020 @07:21AM (#24686592)
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...
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by sdgluck on Monday October 05, 2020 @07:51AM (#24686787)
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by japgolly on Monday October 05, 2020 @06:24AM (#24686297)
There's also ab (Apache Benchmark) which is super simple and can be all you need sometimes.
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by js4ever on Monday October 05, 2020 @07:18AM (#24686580)
Ab support only http 1.0 requests, I recommend wrk instead: https://github.com/wg/wrk
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by williamdclt on Monday October 05, 2020 @06:33AM (#24686346)
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):

    ab -c 20 -n 50000 'https://someurl.com/someendpoint'
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by gwittel on Monday October 05, 2020 @11:04AM (#24688386)
drill is relatively new but shows promise:

https://github.com/fcsonline/drill

Re:Nakabonne/ali: Generate HTTP load and plot the results in... by hrishios on Tuesday October 06, 2020 @12:50PM (#24699863)
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/

Re:Nakabonne/ali: Generate HTTP load and plot the results in... by victor106 on Monday October 05, 2020 @08:15AM (#24687000)
+1 for Gatling. I agree with the reporting part. Although the basic version is good enough for the 80% use case
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by stock_toaster on Monday October 05, 2020 @06:16AM (#24686255)
locust maybe?
Re:Nakabonne/ali: Generate HTTP load and plot the results in... by chrismarlow9 on Monday October 05, 2020 @10:29AM (#24688061)
Tsung