Condividi tramite


LoadTestRunClient Class

Definition

The LoadTestRunClient.

public class LoadTestRunClient
type LoadTestRunClient = class
Public Class LoadTestRunClient
Inheritance
LoadTestRunClient

Constructors

Name Description
LoadTestRunClient()

Initializes a new instance of LoadTestRunClient for mocking.

LoadTestRunClient(Uri, TokenCredential, LoadTestingClientOptions)

Initializes a new instance of LoadTestRunClient.

LoadTestRunClient(Uri, TokenCredential)

Initializes a new instance of LoadTestRunClient.

Properties

Name Description
Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

Name Description
BeginTestProfileRun(WaitUntil, String, RequestContent, Nullable<TimeSpan>, RequestContext)

Create and start a new test profile run with the given name.

BeginTestProfileRunAsync(WaitUntil, String, RequestContent, Nullable<TimeSpan>, RequestContext)

Create and start a new test profile run with the given name.

BeginTestRun(WaitUntil, String, RequestContent, Nullable<TimeSpan>, String, RequestContext)

Create and start a new test run with the given name.

BeginTestRunAsync(WaitUntil, String, RequestContent, Nullable<TimeSpan>, String, RequestContext)

Create and start a new test run with the given name.

CreateOrUpdateAppComponents(String, RequestContent, RequestContext)

[Protocol Method] Add an app component to a test run by providing the resource Id, name and type.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
CreateOrUpdateAppComponentsAsync(String, RequestContent, RequestContext)

[Protocol Method] Add an app component to a test run by providing the resource Id, name and type.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
CreateOrUpdateServerMetricsConfig(String, RequestContent, RequestContext)

[Protocol Method] Configure server metrics for a test run

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
CreateOrUpdateServerMetricsConfigAsync(String, RequestContent, RequestContext)

[Protocol Method] Configure server metrics for a test run

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTestProfileRun(String, CancellationToken)

Delete an existing load test profile run by providing the test profile run Id.

DeleteTestProfileRun(String, RequestContext)

[Protocol Method] Delete an existing load test profile run by providing the test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTestProfileRunAsync(String, CancellationToken)

Delete an existing load test profile run by providing the test profile run Id.

DeleteTestProfileRunAsync(String, RequestContext)

[Protocol Method] Delete an existing load test profile run by providing the test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTestRun(String, CancellationToken)

Delete an existing load test run by providing the testRunId.

DeleteTestRun(String, RequestContext)

[Protocol Method] Delete an existing load test run by providing the testRunId.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTestRunAsync(String, CancellationToken)

Delete an existing load test run by providing the testRunId.

DeleteTestRunAsync(String, RequestContext)

[Protocol Method] Delete an existing load test run by providing the testRunId.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GenerateTestRunInsights(WaitUntil, String, CancellationToken)

Generate insights for the test run.

GenerateTestRunInsights(WaitUntil, String, RequestContext)

Generate insights for the test run.

GenerateTestRunInsightsAsync(WaitUntil, String, CancellationToken)

Generate insights for the test run.

GenerateTestRunInsightsAsync(WaitUntil, String, RequestContext)

Generate insights for the test run.

GetAppComponents(String, CancellationToken)

Get associated app component (collection of azure resources) for the given test run.

GetAppComponents(String, RequestContext)

[Protocol Method] Get associated app component (collection of azure resources) for the given test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetAppComponentsAsync(String, CancellationToken)

Get associated app component (collection of azure resources) for the given test run.

GetAppComponentsAsync(String, RequestContext)

[Protocol Method] Get associated app component (collection of azure resources) for the given test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetLatestTestRunInsights(String, CancellationToken)

Get the latest insights for the test run.

GetLatestTestRunInsights(String, RequestContext)

[Protocol Method] Get the latest insights for the test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetLatestTestRunInsightsAsync(String, CancellationToken)

Get the latest insights for the test run.

GetLatestTestRunInsightsAsync(String, RequestContext)

[Protocol Method] Get the latest insights for the test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricDefinitions(String, String, CancellationToken)

List the metric definitions for a load test run.

GetMetricDefinitions(String, String, RequestContext)

[Protocol Method] List the metric definitions for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricDefinitionsAsync(String, String, CancellationToken)

List the metric definitions for a load test run.

GetMetricDefinitionsAsync(String, String, RequestContext)

[Protocol Method] List the metric definitions for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricDimensionValues(String, String, String, String, String, Nullable<TimeGrain>, CancellationToken)

List the dimension values for the given metric dimension name.

GetMetricDimensionValues(String, String, String, String, String, String, RequestContext)

[Protocol Method] List the dimension values for the given metric dimension name.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricDimensionValuesAsync(String, String, String, String, String, Nullable<TimeGrain>, CancellationToken)

List the dimension values for the given metric dimension name.

GetMetricDimensionValuesAsync(String, String, String, String, String, String, RequestContext)

[Protocol Method] List the dimension values for the given metric dimension name.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricNamespaces(String, CancellationToken)

List the metric namespaces for a load test run.

GetMetricNamespaces(String, RequestContext)

[Protocol Method] List the metric namespaces for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricNamespacesAsync(String, CancellationToken)

List the metric namespaces for a load test run.

GetMetricNamespacesAsync(String, RequestContext)

[Protocol Method] List the metric namespaces for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetrics(String, String, String, String, MetricsFilters, String, Nullable<TimeGrain>, CancellationToken)

List the metric values for a load test run.

GetMetrics(String, String, String, String, RequestContent, String, String, RequestContext)

[Protocol Method] List the metric values for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetMetricsAsync(String, String, String, String, MetricsFilters, String, Nullable<TimeGrain>, CancellationToken)

List the metric values for a load test run.

GetMetricsAsync(String, String, String, String, RequestContent, String, String, RequestContext)

[Protocol Method] List the metric values for a load test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetServerMetricsConfig(String, CancellationToken)

Get associated server metrics configuration for the given test run.

GetServerMetricsConfig(String, RequestContext)

[Protocol Method] Get associated server metrics configuration for the given test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetServerMetricsConfigAsync(String, CancellationToken)

Get associated server metrics configuration for the given test run.

GetServerMetricsConfigAsync(String, RequestContext)

[Protocol Method] Get associated server metrics configuration for the given test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestProfileRun(String, CancellationToken)

Get test profile run details by test profile run Id.

GetTestProfileRun(String, RequestContext)

[Protocol Method] Get test profile run details by test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestProfileRunAsync(String, CancellationToken)

Get test profile run details by test profile run Id.

GetTestProfileRunAsync(String, RequestContext)

[Protocol Method] Get test profile run details by test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestProfileRuns(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

List test profile runs.

GetTestProfileRuns(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, RequestContext)

[Protocol Method] List test profile runs.

GetTestProfileRunsAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

List test profile runs.

GetTestProfileRunsAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, RequestContext)

[Protocol Method] List test profile runs.

GetTestRun(String, CancellationToken)

Get test run details by test run Id.

GetTestRun(String, RequestContext)

[Protocol Method] Get test run details by test run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestRunAsync(String, CancellationToken)

Get test run details by test run Id.

GetTestRunAsync(String, RequestContext)

[Protocol Method] Get test run details by test run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestRunFile(String, String, CancellationToken)

Get test run file by file name.

GetTestRunFile(String, String, RequestContext)

[Protocol Method] Get test run file by file name.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestRunFileAsync(String, String, CancellationToken)

Get test run file by file name.

GetTestRunFileAsync(String, String, RequestContext)

[Protocol Method] Get test run file by file name.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestRuns(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Get all test runs for the given filters.

GetTestRuns(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, RequestContext)

[Protocol Method] Get all test runs for the given filters.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetTestRunsAsync(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Get all test runs for the given filters.

GetTestRunsAsync(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, RequestContext)

[Protocol Method] Get all test runs for the given filters.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
StopTestProfileRun(String, CancellationToken)

Stop test profile run for the given test profile run Id.

StopTestProfileRun(String, RequestContext)

[Protocol Method] Stop test profile run for the given test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
StopTestProfileRunAsync(String, CancellationToken)

Stop test profile run for the given test profile run Id.

StopTestProfileRunAsync(String, RequestContext)

[Protocol Method] Stop test profile run for the given test profile run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
StopTestRun(String, CancellationToken)

Stop test run by test run Id.

StopTestRun(String, RequestContext)

[Protocol Method] Stop test run by test run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
StopTestRunAsync(String, CancellationToken)

Stop test run by test run Id.

StopTestRunAsync(String, RequestContext)

[Protocol Method] Stop test run by test run Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UpdateLatestTestRunInsights(String, RequestContent, RequestContext)

[Protocol Method] Update the latest insights for the test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UpdateLatestTestRunInsightsAsync(String, RequestContent, RequestContext)

[Protocol Method] Update the latest insights for the test run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

Applies to