PassFailMetric Class
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.
Pass fail metric.
public class PassFailMetric : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.PassFailMetric>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.PassFailMetric>
type PassFailMetric = class
interface IJsonModel<PassFailMetric>
interface IPersistableModel<PassFailMetric>
Public Class PassFailMetric
Implements IJsonModel(Of PassFailMetric), IPersistableModel(Of PassFailMetric)
- Inheritance
-
PassFailMetric
- Implements
Constructors
PassFailMetric() |
Initializes a new instance of PassFailMetric. |
Properties
Action |
Action taken after the threshold is met. Default is ‘continue’. |
ActualValue |
The actual value of the client metric for the test run. |
Aggregate |
The aggregation function to be applied on the client metric. Allowed functions
|
ClientMetric |
The client metric on which the criteria should be applied. |
Condition |
The comparison operator. Supported types ‘>’, ‘<’. |
RequestName |
Request name for which the Pass fail criteria has to be applied. |
Result |
Outcome of the test run. |
Value |
The value to compare with the client metric. Allowed values - ‘error : [0.0 , 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<PassFailMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PassFailMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PassFailMetric>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PassFailMetric>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PassFailMetric>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |