TestPreferences Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestPreferences
- com.
Implements
public final class TestPreferences
implements JsonSerializable<TestPreferences>
Preferences for the test.
Constructor Summary
| Constructor | Description |
|---|---|
| TestPreferences() |
Creates an instance of Test |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
| Boolean |
isEnableAIErrorInsights()
Get the enable |
|
Test |
setEnableAIErrorInsights(Boolean enableAIErrorInsights)
Set the enable |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TestPreferences
public TestPreferences()
Creates an instance of TestPreferences class.
Method Details
fromJson
public static TestPreferences fromJson(JsonReader jsonReader)
Reads an instance of TestPreferences from the JsonReader.
Parameters:
Returns:
Throws:
isEnableAIErrorInsights
public Boolean isEnableAIErrorInsights()
Get the enableAIErrorInsights property: Enable or disable AI based insights on Test Run Errors.
Returns:
setEnableAIErrorInsights
public TestPreferences setEnableAIErrorInsights(Boolean enableAIErrorInsights)
Set the enableAIErrorInsights property: Enable or disable AI based insights on Test Run Errors.
Parameters:
Returns: