你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestConfiguration Class

Definition

Configurations for the load test.

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

Constructors

LoadTestConfiguration()

Initializes a new instance of LoadTestConfiguration.

Properties

EngineInstances

The number of engine instances to execute load test. Supported values are in range of 1-400. Required for creating a new test.

OptionalLoadTestConfiguration

Configuration for quick load test.

QuickStartTest

If true, optionalLoadTestConfig is required and JMX script for the load test is not required to upload.

RegionalLoadTestConfiguration

Region distribution configuration for the load test.

SplitAllCsvs

If false, Azure Load Testing copies and processes your input files unmodified across all test engine instances. If true, Azure Load Testing splits the CSV input data evenly across all engine instances. If you provide multiple CSV files, each file will be split evenly.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LoadTestConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LoadTestConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LoadTestConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LoadTestConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LoadTestConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to