Share via


OptionalLoadTestConfiguration Class

Definition

Configuration for quick load test.

public class OptionalLoadTestConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.OptionalLoadTestConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.OptionalLoadTestConfiguration>
type OptionalLoadTestConfiguration = class
    interface IJsonModel<OptionalLoadTestConfiguration>
    interface IPersistableModel<OptionalLoadTestConfiguration>
Public Class OptionalLoadTestConfiguration
Implements IJsonModel(Of OptionalLoadTestConfiguration), IPersistableModel(Of OptionalLoadTestConfiguration)
Inheritance
OptionalLoadTestConfiguration
Implements

Constructors

OptionalLoadTestConfiguration()

Initializes a new instance of OptionalLoadTestConfiguration.

Properties

Duration

Test run duration in seconds.

EndpointUri

Test URL. Provide the complete HTTP URL. For example, https://contoso-app.azurewebsites.net/login.

MaxResponseTimeInMs

Maximum response time in milliseconds of the API/endpoint.

RampUpTime

Ramp up time in seconds.

RequestsPerSecond

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.

VirtualUsers

No of concurrent virtual users.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OptionalLoadTestConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OptionalLoadTestConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OptionalLoadTestConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OptionalLoadTestConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OptionalLoadTestConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to