Class MockLatency

Namespace
Kuestenlogik.Bowire.Mocking
Assembly
Kuestenlogik.Bowire.dll

A delay shape (#1101): fixed (ValueMs), uniform (MinMs..MaxMs), normal (MeanMs, StdDevMs) or exponential (MeanMs).

public sealed class MockLatency
Inheritance
MockLatency
Inherited Members

Constructors

MockLatency()

public MockLatency()

Properties

Distribution

fixed (default), uniform, normal or exponential.

[JsonPropertyName("distribution")]
public string? Distribution { get; set; }

Property Value

string

MaxMs

Upper bound for uniform, inclusive.

[JsonPropertyName("maxMs")]
public int? MaxMs { get; set; }

Property Value

int?

MeanMs

Mean for normal and exponential.

[JsonPropertyName("meanMs")]
public int? MeanMs { get; set; }

Property Value

int?

MinMs

Lower bound for uniform.

[JsonPropertyName("minMs")]
public int? MinMs { get; set; }

Property Value

int?

StdDevMs

Standard deviation for normal.

[JsonPropertyName("stdDevMs")]
public int? StdDevMs { get; set; }

Property Value

int?

ValueMs

Delay for fixed.

[JsonPropertyName("valueMs")]
public int? ValueMs { get; set; }

Property Value

int?