Running Large Tests


Overview

If you'd like to really stress test your system LoadForge is capable of generating over 250,000 simulating users at above 50,000 requests per second. We've described our test configuration below used to achieve this on our
systems.

Test Config:

Users: 250,000
Rate: 3000
Workers: 15

In our locustfile we dropped the wait time down to virtually nothing:

from locust import HttpUser, task, between

class QuickstartUser(HttpUser):
    wait_time = between(0.5, 1)

    @task(1)
    def index_page(self):
        self.client.get("/")

This configuration generates around 50,000 RPS when testing SSL connections. Plain HTTP is much easier to stress test as it uses far less CPU.