TestInputArtifacts Class

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

Implements

public final class TestInputArtifacts
implements JsonSerializable<TestInputArtifacts>

The input artifacts for the test.

Method Summary

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

Reads an instance of TestInputArtifacts from the JsonReader.

List<TestFileInfo> getAdditionalFileInfo()

Get the additionalFileInfo property: Additional supported files for the test run.

TestFileInfo getConfigFileInfo()

Get the configFileInfo property: The load test YAML file that contains the the test configuration.

TestFileInfo getInputArtifactsZipFileInfo()

Get the inputArtifactsZipFileInfo property: The zip file with all input artifacts.

TestFileInfo getTestScriptFileInfo()

Get the testScriptFileInfo property: The test script file for the test run.

TestFileInfo getUrlTestConfigFileInfo()

Get the urlTestConfigFileInfo property: The config json file for url based test.

TestFileInfo getUserPropertyFileInfo()

Get the userPropertyFileInfo property: The user properties file.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static TestInputArtifacts fromJson(JsonReader jsonReader)

Reads an instance of TestInputArtifacts from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestInputArtifacts 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 TestInputArtifacts.

getAdditionalFileInfo

public List<TestFileInfo> getAdditionalFileInfo()

Get the additionalFileInfo property: Additional supported files for the test run.

Returns:

the additionalFileInfo value.

getConfigFileInfo

public TestFileInfo getConfigFileInfo()

Get the configFileInfo property: The load test YAML file that contains the the test configuration.

Returns:

the configFileInfo value.

getInputArtifactsZipFileInfo

public TestFileInfo getInputArtifactsZipFileInfo()

Get the inputArtifactsZipFileInfo property: The zip file with all input artifacts.

Returns:

the inputArtifactsZipFileInfo value.

getTestScriptFileInfo

public TestFileInfo getTestScriptFileInfo()

Get the testScriptFileInfo property: The test script file for the test run.

Returns:

the testScriptFileInfo value.

getUrlTestConfigFileInfo

public TestFileInfo getUrlTestConfigFileInfo()

Get the urlTestConfigFileInfo property: The config json file for url based test.

Returns:

the urlTestConfigFileInfo value.

getUserPropertyFileInfo

public TestFileInfo getUserPropertyFileInfo()

Get the userPropertyFileInfo property: The user properties file.

Returns:

the userPropertyFileInfo value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to