TestRunDetail Class

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

Implements

public final class TestRunDetail
implements JsonSerializable<TestRunDetail>

Details of a particular test run for a test profile run.

Method Summary

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

Reads an instance of TestRunDetail from the JsonReader.

String getConfigurationId()

Get the configurationId property: ID of the configuration on which the test ran.

Map<String,String> getProperties()

Get the properties property: Key value pair of extra properties associated with the test run.

TestRunStatus getStatus()

Get the status property: Status of the test run.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static TestRunDetail fromJson(JsonReader jsonReader)

Reads an instance of TestRunDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getConfigurationId

public String getConfigurationId()

Get the configurationId property: ID of the configuration on which the test ran.

Returns:

the configurationId value.

getProperties

public Map<String,String> getProperties()

Get the properties property: Key value pair of extra properties associated with the test run.

Returns:

the properties value.

getStatus

public TestRunStatus getStatus()

Get the status property: Status of the test run.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to