LoadTestRunClient.GetLatestTestRunInsights Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetLatestTestRunInsights(String, RequestContext) |
[Protocol Method] Get the latest insights for the test run.
|
| GetLatestTestRunInsights(String, CancellationToken) |
Get the latest insights for the test run. |
GetLatestTestRunInsights(String, RequestContext)
- Source:
- LoadTestRunClient.cs
[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.
public virtual Azure.Response GetLatestTestRunInsights(string testRunId, Azure.RequestContext context);
abstract member GetLatestTestRunInsights : string * Azure.RequestContext -> Azure.Response
override this.GetLatestTestRunInsights : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetLatestTestRunInsights (testRunId As String, context As RequestContext) As Response
Parameters
- testRunId
- String
Unique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
testRunId is null.
testRunId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetLatestTestRunInsights(String, CancellationToken)
- Source:
- LoadTestRunClient.cs
Get the latest insights for the test run.
public virtual Azure.Response<Azure.Developer.LoadTesting.TestRunInsights> GetLatestTestRunInsights(string testRunId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLatestTestRunInsights : string * System.Threading.CancellationToken -> Azure.Response<Azure.Developer.LoadTesting.TestRunInsights>
override this.GetLatestTestRunInsights : string * System.Threading.CancellationToken -> Azure.Response<Azure.Developer.LoadTesting.TestRunInsights>
Public Overridable Function GetLatestTestRunInsights (testRunId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TestRunInsights)
Parameters
- testRunId
- String
Unique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
testRunId is null.
testRunId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.