LoadTestAdministrationClient.GenerateTestPlanRecommendations 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 |
|---|---|
| GenerateTestPlanRecommendations(WaitUntil, String, RequestContext) |
Generate AI Recommendations to author a load test plan using the uploaded browser recording file. |
| GenerateTestPlanRecommendations(WaitUntil, String, CancellationToken) |
Generate AI Recommendations to author a load test plan using the uploaded browser recording file. |
GenerateTestPlanRecommendations(WaitUntil, String, RequestContext)
Generate AI Recommendations to author a load test plan using the uploaded browser recording file.
public virtual Azure.Operation<BinaryData> GenerateTestPlanRecommendations(Azure.WaitUntil waitUntil, string testId, Azure.RequestContext context);
abstract member GenerateTestPlanRecommendations : Azure.WaitUntil * string * Azure.RequestContext -> Azure.Operation<BinaryData>
override this.GenerateTestPlanRecommendations : Azure.WaitUntil * string * Azure.RequestContext -> Azure.Operation<BinaryData>
Public Overridable Function GenerateTestPlanRecommendations (waitUntil As WaitUntil, testId As String, context As RequestContext) As 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
GenerateTestPlanRecommendations(WaitUntil, String, CancellationToken)
Generate AI Recommendations to author a load test plan using the uploaded browser recording file.
public virtual Azure.Operation<Azure.Developer.LoadTesting.LoadTest> GenerateTestPlanRecommendations(Azure.WaitUntil waitUntil, string testId, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateTestPlanRecommendations : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.Operation<Azure.Developer.LoadTesting.LoadTest>
override this.GenerateTestPlanRecommendations : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.Operation<Azure.Developer.LoadTesting.LoadTest>
Public Overridable Function GenerateTestPlanRecommendations (waitUntil As WaitUntil, testId As String, Optional cancellationToken As CancellationToken = Nothing) As 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.