locust-cloud 1.21.4.dev2__tar.gz → 1.21.5.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/PKG-INFO +1 -1
  2. locust_cloud-1.21.5.dev2/locust_cloud/docs/1-first-run.rst +29 -0
  3. locust_cloud-1.21.4.dev2/locust_cloud/docs/1-first-run.rst +0 -36
  4. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.github/workflows/daily-check.yml +0 -0
  5. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.github/workflows/tests.yml +0 -0
  6. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.gitignore +0 -0
  7. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.pre-commit-config.yaml +0 -0
  8. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.vscode/extensions.json +0 -0
  9. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.vscode/launch.json +0 -0
  10. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/.vscode/settings.json +0 -0
  11. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/LICENSE +0 -0
  12. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/README.md +0 -0
  13. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/__init__.py +0 -0
  14. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/apisession.py +0 -0
  15. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/args.py +0 -0
  16. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/cloud.py +0 -0
  17. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/common.py +0 -0
  18. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/docs/.gitignore +0 -0
  19. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/docs/2-examples.rst +0 -0
  20. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
  21. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/docs/locust-cloud.rst +0 -0
  22. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/input_events.py +0 -0
  23. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/web_login.py +0 -0
  24. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locust_cloud/websocket.py +0 -0
  25. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/locustfile.py +0 -0
  26. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/pyproject.toml +0 -0
  27. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/testdata/extra-files/extra.txt +0 -0
  28. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/testdata/extra-package/example/__init__.py +0 -0
  29. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/testdata/extra-package/setup.py +0 -0
  30. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/tests/args_test.py +0 -0
  31. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/tests/cloud_test.py +0 -0
  32. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/tests/web_login_test.py +0 -0
  33. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/tests/websocket_test.py +0 -0
  34. {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5.dev2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.21.4.dev2
3
+ Version: 1.21.5.dev2
4
4
  Summary: Locust Cloud
5
5
  Project-URL: homepage, https://locust.cloud
6
6
  Project-URL: repository, https://github.com/locustcloud/locust-cloud
@@ -0,0 +1,29 @@
1
+ `Locust Cloud <https://locust.cloud/>`_ is a hosted version of Locust that allows you to run distributed load tests without having to set up and maintain your own infrastructure.
2
+
3
+ It also allows more detailed reporting and analysis, as well as storing historical test results and tracking them over time.
4
+
5
+ First run
6
+ =========
7
+
8
+ Once you have `signed up <https://locust.cloud/pricing>`_ for Locust Cloud and :ref:`installed Locust <installation>`, you need to authenticate:
9
+
10
+ .. code-block:: console
11
+
12
+ $ locust --cloud --login
13
+ ...
14
+
15
+ .. note::
16
+ After logging in, an API token will be stored on your machine, and you will not need to log in until it expires.
17
+
18
+ Then you can launch a distributed test using Locust Cloud:
19
+
20
+ .. code-block:: console
21
+
22
+ $ locust --cloud -f my_locustfile.py --users 100 # ... other regular locust parameters
23
+ [2025-05-13 12:30:58,252] INFO: Deploying (us-east-1, 1.21.5)
24
+ [2025-05-13 12:31:06,366] INFO: Waiting for load generators to be ready...
25
+ [2025-05-13 10:31:11,119] master-lsdhr-8hwhs/INFO/locust.main: Starting Locust 2.37.1 (locust_exporter 1.18.4)
26
+ [2025-05-13 10:31:11,120] master-lsdhr-8hwhs/INFO/locust.main: Starting web interface at https://us-east-1.webui.locust.cloud/your_customer, press enter to open your default browser.
27
+ [2025-05-13 10:31:11,760] master-lsdhr-8hwhs/INFO/locust.runners: worker-jdnf6-jl8qq_a45c04a8d925448ea647fdcda2e8cf80 (index 0) reported as ready. 1 workers connected.
28
+ [2025-05-13 10:31:11,765] master-lsdhr-8hwhs/INFO/locust.runners: worker-jdnf6-pk8cl_6749cd6c0d244b3a9611d6a4e0a8d30b (index 1) reported as ready. 2 workers connected.
29
+ ...
@@ -1,36 +0,0 @@
1
- `Locust Cloud <https://locust.cloud/>`_ is a hosted version of Locust that allows you to run distributed load tests without having to set up and maintain your own infrastructure.
2
-
3
- It also allows more detailed reporting and analysis, as well as storing historical test results and tracking them over time.
4
-
5
- #########
6
- First run
7
- #########
8
-
9
- Once you have `signed up <https://locust.cloud/pricing>`_ for Locust Cloud, you can run your first test in just a few minutes:
10
-
11
- 1. Log in
12
-
13
- .. code-block:: console
14
-
15
- $ locust --cloud --login
16
- Enter the number for the region to authenticate against
17
-
18
- 1. us-east-1
19
- 2. eu-north-1
20
-
21
- > 1
22
-
23
- Attempting to automatically open the SSO authorization page in your default browser.
24
- ...
25
-
26
- .. note::
27
- After logging in, an API token will be stored on your machine, and you will not need to log in until it expires.
28
-
29
- 2. Run a load test
30
-
31
- .. code-block:: console
32
-
33
- $ locust --cloud -f my_locustfile.py --users 100 # ... other regular locust parameters
34
- [LOCUST-CLOUD] INFO: Deploying load generators
35
- [LOCUST-CLOUD] INFO: Waiting for load generators to be ready...
36
- ...