Skip to main content

latest_test_run_insights

Creates, updates, deletes, gets or lists a latest_test_run_insights resource.

Overview

Namelatest_test_run_insights
TypeResource
Idazure.developer_loadtesting.latest_test_run_insights

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
columnsarrayThe columns of the insights.
rowsobjectThe rows of the insights.
statusstringThe status of the insights. Known values are: "NotStarted", "Running", "Succeeded", "Failed", and "Canceled". (NotStarted, Running, Succeeded, Failed, Canceled)
versionintegerThe version of the insights.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_latest_test_run_insightsselecttest_run_id, endpointGet the latest insights for the test run. Get the latest insights for the test run.
update_latest_test_run_insightsupdatetest_run_id, endpointUpdate the latest insights for the test run. Update the latest insights for the test run.

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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
test_run_idstringUnique name for the load test run, must contain only lower-case alphabetic, numeric, underscore or hyphen characters. Required.

SELECT examples

Get the latest insights for the test run. Get the latest insights for the test run.

SELECT
columns,
rows,
status,
version
FROM azure.developer_loadtesting.latest_test_run_insights
WHERE test_run_id = '{{ test_run_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

UPDATE examples

Update the latest insights for the test run. Update the latest insights for the test run.

UPDATE azure.developer_loadtesting.latest_test_run_insights
SET
rows = '{{ rows }}'
WHERE
test_run_id = '{{ test_run_id }}' --required
AND endpoint = '{{ endpoint }}' --required
RETURNING
columns,
rows,
status,
version;