Skip to content

Commit 12dd81a

Browse files
Nivedit JainNivedit JainHarshan Bchristothes
authored
Pre-GA SDK for Azure LoadTesting (Azure#32268)
* started GA SDK generation * added directives * initial generate * fixed generated code * fixed API view generation * added CheckTestFileValidationStatus * updated samples, changelog & fixed missing cases * updated Readme * updated CreateOrUpdateAppComponent Sample * updated changelog * name chages from directives * updated samples * fixed directives for filename * fixed admin client * ran eng\scripts\Export-API.ps1 * fixed broken links * resloved merge conflict from Samples. * regenrated to resolve issues in merge * fixed enpoint issues * testing link verification pipeline * tested * generated SDK with updated swagger * generating API View * fixed LRO naming and CHANGELOG.md * cleaned links from samples * cleaned directives * fixed BeginGetTestScriptValidationStatus * pushing Hero * added appcomponents * removed secrets * Add LRO for file upload and test run * Add initial response to LROs * regenerated as per the two client approach * renamed options to LoadTestingClientOptions * fixed uri issue * LRO Implimentation Done * fixed compilation issues * removed Hero * fixed testing framework * Fixed BeginUploadTestFile & Async @Harshan01 * completed LoadTestAdminsitrationClient * completed tests for LoadTestRunClient * completed testing * fixed failing tests * fixed tests * updated API * fixed APIs * fixed scope issue * added samples * added more samples * added samples * added to readme * fixed readme * pipeline fix attempt * completed teseting for LoadTestAdminstration * added more recordings * commiting more recordings * ran load test admin client * testing CI with new JMX * fixing LRO * solved recording mismatched error * updated snippets * ran: .\eng\common\scripts\Prepare-Release.ps1 Azure.Developer.LoadTesting loadtestservice * updates samples * updated samples * remove compilation issues * Added LoadTestTestsBase.cs * corrected samples * updated ReadMe * regenerating code * regenerated code, api and samples * changed link to github * re-recorded tests * fixed build issues * re-recorded with new sanitizer * testing build with pull * updated new recordings * fixed autorest, linux file matching, api export * adding commit id * fixed code verification * testing pipelines * recording from windows with \r\n * windows base * removed newline from JMX file * re-recorded * recorded * resolved all coments from @christothes apart from unit testing comments. * added deeper asserts for LoadTestAdministrationClientTests * added deeper asserts * Update sdk/loadtestservice/Azure.Developer.LoadTesting/src/FileUploadOperation.cs Co-authored-by: Christopher Scott <[email protected]> * merged * resolved comments by @Christother * fixed recording Co-authored-by: Nivedit Jain <[email protected]> Co-authored-by: Harshan B <[email protected]> Co-authored-by: Christopher Scott <[email protected]>
1 parent 1153812 commit 12dd81a

File tree

111 files changed

+62102
-6709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+62102
-6709
lines changed

sdk/loadtestservice/Azure.Developer.LoadTesting/CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,34 @@
11
# Release History
22

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2023-01-13)
44

55
### Features Added
6+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricNamespaces`
7+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricDefinitions`
8+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetrics`
9+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.CreateOrUpdateAppComponents`
10+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListAppComponents`
11+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.CreateOrUpdateServerMetricsConfig`
12+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.GetServerMetricsConfig`
13+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestAdministrationClient.
14+
`
15+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestAdministrationClient.BeginTestRun`
16+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricNamespacesAsync`
17+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricDefinitionsAsync`
18+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricsAsync`
19+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.CreateOrUpdateAppComponentsAsync`
20+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListAppComponentsAsync`
21+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.CreateOrUpdateServerMetricsConfigAsync`
22+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.GetServerMetricsConfigAsync`
23+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestAdministrationClient.BeginUploadTestFile`
24+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestAdministrationClient.BeginTestRun`
25+
- Method Addded `Azure.Developer.LoadTesting.LoadTestingClient.LoadTestRunClient.ListMetricDimensionValues`
626

727
### Breaking Changes
8-
9-
### Bugs Fixed
28+
- Changed from single client and 2 subclients pattern to two clients pattern
1029

1130
### Other Changes
31+
- README Updated
1232

1333
## 1.0.0-beta.1 (2022-10-25)
1434

sdk/loadtestservice/Azure.Developer.LoadTesting/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ Use the returned token credential to authenticate the client.
4343

4444
## Key concepts
4545

46-
The following components make up the Azure Load Testing service. The Azure Load Test client library for C# allows you to interact with each of these components through the use of clients. There is a top level client `LoadTestingClient` with two sub-clients
46+
The following components make up the Azure Load Testing service. The Azure Load Test client library for C# allows you to interact with each of these components through the use of clients. There are two clients:
4747

4848
- `LoadTestAdministrationClient`
4949

50-
- `TestRunClient`
50+
- `LoadTestRunClient`
5151

52-
These sub-clients are used for managing and using different components of the service. For each method in both of these sub-clients there is a corresponding Async method in the same class, with the same implementation however enabling async functionalities. For example, if there is a method, `CreateOrUpdateTest` as a part of `LoadTestAdministrationClient` then there always exists one more function `CreateOrUpdateTestAsync` in the same client class.
52+
These clients are used for managing and using different components of the service. For each method in both of these sub-clients there is a corresponding Async method in the same class, with the same implementation however enabling async functionalities. For example, if there is a method, `CreateOrUpdateTest` as a part of `LoadTestAdministrationClient` then there always exists one more function `CreateOrUpdateTestAsync` in the same client class.
5353

5454
### Load Test Administration Client
5555

56-
The `LoadTestAdministration` sub-clients is used to administer and configure the load tests, app components and metrics.
56+
The `LoadTestAdministrationClient` client is used to administer and configure the load tests, app components and metrics.
5757

5858
#### Test
5959

@@ -73,7 +73,7 @@ During a load test, Azure Load Testing collects metrics about the test execution
7373

7474
### Test Run Client
7575

76-
The `TestRun` sub-clients 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.
76+
The `LoadTestRunClient` client 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.
7777

7878
### Data-Plane Endpoint
7979

0 commit comments

Comments
 (0)