locust-cloud 1.21.4.dev2__tar.gz → 1.21.5__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.
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/PKG-INFO +1 -1
- locust_cloud-1.21.5/locust_cloud/docs/1-first-run.rst +29 -0
- locust_cloud-1.21.4.dev2/locust_cloud/docs/1-first-run.rst +0 -36
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.github/workflows/daily-check.yml +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.gitignore +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.vscode/extensions.json +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.vscode/launch.json +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/.vscode/settings.json +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/LICENSE +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/README.md +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/__init__.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/args.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/cloud.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/common.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/docs/locust-cloud.rst +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/locustfile.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/pyproject.toml +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/tests/args_test.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/tests/cloud_test.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/tests/web_login_test.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/tests/websocket_test.py +0 -0
- {locust_cloud-1.21.4.dev2 → locust_cloud-1.21.5}/uv.lock +0 -0
@@ -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
|
-
...
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|