test_run_files
Creates, updates, deletes, gets or lists a test_run_files resource.
Overview
| Name | test_run_files |
| Type | Resource |
| Id | azure.developer_loadtesting.test_run_files |
Fields
The following fields are returned by SELECT queries:
- get_test_run_file
| Name | Datatype | Description |
|---|---|---|
expireDateTime | string (date-time) | Expiry time of the file (RFC 3339 literal format). |
fileName | string | Name of the file. Required. |
fileType | string | File type. Known values are: "JMX_FILE", "USER_PROPERTIES", "ADDITIONAL_ARTIFACTS", "ZIPPED_ARTIFACTS", "URL_TEST_CONFIG", "TEST_SCRIPT", "BROWSER_RECORDING", and "TEST_PLAN_RECOMMENDATIONS". (JMX_FILE, USER_PROPERTIES, ADDITIONAL_ARTIFACTS, ZIPPED_ARTIFACTS, URL_TEST_CONFIG, TEST_SCRIPT, BROWSER_RECORDING, TEST_PLAN_RECOMMENDATIONS) |
url | string | File URL. |
validationFailureDetails | string | Validation failure error details. |
validationStatus | string | Validation status of the file. Known values are: "NOT_VALIDATED", "VALIDATION_SUCCESS", "VALIDATION_FAILURE", "VALIDATION_INITIATED", and "VALIDATION_NOT_REQUIRED". (NOT_VALIDATED, VALIDATION_SUCCESS, VALIDATION_FAILURE, VALIDATION_INITIATED, VALIDATION_NOT_REQUIRED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_test_run_file | select | test_run_id, file_name, endpoint | Get test run file by file name. Get test run file by file name. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
file_name | string | Name of the file. Required. |
test_run_id | string | Unique test run identifier for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. Required. |
SELECT examples
- get_test_run_file
Get test run file by file name. Get test run file by file name.
SELECT
expireDateTime,
fileName,
fileType,
url,
validationFailureDetails,
validationStatus
FROM azure.developer_loadtesting.test_run_files
WHERE test_run_id = '{{ test_run_id }}' -- required
AND file_name = '{{ file_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;