LoadTestingModelFactory.OptionalLoadTestConfiguration 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.
Configuration for quick load test.
public static Azure.Developer.LoadTesting.OptionalLoadTestConfiguration OptionalLoadTestConfiguration(Uri endpointUri = default, int? requestsPerSecond = default, int? maxResponseTimeInMs = default, int? virtualUsers = default, int? rampUpTime = default, TimeSpan? duration = default);
static member OptionalLoadTestConfiguration : Uri * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<TimeSpan> -> Azure.Developer.LoadTesting.OptionalLoadTestConfiguration
Public Shared Function OptionalLoadTestConfiguration (Optional endpointUri As Uri = Nothing, Optional requestsPerSecond As Nullable(Of Integer) = Nothing, Optional maxResponseTimeInMs As Nullable(Of Integer) = Nothing, Optional virtualUsers As Nullable(Of Integer) = Nothing, Optional rampUpTime As Nullable(Of Integer) = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing) As OptionalLoadTestConfiguration
Parameters
- endpointUri
- Uri
Test URL. Provide the complete HTTP URL. For example, https://contoso-app.azurewebsites.net/login.
Target throughput (requests per second). This may not be necessarily achieved. The actual throughput will be lower if the application is not capable of handling it.
Returns
A new OptionalLoadTestConfiguration instance for mocking.