Microsoft.LoadTestService (preview:2024-12-01)

2024/12/03 • 39 new methods

TestProfileRunAdministration_ListTestProfileRuns (new)
Description Get all test profile runs for the given filters.
Reference Link ¶

⚼ Request

GET:  /test-profile-runs
{
api-version: string ,
maxpagesize: integer ,
minStartDateTime: string ,
maxStartDateTime: string ,
minEndDateTime: string ,
maxEndDateTime: string ,
createdDateStartTime: string ,
createdDateEndTime: string ,
testProfileRunIds: string ,
testProfileIds: string ,
statuses: string ,
}

⚐ Response (200)

{
value:
[
{
testProfileRunId: string ,
displayName: string ,
description: string ,
testProfileId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
status: enum ,
errorDetails:
[
{
message: string ,
}
,
]
,
startDateTime: string ,
endDateTime: string ,
durationInSeconds: integer ,
testRunDetails: object ,
recommendations:
[
{
category: enum ,
configurations:
[
string ,
]
,
}
,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileRunAdministration_GetTestProfileRun (new)
Description Get test profile run details by test profile run Id.
Reference Link ¶

⚼ Request

GET:  /test-profile-runs/{testProfileRunId}
{
api-version: string ,
testProfileRunId: string ,
}

⚐ Response (200)

{
testProfileRunId: string ,
displayName: string ,
description: string ,
testProfileId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
status: enum ,
errorDetails:
[
{
message: string ,
}
,
]
,
startDateTime: string ,
endDateTime: string ,
durationInSeconds: integer ,
testRunDetails: object ,
recommendations:
[
{
category: enum ,
configurations:
[
string ,
]
,
}
,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /test-profile-runs/{testProfileRunId}
{
api-version: string ,
testProfileRunId: string ,
body:
{
displayName: string ,
description: string ,
testProfileId: string ,
}
,
}

⚐ Response (200)

{
testProfileRunId: string ,
displayName: string ,
description: string ,
testProfileId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
status: enum ,
errorDetails:
[
{
message: string ,
}
,
]
,
startDateTime: string ,
endDateTime: string ,
durationInSeconds: integer ,
testRunDetails: object ,
recommendations:
[
{
category: enum ,
configurations:
[
string ,
]
,
}
,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
testProfileRunId: string ,
displayName: string ,
description: string ,
testProfileId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
status: enum ,
errorDetails:
[
{
message: string ,
}
,
]
,
startDateTime: string ,
endDateTime: string ,
durationInSeconds: integer ,
testRunDetails: object ,
recommendations:
[
{
category: enum ,
configurations:
[
string ,
]
,
}
,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileRunAdministration_DeleteTestProfileRun (new)
Description Delete an existing load test profile run by providing the test profile run Id.
Reference Link ¶

⚼ Request

DELETE:  /test-profile-runs/{testProfileRunId}
{
api-version: string ,
testProfileRunId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileRunAdministration_StopTestProfileRun (new)
Description Stop test profile run for the given test profile run Id.
Reference Link ¶

⚼ Request

POST:  /test-profile-runs/{testProfileRunId}:stop
{
api-version: string ,
testProfileRunId: string ,
}

⚐ Response (200)

{
testProfileRunId: string ,
displayName: string ,
description: string ,
testProfileId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
status: enum ,
errorDetails:
[
{
message: string ,
}
,
]
,
startDateTime: string ,
endDateTime: string ,
durationInSeconds: integer ,
testRunDetails: object ,
recommendations:
[
{
category: enum ,
configurations:
[
string ,
]
,
}
,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileAdministration_ListTestProfiles (new)
Description Get all test profiles for the given filters.
Reference Link ¶

⚼ Request

GET:  /test-profiles
{
api-version: string ,
maxpagesize: integer ,
lastModifiedStartTime: string ,
lastModifiedEndTime: string ,
testProfileIds: string ,
testIds: string ,
}

⚐ Response (200)

{
value:
[
{
testProfileId: string ,
displayName: string ,
description: string ,
testId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileAdministration_GetTestProfile (new)
Description Get load test profile details by test profile Id.
Reference Link ¶

⚼ Request

GET:  /test-profiles/{testProfileId}
{
api-version: string ,
testProfileId: string ,
}

⚐ Response (200)

{
testProfileId: string ,
displayName: string ,
description: string ,
testId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileAdministration_CreateOrUpdateTestProfile (new)
Description Create a new test profile or update an existing test profile by providing the test profile Id.
Reference Link ¶

⚼ Request

PATCH:  /test-profiles/{testProfileId}
{
api-version: string ,
testProfileId: string ,
body:
{
displayName: string ,
description: string ,
testId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
}
,
}

⚐ Response (200)

{
testProfileId: string ,
displayName: string ,
description: string ,
testId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
testProfileId: string ,
displayName: string ,
description: string ,
testId: string ,
targetResourceId: string ,
targetResourceConfigurations:
{
kind: enum ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TestProfileAdministration_DeleteTestProfile (new)
Description Delete a test profile by its test profile Id.
Reference Link ¶

⚼ Request

DELETE:  /test-profiles/{testProfileId}
{
api-version: string ,
testProfileId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_ListTestRuns (new)
Description Get all test runs for the given filters.
Reference Link ¶

⚼ Request

GET:  /test-runs
{
api-version: string ,
orderby: string ,
search: string ,
testId: string ,
executionFrom: string ,
executionTo: string ,
status: string ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
testRunId: string ,
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
errorDetails:
[
{
message: string ,
}
,
]
,
testRunStatistics: object ,
regionalStatistics: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
testArtifacts:
{
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
logsFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
artifactsContainerInfo:
{
url: string ,
expireDateTime: string ,
}
,
reportFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
}
,
}
,
testResult: enum ,
virtualUsers: integer ,
displayName: string ,
testId: string ,
description: string ,
status: enum ,
startDateTime: string ,
endDateTime: string ,
executedDateTime: string ,
portalUrl: string ,
duration: integer ,
virtualUserHours: number ,
subnetId: string ,
kind: enum ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
publicIPDisabled: boolean ,
createdByType: enum ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

GET:  /test-runs/{testRunId}
{
api-version: string ,
testRunId: string ,
}

⚐ Response (200)

{
testRunId: string ,
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
errorDetails:
[
{
message: string ,
}
,
]
,
testRunStatistics: object ,
regionalStatistics: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
testArtifacts:
{
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
logsFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
artifactsContainerInfo:
{
url: string ,
expireDateTime: string ,
}
,
reportFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
}
,
}
,
testResult: enum ,
virtualUsers: integer ,
displayName: string ,
testId: string ,
description: string ,
status: enum ,
startDateTime: string ,
endDateTime: string ,
executedDateTime: string ,
portalUrl: string ,
duration: integer ,
virtualUserHours: number ,
subnetId: string ,
kind: enum ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
publicIPDisabled: boolean ,
createdByType: enum ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /test-runs/{testRunId}
{
api-version: string ,
testRunId: string ,
oldTestRunId: string ,
body:
{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
displayName: string ,
testId: string ,
description: string ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
createdByType: enum ,
}
,
}

⚐ Response (200)

{
testRunId: string ,
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
errorDetails:
[
{
message: string ,
}
,
]
,
testRunStatistics: object ,
regionalStatistics: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
testArtifacts:
{
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
logsFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
artifactsContainerInfo:
{
url: string ,
expireDateTime: string ,
}
,
reportFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
}
,
}
,
testResult: enum ,
virtualUsers: integer ,
displayName: string ,
testId: string ,
description: string ,
status: enum ,
startDateTime: string ,
endDateTime: string ,
executedDateTime: string ,
portalUrl: string ,
duration: integer ,
virtualUserHours: number ,
subnetId: string ,
kind: enum ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
publicIPDisabled: boolean ,
createdByType: enum ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
testRunId: string ,
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
errorDetails:
[
{
message: string ,
}
,
]
,
testRunStatistics: object ,
regionalStatistics: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
testArtifacts:
{
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
logsFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
artifactsContainerInfo:
{
url: string ,
expireDateTime: string ,
}
,
reportFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
}
,
}
,
testResult: enum ,
virtualUsers: integer ,
displayName: string ,
testId: string ,
description: string ,
status: enum ,
startDateTime: string ,
endDateTime: string ,
executedDateTime: string ,
portalUrl: string ,
duration: integer ,
virtualUserHours: number ,
subnetId: string ,
kind: enum ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
publicIPDisabled: boolean ,
createdByType: enum ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_DeleteTestRun (new)
Description Delete an existing load test run by providing the testRunId.
Reference Link ¶

⚼ Request

DELETE:  /test-runs/{testRunId}
{
api-version: string ,
testRunId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
testRunId: string ,
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
errorDetails:
[
{
message: string ,
}
,
]
,
testRunStatistics: object ,
regionalStatistics: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
testArtifacts:
{
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
outputArtifacts:
{
resultFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
logsFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
artifactsContainerInfo:
{
url: string ,
expireDateTime: string ,
}
,
reportFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
}
,
}
,
testResult: enum ,
virtualUsers: integer ,
displayName: string ,
testId: string ,
description: string ,
status: enum ,
startDateTime: string ,
endDateTime: string ,
executedDateTime: string ,
portalUrl: string ,
duration: integer ,
virtualUserHours: number ,
subnetId: string ,
kind: enum ,
requestDataLevel: enum ,
debugLogsEnabled: boolean ,
publicIPDisabled: boolean ,
createdByType: enum ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_GetAppComponents (new)
Description Get associated app component (collection of azure resources) for the given test run.
Reference Link ¶

⚼ Request

GET:  /test-runs/{testRunId}/app-components
{
api-version: string ,
testRunId: string ,
}

⚐ Response (200)

{
components: object ,
testRunId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_CreateOrUpdateAppComponents (new)
Description Add an app component to a test run by providing the resource Id, name and type.
Reference Link ¶

⚼ Request

PATCH:  /test-runs/{testRunId}/app-components
{
api-version: string ,
testRunId: string ,
body:
{
components: object ,
}
,
}

⚐ Response (200)

{
components: object ,
testRunId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
components: object ,
testRunId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

GET:  /test-runs/{testRunId}/files/{fileName}
{
api-version: string ,
testRunId: string ,
fileName: string ,
}

⚐ Response (200)

{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_ListMetricDefinitions (new)
Description List the metric definitions for a load test run.
Reference Link ¶

⚼ Request

GET:  /test-runs/{testRunId}/metric-definitions
{
api-version: string ,
testRunId: string ,
metricNamespace: string ,
}

⚐ Response (200)

{
value:
[
{
dimensions:
[
{
description: string ,
name: string ,
}
,
]
,
description: string ,
name: string ,
namespace: string ,
primaryAggregationType: enum ,
supportedAggregationTypes:
[
string ,
]
,
unit: enum ,
metricAvailabilities:
[
{
timeGrain: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_ListMetricDimensionValues (new)
Description List the dimension values for the given metric dimension name.
Reference Link ¶

⚼ Request

GET:  /test-runs/{testRunId}/metric-dimensions/{name}/values
{
api-version: string ,
testRunId: string ,
name: string ,
metricname: string ,
interval: string ,
metricNamespace: string ,
timespan: string ,
}

⚐ Response (200)

{
name: string ,
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_ListMetricNamespaces (new)
Description List the metric namespaces for a load test run.
Reference Link ¶

⚼ Request

GET:  /test-runs/{testRunId}/metric-namespaces
{
api-version: string ,
testRunId: string ,
}

⚐ Response (200)

{
value:
[
{
description: string ,
name: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_ListMetrics (new)
Description List the metric values for a load test run.
Reference Link ¶

⚼ Request

POST:  /test-runs/{testRunId}/metrics
{
api-version: string ,
testRunId: string ,
aggregation: string ,
metricname: string ,
interval: string ,
metricNamespace: string ,
timespan: string ,
body:
{
filters:
[
{
name: string ,
values:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
data:
[
{
timestamp: string ,
value: number ,
}
,
]
,
dimensionValues:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestRun_GetServerMetricsConfig (new)
Description Get associated server metrics configuration for the given test run.
Reference Link ¶

⚼ Request

GET:  /test-runs/{testRunId}/server-metrics-config
{
api-version: string ,
testRunId: string ,
}

⚐ Response (200)

{
testRunId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /test-runs/{testRunId}/server-metrics-config
{
api-version: string ,
testRunId: string ,
body:
{
testRunId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
}

⚐ Response (200)

{
testRunId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
testRunId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_ListTests (new)
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:  /tests
{
api-version: string ,
orderby: string ,
search: string ,
lastModifiedStartTime: string ,
lastModifiedEndTime: string ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
baselineTestRunId: string ,
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
testId: string ,
description: string ,
displayName: string ,
subnetId: string ,
kind: enum ,
publicIPDisabled: boolean ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
metricsReferenceIdentityType: enum ,
metricsReferenceIdentityId: string ,
engineBuiltInIdentityType: enum ,
engineBuiltInIdentityIds:
[
string ,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
baselineTestRunId: string ,
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
testId: string ,
description: string ,
displayName: string ,
subnetId: string ,
kind: enum ,
publicIPDisabled: boolean ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
metricsReferenceIdentityType: enum ,
metricsReferenceIdentityId: string ,
engineBuiltInIdentityType: enum ,
engineBuiltInIdentityIds:
[
string ,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_CreateOrUpdateTest (new)
Description Create a new test or update an existing test by providing the test Id.
Reference Link ¶

⚼ Request

PATCH:  /tests/{testId}
{
api-version: string ,
testId: string ,
body:
{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
baselineTestRunId: string ,
description: string ,
displayName: string ,
subnetId: string ,
kind: enum ,
publicIPDisabled: boolean ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
metricsReferenceIdentityType: enum ,
metricsReferenceIdentityId: string ,
engineBuiltInIdentityType: enum ,
engineBuiltInIdentityIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
baselineTestRunId: string ,
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
testId: string ,
description: string ,
displayName: string ,
subnetId: string ,
kind: enum ,
publicIPDisabled: boolean ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
metricsReferenceIdentityType: enum ,
metricsReferenceIdentityId: string ,
engineBuiltInIdentityType: enum ,
engineBuiltInIdentityIds:
[
string ,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
passFailCriteria:
{
passFailMetrics: object ,
passFailServerMetrics: object ,
}
,
autoStopCriteria:
{
autoStopDisabled: boolean ,
errorRate: number ,
errorRateTimeWindowInSeconds: integer ,
}
,
secrets: object ,
certificate:
{
value: string ,
type: enum ,
name: string ,
}
,
environmentVariables: object ,
loadTestConfiguration:
{
engineInstances: integer ,
splitAllCSVs: boolean ,
quickStartTest: boolean ,
optionalLoadTestConfig:
{
endpointUrl: string ,
requestsPerSecond: integer ,
maxResponseTimeInMs: integer ,
virtualUsers: integer ,
rampUpTime: integer ,
duration: integer ,
}
,
regionalLoadTestConfig:
[
{
engineInstances: integer ,
region: string ,
}
,
]
,
}
,
baselineTestRunId: string ,
inputArtifacts:
{
configFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
testScriptFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
userPropFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
inputArtifactsZipFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
urlTestConfigFileInfo:
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
additionalFileInfo:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
}
,
testId: string ,
description: string ,
displayName: string ,
subnetId: string ,
kind: enum ,
publicIPDisabled: boolean ,
keyvaultReferenceIdentityType: string ,
keyvaultReferenceIdentityId: string ,
metricsReferenceIdentityType: enum ,
metricsReferenceIdentityId: string ,
engineBuiltInIdentityType: enum ,
engineBuiltInIdentityIds:
[
string ,
]
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /tests/{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 ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_GetAppComponents (new)
Description Get associated app component (collection of azure resources) for the given test.
Reference Link ¶

⚼ Request

GET:  /tests/{testId}/app-components
{
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
components: object ,
testId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_CreateOrUpdateAppComponents (new)
Description Add an app component to a test by providing the resource Id, name and type.
Reference Link ¶

⚼ Request

PATCH:  /tests/{testId}/app-components
{
api-version: string ,
testId: string ,
body:
{
components: object ,
}
,
}

⚐ Response (200)

{
components: object ,
testId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
components: object ,
testId: string ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_GetTestFile (new)
Description Get all the files that are associated with a test.
Reference Link ¶

⚼ Request

GET:  /tests/{testId}/files/{fileName}
{
api-version: string ,
testId: string ,
fileName: string ,
}

⚐ Response (200)

{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_UploadTestFile (new)
Description Upload input file for a given test Id. 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 application/octet-stream.
Reference Link ¶

⚼ Request

PUT:  /tests/{testId}/files/{fileName}
{
api-version: string ,
testId: string ,
fileName: string ,
fileType: string ,
body: string ,
}

⚐ Response (201)

{
fileName: string ,
url: string ,
fileType: enum ,
expireDateTime: string ,
validationStatus: enum ,
validationFailureDetails: string ,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /tests/{testId}/files/{fileName}
{
api-version: string ,
testId: string ,
fileName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
LoadTestAdministration_GetServerMetricsConfig (new)
Description List server metrics configuration for the given test.
Reference Link ¶

⚼ Request

GET:  /tests/{testId}/server-metrics-config
{
api-version: string ,
testId: string ,
}

⚐ Response (200)

{
testId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /tests/{testId}/server-metrics-config
{
api-version: string ,
testId: string ,
body:
{
metrics: object ,
}
,
}

⚐ Response (200)

{
testId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
testId: string ,
metrics: object ,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TriggerAdministration_ListTrigger (new)
Description Resource list operation template.
Reference Link ¶

⚼ Request

GET:  /triggers
{
api-version: string ,
testIds: string ,
states: string ,
lastModifiedStartTime: string ,
lastModifiedEndTime: string ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
triggerId: string ,
displayName: string ,
description: string ,
kind: enum ,
state: enum ,
stateDetails:
{
message: string ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TriggerAdministration_GetTrigger (new)
Description Resource read operation template.
Reference Link ¶

⚼ Request

GET:  /triggers/{triggerId}
{
api-version: string ,
triggerId: string ,
}

⚐ Response (200)

{
triggerId: string ,
displayName: string ,
description: string ,
kind: enum ,
state: enum ,
stateDetails:
{
message: string ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TriggerAdministration_CreateOrUpdateTrigger (new)
Description Create or update operation template.
Reference Link ¶

⚼ Request

PATCH:  /triggers/{triggerId}
{
api-version: string ,
triggerId: string ,
body:
{
displayName: string ,
description: string ,
kind: enum ,
state: enum ,
}
,
}

⚐ Response (200)

{
triggerId: string ,
displayName: string ,
description: string ,
kind: enum ,
state: enum ,
stateDetails:
{
message: string ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (201)

{
triggerId: string ,
displayName: string ,
description: string ,
kind: enum ,
state: enum ,
stateDetails:
{
message: string ,
}
,
createdDateTime: string ,
createdBy: string ,
lastModifiedDateTime: string ,
lastModifiedBy: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TriggerAdministration_DeleteTrigger (new)
Description Resource delete operation template.
Reference Link ¶

⚼ Request

DELETE:  /triggers/{triggerId}
{
api-version: string ,
triggerId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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