You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/loadtesting/azure-developer-loadtesting/CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,32 @@
1
1
# Release History
2
2
3
+
## 1.1.0b1 (2025-03-27)
4
+
5
+
Updated the client library to use API Version 2025-05-01-preview. This adds all the capabilities that were introduced until this API version.
6
+
7
+
This version and all future versions will require Python 3.8+. Python 3.7 is no longer supported.
8
+
9
+
### Features Added
10
+
11
+
- This release adds models and enums for all the APIs supported by Azure Load Testing
12
+
- Support for AutoStop Criteria
13
+
- Use `auto_stop_criteria` property on the `Test` model to add autostop criteria
14
+
- Support for Quick Load Tests with RPS (Requests Per Second) Inputs
15
+
- Use `requests_per_second` and `max_response_time_in_ms` in `OptionalLoadTestConfig` model to specify desired RPS for a quick load test
16
+
- Support for URL Tests with JSON based test plans
17
+
- Added enum `TestKind` with value `URL` and support for `URL_TEST_CONFIG` file type in the `FileType` enum
18
+
- Support for Locust Load Tests
19
+
- Added value `Locust` in the `TestKind` enum
20
+
- Support for Multi Region Load Tests
21
+
- Added property `regional_load_test_config` in `LoadTestConfiguration` model to specify regional load distribution
22
+
- Support for Disabling Public IP Deployment for Private Load Tests
23
+
- Added property `public_ip_disabled` to the `Test` model to disable injecting public IP
24
+
- Support for uploading ZIP Artifacts
25
+
- Added value `ZIPPED_ARTIFACTS` in the `FileType` enum
26
+
- Support for all Test Profiles & Test Profile Run Scenarios
27
+
- Added methods `create_or_update_test_profile`, `get_test_profile`, `delete_test_profile` and `list_test_profiles` in `LoadTestAdministrationClient` to work with Test Profiles
28
+
- Added methods `begin_test_profile_run`, `get_test_profile_run`, `delete_test_profile_run` and `list_test_profile_runs` in `LoadTestRunClient` to work with Test Profile Runs
Copy file name to clipboardExpand all lines: sdk/loadtesting/azure-developer-loadtesting/README.md
+62-21Lines changed: 62 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,29 @@
1
1
# Azure Load Testing client library for Python
2
+
2
3
Azure Load Testing provides client library in python to the user by which they can interact natively with Azure Load Testing service. Azure Load Testing is a fully managed load-testing service that enables you to generate high-scale load. The service simulates traffic for your applications, regardless of where they're hosted. Developers, testers, and quality assurance (QA) engineers can use it to optimize application performance, scalability, or capacity.
3
4
4
5
## Documentation
6
+
5
7
Various documentation is available to help you get started
6
8
7
-
<!-- - [Source code][source_code] -->
8
9
-[API reference documentation][api_reference_doc]
9
10
-[Product Documentation][product_documentation]
10
11
11
12
## Getting started
12
13
14
+
### Prequisites
15
+
16
+
- Python 3.8 or later is required to use this package.
17
+
- You need an [Azure subscription][azure_sub] to use this package.
18
+
- An existing Azure LoadTesting resource.
19
+
13
20
### Installing the package
14
21
15
22
```bash
16
23
python -m pip install azure-developer-loadtesting
17
24
```
18
25
19
-
#### Prequisites
20
-
21
-
- Python 3.7 or later is required to use this package.
22
-
- You need an [Azure subscription][azure_sub] to use this package.
23
-
- An existing Azure Developer LoadTesting instance.
24
-
25
-
#### Create with an Azure Active Directory Credential
26
+
### Create with an Azure Active Directory Credential
26
27
27
28
To use an [Azure Active Directory (AAD) token credential][authenticate_with_token],
28
29
provide an instance of the desired credential type obtained from the
@@ -36,9 +37,9 @@ As an example, sign in via the Azure CLI `az login` command and [DefaultAzureCre
36
37
37
38
Use the returned token credential to authenticate the client.
38
39
39
-
####Create the client
40
+
### Create the client
40
41
41
-
Azure Developer LoadTesting SDK has 2 sub-clients of the main client (`LoadTestingClient`) to interact with the service, 'administration' and 'test_run'.
42
+
Azure Developer LoadTesting SDK has 2 sub-clients of the main client (`LoadTestingClient`) to interact with the service, 'LoadTestAdministrationClient' for administrative operations and 'LoadTestRunClient' to run tests/test-profiles.
42
43
43
44
```python
44
45
from azure.developer.loadtesting import LoadTestAdministrationClient
`<endpoint>` refers to the data-plane endpoint/URL of the resource.
55
56
57
+
The data-plane endpoint is obtained from Control Plane APIs. To obtain the data-plane endpoint for your resource, follow [this documentation][obtaining_data_plane_uri].
58
+
56
59
## Key concepts
57
60
58
61
The Azure Load Test client library for python allows you to interact with each of these components through the use of clients. There are two top-level clients which are the main entry points for the library
@@ -66,7 +69,7 @@ These two clients also have there asynchronous counterparts, which are
66
69
67
70
### Load Test Administration Client
68
71
69
-
The `LoadTestAdministrationClient` is used to administer and configure the load tests, app components and metrics.
72
+
The `LoadTestAdministrationClient` is used to administer and configure the load tests, test profiles, app components and metrics.
70
73
71
74
#### Test
72
75
@@ -86,7 +89,7 @@ During a load test, Azure Load Testing collects metrics about the test execution
86
89
87
90
### Test Run Client
88
91
89
-
The `LoadTestRunClient` is used to start and stop test runs corresponding to a load test. A test run represents one execution of a load test. It collects the logs associated with running the Apache JMeter script, the load test YAML configuration, the list of app components to monitor, and the results of the test.
92
+
The `LoadTestRunClient` is used to start and stop test runs corresponding to a load test. It can also be used to start and stop test profile runs corresponding to a test profile. A test run represents one execution of a load test. It collects the logs associated with running the Apache JMeter or Locust script, the load test YAML configuration, the list of app components to monitor, and the results of the test.
90
93
91
94
### Data-Plane Endpoint
92
95
@@ -96,15 +99,16 @@ Data-plane of Azure Load Testing resources is addressable using the following UR
96
99
97
100
The first GUID `00000000-0000-0000-0000-000000000000` is the unique identifier used for accessing the Azure Load Testing resource. This is followed by `aaa` which is the Azure region of the resource.
98
101
99
-
The data-plane endpoint is obtained from Control Plane APIs.
102
+
The data-plane endpoint is obtained from Control Plane APIs. To obtain the data-plane endpoint for your resource, follow [this documentation][obtaining_data_plane_uri].
0 commit comments