TestRun interface
Load test run model
Properties
| certificate | Certificates metadata |
| created |
The user that created. |
| created |
The creation datetime(ISO 8601 literal format). |
| description | The test run description. |
| display |
Display name of a testRun. |
| duration | Test run duration in milliseconds. |
| end |
The test run end DateTime(ISO 8601 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 |
| executed |
Test run initiated time. |
| last |
The user that last modified. |
| last |
The last Modified datetime(ISO 8601 literal format). |
| load |
The load test configuration. |
| pass |
Pass fail criteria for a test. |
| portal |
Portal url. |
| 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(ISO 8601 literal format). |
| status | The test run status. |
| 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. |
| test |
Unique test run name as identifier |
| test |
Test run statistics. |
| virtual |
Number of virtual users, for which test has been run. |
Property Details
certificate
createdBy
The user that created.
createdBy?: string
Property Value
string
createdDateTime
The creation datetime(ISO 8601 literal format).
createdDateTime?: string | Date
Property Value
string | Date
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(ISO 8601 literal format).
endDateTime?: string | Date
Property Value
string | Date
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?: ErrorDetails[]
Property Value
executedDateTime
Test run initiated time.
executedDateTime?: string | Date
Property Value
string | Date
lastModifiedBy
The user that last modified.
lastModifiedBy?: string
Property Value
string
lastModifiedDateTime
The last Modified datetime(ISO 8601 literal format).
lastModifiedDateTime?: string | Date
Property Value
string | Date
loadTestConfiguration
The load test configuration.
loadTestConfiguration?: LoadTestConfiguration
Property Value
passFailCriteria
portalUrl
Portal url.
portalUrl?: 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, Secret>
Property Value
Record<string, Secret>
startDateTime
The test run start DateTime(ISO 8601 literal format).
startDateTime?: string | Date
Property Value
string | Date
status
The test run status.
status?: "VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "FAILED" | "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED"
Property Value
"VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "FAILED" | "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED"
subnetId
Subnet ID on which the load test instances should run.
subnetId?: string
Property Value
string
testArtifacts
testId
Associated test Id.
testId?: string
Property Value
string
testResult
Test result for pass/Fail criteria used during the test run.
testResult?: "PASSED" | "NOT_APPLICABLE" | "FAILED"
Property Value
"PASSED" | "NOT_APPLICABLE" | "FAILED"
testRunId
Unique test run name as identifier
testRunId?: string
Property Value
string
testRunStatistics
Test run statistics.
testRunStatistics?: Record<string, TestRunStatistics>
Property Value
Record<string, TestRunStatistics>
virtualUsers
Number of virtual users, for which test has been run.
virtualUsers?: number
Property Value
number