TestRunStatistics Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.TestRunStatistics

Implements

public final class TestRunStatistics
implements JsonSerializable<TestRunStatistics>

Test run statistics.

Method Summary

Modifier and Type Method and Description
static TestRunStatistics fromJson(JsonReader jsonReader)

Reads an instance of TestRunStatistics from the JsonReader.

Double getErrorCount()

Get the errorCount property: Error count.

Double getErrorPercentage()

Get the errorPercentage property: Error percentage.

Double getMaxResponseTime()

Get the maxResponseTime property: Max response time.

Double getMeanResponseTime()

Get the meanResponseTime property: Mean response time.

Double getMedianResponseTime()

Get the medianResponseTime property: Median response time.

Double getMinResponseTime()

Get the minResponseTime property: Minimum response time.

Double getPercentile75ResponseTime()

Get the percentile75ResponseTime property: 75 percentile response time.

Double getPercentile90ResponseTime()

Get the percentile90ResponseTime property: 90 percentile response time.

Double getPercentile95ResponseTime()

Get the percentile95ResponseTime property: 95 percentile response time.

Double getPercentile96ResponseTime()

Get the percentile96ResponseTime property: 96 percentile response time.

Double getPercentile97ResponseTime()

Get the percentile97ResponseTime property: 97 percentile response time.

Double getPercentile98ResponseTime()

Get the percentile98ResponseTime property: 98 percentile response time.

Double getPercentile9999ResponseTime()

Get the percentile9999ResponseTime property: 99.99 percentile response time.

Double getPercentile999ResponseTime()

Get the percentile999ResponseTime property: 99.9 percentile response time.

Double getPercentile99ResponseTime()

Get the percentile99ResponseTime property: 99 percentile response time.

Double getReceivedKBytesPerSec()

Get the receivedKBytesPerSec property: Received network bytes.

Double getSampleCount()

Get the sampleCount property: Sampler count.

Double getSentKBytesPerSec()

Get the sentKBytesPerSec property: Send network bytes.

Double getThroughput()

Get the throughput property: Throughput.

String getTransaction()

Get the transaction property: Transaction name.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static TestRunStatistics fromJson(JsonReader jsonReader)

Reads an instance of TestRunStatistics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestRunStatistics if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TestRunStatistics.

getErrorCount

public Double getErrorCount()

Get the errorCount property: Error count.

Returns:

the errorCount value.

getErrorPercentage

public Double getErrorPercentage()

Get the errorPercentage property: Error percentage.

Returns:

the errorPercentage value.

getMaxResponseTime

public Double getMaxResponseTime()

Get the maxResponseTime property: Max response time.

Returns:

the maxResponseTime value.

getMeanResponseTime

public Double getMeanResponseTime()

Get the meanResponseTime property: Mean response time.

Returns:

the meanResponseTime value.

getMedianResponseTime

public Double getMedianResponseTime()

Get the medianResponseTime property: Median response time.

Returns:

the medianResponseTime value.

getMinResponseTime

public Double getMinResponseTime()

Get the minResponseTime property: Minimum response time.

Returns:

the minResponseTime value.

getPercentile75ResponseTime

public Double getPercentile75ResponseTime()

Get the percentile75ResponseTime property: 75 percentile response time.

Returns:

the percentile75ResponseTime value.

getPercentile90ResponseTime

public Double getPercentile90ResponseTime()

Get the percentile90ResponseTime property: 90 percentile response time.

Returns:

the percentile90ResponseTime value.

getPercentile95ResponseTime

public Double getPercentile95ResponseTime()

Get the percentile95ResponseTime property: 95 percentile response time.

Returns:

the percentile95ResponseTime value.

getPercentile96ResponseTime

public Double getPercentile96ResponseTime()

Get the percentile96ResponseTime property: 96 percentile response time.

Returns:

the percentile96ResponseTime value.

getPercentile97ResponseTime

public Double getPercentile97ResponseTime()

Get the percentile97ResponseTime property: 97 percentile response time.

Returns:

the percentile97ResponseTime value.

getPercentile98ResponseTime

public Double getPercentile98ResponseTime()

Get the percentile98ResponseTime property: 98 percentile response time.

Returns:

the percentile98ResponseTime value.

getPercentile9999ResponseTime

public Double getPercentile9999ResponseTime()

Get the percentile9999ResponseTime property: 99.99 percentile response time.

Returns:

the percentile9999ResponseTime value.

getPercentile999ResponseTime

public Double getPercentile999ResponseTime()

Get the percentile999ResponseTime property: 99.9 percentile response time.

Returns:

the percentile999ResponseTime value.

getPercentile99ResponseTime

public Double getPercentile99ResponseTime()

Get the percentile99ResponseTime property: 99 percentile response time.

Returns:

the percentile99ResponseTime value.

getReceivedKBytesPerSec

public Double getReceivedKBytesPerSec()

Get the receivedKBytesPerSec property: Received network bytes.

Returns:

the receivedKBytesPerSec value.

getSampleCount

public Double getSampleCount()

Get the sampleCount property: Sampler count.

Returns:

the sampleCount value.

getSentKBytesPerSec

public Double getSentKBytesPerSec()

Get the sentKBytesPerSec property: Send network bytes.

Returns:

the sentKBytesPerSec value.

getThroughput

public Double getThroughput()

Get the throughput property: Throughput.

Returns:

the throughput value.

getTransaction

public String getTransaction()

Get the transaction property: Transaction name.

Returns:

the transaction value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to