locust-cloud 1.21.8.dev3__tar.gz → 1.21.9__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.8.dev3 → locust_cloud-1.21.9}/.github/workflows/daily-check.yml +3 -1
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/PKG-INFO +1 -1
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/docs/2-examples.rst +24 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/docs/locust-cloud.rst +2 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locustfile.py +11 -2
- locust_cloud-1.21.9/testdata/requirements.txt +1 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.gitignore +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.vscode/extensions.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.vscode/launch.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/.vscode/settings.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/LICENSE +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/README.md +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/__init__.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/actions.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/args.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/cloud.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/common.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/pyproject.toml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/tests/args_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/tests/cloud_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/tests/web_login_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/tests/websocket_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9}/uv.lock +0 -0
@@ -35,13 +35,15 @@ jobs:
|
|
35
35
|
# any local changes would make hatch-vcs set a "local version" (+dev0...), so we ignore any uv.lock updates:
|
36
36
|
- run: git update-index --assume-unchanged uv.lock
|
37
37
|
- run: uv run locust-cloud --help
|
38
|
-
- run: uv run locust-cloud --image-tag master --profile status-checker --mock-server --autostart --autoquit 0 --run-time 1m --loglevel DEBUG --extra-files testdata/extra-files --extra-packages testdata/extra-package |& tee output.txt
|
38
|
+
- run: uv run locust-cloud --image-tag master --profile status-checker --mock-server --autostart --autoquit 0 --run-time 1m --loglevel DEBUG --extra-files testdata/extra-files --extra-packages testdata/extra-package --requirements testdata/requirements.txt |& tee output.txt
|
39
39
|
# check ok exit
|
40
40
|
- run: grep -m 1 '(exit code 0)' output.txt
|
41
41
|
# check extra files specified were available
|
42
42
|
- run: "grep -m 1 -- '--extra-files verification: pineapple' output.txt"
|
43
43
|
# check extra package were successfully installed
|
44
44
|
- run: "grep -m 1 -- 'Hello from the example package!' output.txt"
|
45
|
+
# check --requirements were successfully installed
|
46
|
+
- run: "grep -m 1 -- 'dotenv imported successfully' output.txt"
|
45
47
|
# check for errors
|
46
48
|
- run: bash -ec "! grep Traceback output.txt"
|
47
49
|
- run: bash -ec "! grep ERROR output.txt"
|
@@ -157,3 +157,27 @@ View dashboard / previous test runs
|
|
157
157
|
===================================
|
158
158
|
|
159
159
|
You can examine the results from previous test runs (without needing to start your load generators) from your `Locust Cloud dashboard <https://auth.locust.cloud>`_.
|
160
|
+
|
161
|
+
Source IP Addresses
|
162
|
+
===================
|
163
|
+
|
164
|
+
If you need to whitelist source IP addresses in order to bypass firewalls or DDoS protections, here are the current IPs for each region:
|
165
|
+
|
166
|
+
US Region
|
167
|
+
|
168
|
+
.. code-block:: console
|
169
|
+
|
170
|
+
23.22.141.121
|
171
|
+
34.199.222.136
|
172
|
+
44.198.252.211
|
173
|
+
44.208.98.77
|
174
|
+
52.86.221.153
|
175
|
+
|
176
|
+
EU Region
|
177
|
+
|
178
|
+
.. code-block:: console
|
179
|
+
|
180
|
+
13.48.181.114
|
181
|
+
13.53.152.168
|
182
|
+
13.61.39.172
|
183
|
+
51.21.47.95
|
@@ -27,10 +27,19 @@ extra = pathlib.Path("testdata/extra-files/extra.txt")
|
|
27
27
|
if extra.exists():
|
28
28
|
print("--extra-files verification:", extra.read_text())
|
29
29
|
|
30
|
+
try:
|
31
|
+
import example # type: ignore
|
30
32
|
|
31
|
-
|
33
|
+
example.hello()
|
34
|
+
except ImportError:
|
35
|
+
pass # ignore this for local runs
|
32
36
|
|
33
|
-
|
37
|
+
try:
|
38
|
+
import dotenv # type: ignore # noqa: F401
|
39
|
+
|
40
|
+
print("dotenv imported successfully, --requirements seems to be working")
|
41
|
+
except ImportError:
|
42
|
+
pass # ignore this for local runs
|
34
43
|
|
35
44
|
|
36
45
|
if __name__ == "__main__":
|
@@ -0,0 +1 @@
|
|
1
|
+
python-dotenv==1.0.1
|
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
|