Category "locust"

Locust - get stats in python

How does one get the Locust stats inside python? I'm trying to get the current value of req/s but locust.env.Environment.stats is an empty object, and locust.st

Locust IO failures 'BadStatusCode' meaning

I'm using locust to load test APIs, but every time I'm testing API which need parameter other than authorization to be inputted like this: It always fail at 10

Locust Python: Kafka Consumer in a separate thread

I'm using Locust for load testing. I want to register a Kafka consumer in separate thread to measure the time of message processing. Here is what I got now: def