Locust Cloud is a Python library that acted as a client for the now-defunct Locust Cloud service, enabling users to deploy and manage distributed Locust load tests on a hosted cloud platform. The underlying Locust Cloud service has been shut down. The library's latest version is 1.30.0, and it follows the release cadence of its primary dependency, Locust, though its utility is now limited due to the service discontinuation.
pip install locust-cloudVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates a typical Locust test script (`my_locustfile.py`) that would have been used with the `locust-cloud` extension. The `locust-cloud` library extended the standard `locust` command with a `--cloud` flag to deploy these tests to the hosted service. Note the use of environment variables for non-interactive authentication for CI/CD scenarios.
Migrate your load testing infrastructure to self-hosted open-source Locust, which continues to be actively developed and maintained. The core Locust project can be found at https://locust.io and installed via `pip install locust`.
Discontinue use of `locust-cloud`. Focus on the core `locust` library for all new and existing load testing requirements.
Always import `HttpUser`, `task`, `between`, etc., from the `locust` package in your test scripts. The `locust-cloud` functionality was invoked via `locust --cloud ...`.