HTTP server benchmarking/load testing in Python

orzodk orzodk at fastmail.com
Wed Jan 25 13:33:38 EST 2023


Dino <dino at no.spam.ar> writes:

> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define
> a pool of HTTP requests and I want the tool to run those (as opposed
> to running the same request over and over again)
>
> Does such a marvel exist?
>
> Thinking about it, it doesn't necessarily need to be Python, but I
> guess I would have a chance to tweak things if it was.
>
> Thanks
>
> Dino


I have used locust with success in the past.

https://locust.io


More information about the Python-list mailing list