Condividi tramite


LoadTestAdministrationClient.GenerateTestPlanRecommendationsAsync Method

Definition

Overloads

Name Description
GenerateTestPlanRecommendationsAsync(WaitUntil, String, RequestContext)

Generate AI Recommendations to author a load test plan using the uploaded browser recording file.

GenerateTestPlanRecommendationsAsync(WaitUntil, String, CancellationToken)

Generate AI Recommendations to author a load test plan using the uploaded browser recording file.

GenerateTestPlanRecommendationsAsync(WaitUntil, String, RequestContext)

Source:
LoadTestAdministrationClient.cs

Generate AI Recommendations to author a load test plan using the uploaded browser recording file.

public virtual System.Threading.Tasks.Task<Azure.Operation<BinaryData>> GenerateTestPlanRecommendationsAsync(Azure.WaitUntil waitUntil, string testId, Azure.RequestContext context);
abstract member GenerateTestPlanRecommendationsAsync : Azure.WaitUntil * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Operation<BinaryData>>
override this.GenerateTestPlanRecommendationsAsync : Azure.WaitUntil * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Operation<BinaryData>>
Public Overridable Function GenerateTestPlanRecommendationsAsync (waitUntil As WaitUntil, testId As String, context As RequestContext) As Task(Of Operation(Of BinaryData))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

testId
String

Unique test identifier for the load test, 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

testId is null.

testId is an empty string, and was expected to be non-empty.

Applies to

GenerateTestPlanRecommendationsAsync(WaitUntil, String, CancellationToken)

Source:
LoadTestAdministrationClient.cs

Generate AI Recommendations to author a load test plan using the uploaded browser recording file.

public virtual System.Threading.Tasks.Task<Azure.Operation<Azure.Developer.LoadTesting.LoadTest>> GenerateTestPlanRecommendationsAsync(Azure.WaitUntil waitUntil, string testId, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateTestPlanRecommendationsAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation<Azure.Developer.LoadTesting.LoadTest>>
override this.GenerateTestPlanRecommendationsAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation<Azure.Developer.LoadTesting.LoadTest>>
Public Overridable Function GenerateTestPlanRecommendationsAsync (waitUntil As WaitUntil, testId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Operation(Of LoadTest))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

testId
String

Unique test identifier for the load test, 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

testId is null.

testId is an empty string, and was expected to be non-empty.

Applies to