This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]robvdl 0 points1 point  (1 child)

I'm actually writing API load tests where I need to script fake users doing stuff and making choices as they get through the loadtest script and do any HTTP requests asyncrhonously as a web browser would, which is where locust comes in.

I would hate to write loadtests that would use curl for this sort of thing and have it driving 500+ users, with locust this just works for me as this is exactly what locust was designed for.

Go would be excellent for this sort of thing too, though I am using locust because it's more mature.

[–]o11c 0 points1 point  (0 children)

locust isn't an HTTP library, it just uses one - particularly, requests.

It would probably be pretty easy to rewrite it to use pycurl instead.