TestRunOutput interface
Load test run model
Properties
| auto |
Auto stop criteria for a test. This will automatically stop a load test if the error percentage is high for a certain time window. |
| certificate | Certificates metadata |
| created |
The user that created. |
| created |
The type of the entity that created the test run. (E.x. User, ScheduleTrigger, etc). Possible values: "User", "ScheduledTrigger", "AzurePipelines", "GitHubWorkflows" |
| created |
The URI pointing to the entity that created the test run. |
| created |
The creation datetime(RFC 3339 literal format). |
| debug |
Enable or disable debug level logging. True if debug logs are enabled for the test run. False otherwise |
| description | The test run description. |
| display |
Display name of a testRun. |
| duration | Test run duration in milliseconds. |
| end |
The test run end DateTime(RFC 3339 literal format). |
| environment |
Environment variables which are defined as a set of <name,value> pairs. |
| error |
Error details if there is any failure in load test run |
| estimated |
Estimated virtual user hours for the test run. |
| executed |
Test run initiated time. This is legacy, new developments should use createdDateTime. |
| execution |
The test run execution end DateTime(RFC 3339 literal format). |
| execution |
The test run execution start DateTime(RFC 3339 literal format). |
| kind | Type of test. Possible values: "URL", "JMX", "Locust" |
| last |
The user that last modified. |
| last |
The last Modified datetime(RFC 3339 literal format). |
| load |
The load test configuration. |
| pass |
Pass fail criteria for a test. |
| portal |
Portal url. |
| public |
Inject load test engines without deploying public IP for outbound access |
| regional |
Regional statistics. Key is the Azure region name and value is the test run statistics. The region name should of format accepted by ARM, and should be a region supported by Azure Load Testing. For example, East US should be passed as "eastus". The region name must match one of the strings in the "Name" column returned from running the "az account list-locations -o table" Azure CLI command. |
| request |
Request data collection level for test run Possible values: "NONE", "ERRORS" |
| secrets | Secrets can be stored in an Azure Key Vault or any other secret store. If the secret is stored in an Azure Key Vault, the value should be the secret identifier and the type should be AKV_SECRET_URI. If the secret is stored elsewhere, the secret value should be provided directly and the type should be SECRET_VALUE. |
| start |
The test run start DateTime(RFC 3339 literal format). |
| status | The test run status. Possible values: "ACCEPTED", "NOTSTARTED", "PROVISIONING", "PROVISIONED", "CONFIGURING", "CONFIGURED", "EXECUTING", "EXECUTED", "DEPROVISIONING", "DEPROVISIONED", "DONE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATION_SUCCESS", "VALIDATION_FAILURE" |
| subnet |
Subnet ID on which the load test instances should run. |
| test |
Collection of test run artifacts |
| test |
Associated test Id. |
| test |
Test result for pass/Fail criteria used during the test run. Possible values: "PASSED", "NOT_APPLICABLE", "FAILED" |
| test |
Unique test run identifier for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. |
| test |
Test run statistics. Key is the sampler name and value is the set of statistics for performance metrics like response time, throughput, etc. from the load test run. The sampler name is the same as the name mentioned in the test script. Sampler name "Total" represents the aggregated statistics of all the samplers. |
| virtual |
Virtual user hours consumed by the test run. |
| virtual |
Number of virtual users, for which test has been run. |
Property Details
autoStopCriteria
Auto stop criteria for a test. This will automatically stop a load test if the error percentage is high for a certain time window.
autoStopCriteria?: AutoStopCriteriaOutput
Property Value
certificate
Certificates metadata
certificate?: CertificateMetadataOutput
Property Value
createdBy
The user that created.
createdBy?: string
Property Value
string
createdByType
The type of the entity that created the test run. (E.x. User, ScheduleTrigger, etc).
Possible values: "User", "ScheduledTrigger", "AzurePipelines", "GitHubWorkflows"
createdByType?: string
Property Value
string
createdByUri
The URI pointing to the entity that created the test run.
createdByUri?: string
Property Value
string
createdDateTime
The creation datetime(RFC 3339 literal format).
createdDateTime?: string
Property Value
string
debugLogsEnabled
Enable or disable debug level logging. True if debug logs are enabled for the test run. False otherwise
debugLogsEnabled?: boolean
Property Value
boolean
description
The test run description.
description?: string
Property Value
string
displayName
Display name of a testRun.
displayName?: string
Property Value
string
duration
Test run duration in milliseconds.
duration?: number
Property Value
number
endDateTime
The test run end DateTime(RFC 3339 literal format).
endDateTime?: string
Property Value
string
environmentVariables
Environment variables which are defined as a set of <name,value> pairs.
environmentVariables?: Record<string, string>
Property Value
Record<string, string>
errorDetails
Error details if there is any failure in load test run
errorDetails?: ErrorDetailsOutput[]
Property Value
estimatedVirtualUserHours
Estimated virtual user hours for the test run.
estimatedVirtualUserHours?: number
Property Value
number
executedDateTime
Test run initiated time. This is legacy, new developments should use createdDateTime.
executedDateTime?: string
Property Value
string
executionEndDateTime
The test run execution end DateTime(RFC 3339 literal format).
executionEndDateTime?: string
Property Value
string
executionStartDateTime
The test run execution start DateTime(RFC 3339 literal format).
executionStartDateTime?: string
Property Value
string
kind
Type of test.
Possible values: "URL", "JMX", "Locust"
kind?: string
Property Value
string
lastModifiedBy
The user that last modified.
lastModifiedBy?: string
Property Value
string
lastModifiedDateTime
The last Modified datetime(RFC 3339 literal format).
lastModifiedDateTime?: string
Property Value
string
loadTestConfiguration
The load test configuration.
loadTestConfiguration?: LoadTestConfigurationOutput
Property Value
passFailCriteria
Pass fail criteria for a test.
passFailCriteria?: PassFailCriteriaOutput
Property Value
portalUrl
Portal url.
portalUrl?: string
Property Value
string
publicIPDisabled
Inject load test engines without deploying public IP for outbound access
publicIPDisabled?: boolean
Property Value
boolean
regionalStatistics
Regional statistics. Key is the Azure region name and value is the test run statistics. The region name should of format accepted by ARM, and should be a region supported by Azure Load Testing. For example, East US should be passed as "eastus". The region name must match one of the strings in the "Name" column returned from running the "az account list-locations -o table" Azure CLI command.
regionalStatistics?: Record<string, TestRunStatisticsOutput>
Property Value
Record<string, TestRunStatisticsOutput>
requestDataLevel
Request data collection level for test run
Possible values: "NONE", "ERRORS"
requestDataLevel?: string
Property Value
string
secrets
Secrets can be stored in an Azure Key Vault or any other secret store. If the secret is stored in an Azure Key Vault, the value should be the secret identifier and the type should be AKV_SECRET_URI. If the secret is stored elsewhere, the secret value should be provided directly and the type should be SECRET_VALUE.
secrets?: Record<string, SecretOutput>
Property Value
Record<string, SecretOutput>
startDateTime
The test run start DateTime(RFC 3339 literal format).
startDateTime?: string
Property Value
string
status
The test run status.
Possible values: "ACCEPTED", "NOTSTARTED", "PROVISIONING", "PROVISIONED", "CONFIGURING", "CONFIGURED", "EXECUTING", "EXECUTED", "DEPROVISIONING", "DEPROVISIONED", "DONE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATION_SUCCESS", "VALIDATION_FAILURE"
status?: string
Property Value
string
subnetId
Subnet ID on which the load test instances should run.
subnetId?: string
Property Value
string
testArtifacts
Collection of test run artifacts
testArtifacts?: TestRunArtifactsOutput
Property Value
testId
Associated test Id.
testId?: string
Property Value
string
testResult
Test result for pass/Fail criteria used during the test run.
Possible values: "PASSED", "NOT_APPLICABLE", "FAILED"
testResult?: string
Property Value
string
testRunId
Unique test run identifier for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.
testRunId: string
Property Value
string
testRunStatistics
Test run statistics. Key is the sampler name and value is the set of statistics for performance metrics like response time, throughput, etc. from the load test run. The sampler name is the same as the name mentioned in the test script. Sampler name "Total" represents the aggregated statistics of all the samplers.
testRunStatistics?: Record<string, TestRunStatisticsOutput>
Property Value
Record<string, TestRunStatisticsOutput>
virtualUserHours
Virtual user hours consumed by the test run.
virtualUserHours?: number
Property Value
number
virtualUsers
Number of virtual users, for which test has been run.
virtualUsers?: number
Property Value
number