Microsoft.LoadTestService (preview:2022-06-01)

2025/06/26 • 26 deleted methods

AppComponent_CreateOrUpdateAppComponents (removed)
Description Associate an App Component (Azure resource) to a test or test run.
Reference Link ¶

⚼ Request

PATCH:  /appcomponents/{name}
{
name: string ,
api-version: string ,
body:
{
resourceId: string ,
testId: string ,
testRunId: string ,
name: string ,
value: object ,
}
,
}

⚐ Response (200)

{
resourceId: string ,
testId: string ,
testRunId: string ,
name: string ,
value: object ,
}

⚐ Response (201)

{
resourceId: string ,
testId: string ,
testRunId: string ,
name: string ,
value: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
AppComponent_DeleteAppComponent (removed)
Description Delete an App Component.
Reference Link ¶

⚼ Request

DELETE:  /appcomponents/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
AppComponent_GetAppComponentByName (removed)
Description Get App Component details by App Component name.
Reference Link ¶

⚼ Request

GET:  /appcomponents/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
resourceId: string ,
testId: string ,
testRunId: string ,
name: string ,
value: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
AppComponent_GetAppComponent (removed)
Description Get App Components for a test or a test run by its name.
Reference Link ¶

⚼ Request

GET:  /appcomponents
{
testRunId: string ,
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
resourceId: string ,
testId: string ,
testRunId: string ,
name: string ,
value: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_CreateOrUpdateServerMetricsConfig (removed)
Description Configure server metrics for a test or test run
Reference Link ¶

⚼ Request

PATCH:  /serverMetricsConfig/{name}
{
name: string ,
api-version: string ,
body:
{
name: string ,
testId: string ,
testRunId: string ,
metrics: object ,
}
,
}

⚐ Response (200)

{
name: string ,
testId: string ,
testRunId: string ,
metrics: object ,
}

⚐ Response (201)

{
name: string ,
testId: string ,
testRunId: string ,
metrics: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_GetServerMetricsByName (removed)
Description Get server metrics configuration by its name.
Reference Link ¶

⚼ Request

GET:  /serverMetricsConfig/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
testId: string ,
testRunId: string ,
metrics: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_DeleteServerMetrics (removed)
Description Delete server metrics configuration by its name
Reference Link ¶

⚼ Request

DELETE:  /serverMetricsConfig/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_GetServerMetrics (removed)
Description Get server metrics configuration for a test or test run by its name.
Reference Link ¶

⚼ Request

GET:  /serverMetricsConfig
{
testRunId: string ,
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
name: string ,
testId: string ,
testRunId: string ,
metrics: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_GetServerDefaultMetrics (removed)
Description Get all default server metrics configuration for supported resource types.
Reference Link ¶

⚼ Request

GET:  /serverMetricsConfig/default
{
api-version: string ,
}

⚐ Response (200)

{
defaultMetrics: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
ServerMetrics_ListSupportedResourceType (removed)
Description Get all supported resource types for App Components(Azure resource types).
Reference Link ¶

⚼ Request

GET:  /serverMetricsConfig/supportedResourceTypes
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_CreateOrUpdateTest (removed)
Description Create a new test or Update an existing test.
Reference Link ¶

⚼ Request

PATCH:  /loadtests/{testId}
{
api-version: string ,
testId: string ,
body:
{
testId: string ,
description: string ,
displayName: string ,
resourceId: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
passFailCriteria:
{
passFailMetrics: object ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
secrets: object ,
environmentVariables: object ,
subnetId: string ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
}
,
}

⚐ Response (200)

{
testId: string ,
description: string ,
displayName: string ,
resourceId: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
passFailCriteria:
{
passFailMetrics: object ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
secrets: object ,
environmentVariables: object ,
subnetId: string ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
}

⚐ Response (201)

{
testId: string ,
description: string ,
displayName: string ,
resourceId: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
passFailCriteria:
{
passFailMetrics: object ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
secrets: object ,
environmentVariables: object ,
subnetId: string ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_DeleteLoadTest (removed)
Description Delete a test by its name.
Reference Link ¶

⚼ Request

DELETE:  /loadtests/{testId}
{
api-version: string ,
testId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_GetLoadTest (removed)
Description Get load test details by test name
Reference Link ¶

⚼ Request

GET:  /loadtests/{testId}
{
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
testId: string ,
description: string ,
displayName: string ,
resourceId: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
passFailCriteria:
{
passFailMetrics: object ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
secrets: object ,
environmentVariables: object ,
subnetId: string ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_ListLoadTestSearch (removed)
Description Get all load tests by the fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.
Reference Link ¶

⚼ Request

GET:  /loadtests/sortAndFilter
{
orderBy: string ,
search: string ,
lastUpdatedStartTime: string ,
lastUpdatedEndTime: string ,
continuationToken: string ,
maxPageSize: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
testId: string ,
description: string ,
displayName: string ,
resourceId: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
passFailCriteria:
{
passFailMetrics: object ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
secrets: object ,
environmentVariables: object ,
subnetId: string ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_UploadTestFile (removed)
Description Upload input file for a given test name. File size can't be more than 50 MB. Existing file with same name for the given test will be overwritten. File should be provided in the request body as multipart/form-data.
Reference Link ¶

⚼ Request

PUT:  /loadtests/{testId}/files/{fileId}
{
testId: string ,
fileId: string ,
fileType: integer ,
api-version: string ,
file: file ,
}

⚐ Response (201)

{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_GetTestFile (removed)
Description Get test file by the file name.
Reference Link ¶

⚼ Request

GET:  /loadtests/{testId}/files/{fileId}
{
testId: string ,
fileId: string ,
api-version: string ,
}

⚐ Response (200)

{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_DeleteTestFile (removed)
Description Delete file by the file name for a test.
Reference Link ¶

⚼ Request

DELETE:  /loadtests/{testId}/files/{fileId}
{
testId: string ,
fileId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
Test_GetAllTestFiles (removed)
Description Get all test files.
Reference Link ¶

⚼ Request

GET:  /loadtests/{testId}/files
{
api-version: string ,
testId: string ,
continuationToken: string ,
}

⚐ Response (200)

{
value:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_DeleteTestRun (removed)
Description Delete a test run by its name.
Reference Link ¶

⚼ Request

DELETE:  /testruns/{testRunId}
{
testRunId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_CreateAndUpdateTest (removed)
Description Create and start a new test run with the given name.
Reference Link ¶

⚼ Request

PATCH:  /testruns/{testRunId}
{
testRunId: string ,
oldTestRunId: string ,
api-version: string ,
body:
{
testRunId: string ,
displayName: string ,
testId: string ,
resourceId: string ,
description: string ,
status: string ,
startDateTime: string ,
endDateTime: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
testResult: string ,
passFailCriteria:
{
passFailMetrics: object ,
}
,
testArtifacts:
{
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
logsUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
}
,
}
,
executedDateTime: string ,
vusers: integer ,
testRunStatistics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
portalUrl: string ,
secrets: object ,
environmentVariables: object ,
duration: integer ,
subnetId: string ,
}
,
}

⚐ Response (200)

{
testRunId: string ,
displayName: string ,
testId: string ,
resourceId: string ,
description: string ,
status: string ,
startDateTime: string ,
endDateTime: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
testResult: string ,
passFailCriteria:
{
passFailMetrics: object ,
}
,
testArtifacts:
{
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
logsUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
}
,
}
,
executedDateTime: string ,
vusers: integer ,
testRunStatistics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
portalUrl: string ,
secrets: object ,
environmentVariables: object ,
duration: integer ,
subnetId: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_GetTestRun (removed)
Description Get test run details by name.
Reference Link ¶

⚼ Request

GET:  /testruns/{testRunId}
{
testRunId: string ,
api-version: string ,
}

⚐ Response (200)

{
testRunId: string ,
displayName: string ,
testId: string ,
resourceId: string ,
description: string ,
status: string ,
startDateTime: string ,
endDateTime: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
testResult: string ,
passFailCriteria:
{
passFailMetrics: object ,
}
,
testArtifacts:
{
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
logsUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
}
,
}
,
executedDateTime: string ,
vusers: integer ,
testRunStatistics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
portalUrl: string ,
secrets: object ,
environmentVariables: object ,
duration: integer ,
subnetId: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_GetTestRunFile (removed)
Description Get test run file by file name.
Reference Link ¶

⚼ Request

GET:  /testruns/{testRunId}/files/{fileId}
{
testRunId: string ,
fileId: string ,
api-version: string ,
}

⚐ Response (200)

{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_ListTestRunsSearch (removed)
Description Get all test runs with given filters
Reference Link ¶

⚼ Request

GET:  /testruns/sortAndFilter
{
orderBy: string ,
continuationToken: string ,
search: string ,
executionFrom: string ,
executionTo: string ,
status: string ,
maxPageSize: integer ,
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
value:
[
{
testRunId: string ,
displayName: string ,
testId: string ,
resourceId: string ,
description: string ,
status: string ,
startDateTime: string ,
endDateTime: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
testResult: string ,
passFailCriteria:
{
passFailMetrics: object ,
}
,
testArtifacts:
{
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
logsUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
}
,
}
,
executedDateTime: string ,
vusers: integer ,
testRunStatistics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
portalUrl: string ,
secrets: object ,
environmentVariables: object ,
duration: integer ,
subnetId: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_StopTestRun (removed)
Description Stop test run by name.
Reference Link ¶

⚼ Request

POST:  /testruns/{testRunId}:stop
{
testRunId: string ,
api-version: string ,
}

⚐ Response (200)

{
testRunId: string ,
displayName: string ,
testId: string ,
resourceId: string ,
description: string ,
status: string ,
startDateTime: string ,
endDateTime: string ,
loadTestConfig:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
}
,
testResult: string ,
passFailCriteria:
{
passFailMetrics: object ,
}
,
testArtifacts:
{
inputArtifacts:
{
configUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
testScriptUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
userPropUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
inputArtifactsZipFileurl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
additionalUrls:
[
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
logsUrl:
{
url: string ,
fileId: string ,
filename: string ,
fileType: integer ,
expireTime: string ,
validationStatus: string ,
}
,
}
,
}
,
executedDateTime: string ,
vusers: integer ,
testRunStatistics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
portalUrl: string ,
secrets: object ,
environmentVariables: object ,
duration: integer ,
subnetId: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_GetTestRunClientMetrics (removed)
Description Get all client metrics for a load test run.
Reference Link ¶

⚼ Request

POST:  /testruns/{testRunId}/clientMetrics
{
testRunId: string ,
api-version: string ,
body:
{
requestSamplers:
[
string ,
]
,
errors:
[
string ,
]
,
percentiles:
[
string ,
]
,
groupByInterval: string ,
startTime: string ,
endTime: string ,
}
,
}

⚐ Response (200)

{
testRunId: string ,
timeSeries:
{
activeUsers: object ,
responseTime: object ,
throughput: object ,
errors: object ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}
TestRun_GetTestRunClientMetricsFilters (removed)
Description Get all filters that are supported for client metrics for a given load test run
Reference Link ¶

⚼ Request

GET:  /testruns/{testRunId}/clientMetricsFilters
{
testRunId: string ,
api-version: string ,
}

⚐ Response (200)

{
testRunId: string ,
filters:
{
requestSamplerValues:
[
string ,
]
,
errorFiltersValues:
[
string ,
]
,
}
,
timeRange:
{
startTime: string ,
endTime: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
,
}