Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
{
"parameters": {
"testRunId": "12316678-1234-1234-1234-122451189012",
"oldTestRunId": "12345678-1234-1234-1234-123456789012",
"api-version": "2022-11-01",
"body": {
"displayName": "Performance_LoadTest_Run1",
"testId": "12345678-1234-1234-1234-123456789012",
"description": "sample description",
"loadTestConfig": {
"engineInstances": 6,
"splitAllCSVs": true
},
"passFailCriteria": {
"passFailMetrics": {
"fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": {
"clientmetric": "response_time_ms",
"aggregate": "percentage",
"condition": ">",
"value": 20,
"action": "continue"
}
}
},
"secrets": {
"secret1": {
"value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827",
"type": "AKV_SECRET_URI"
}
},
"environmentVariables": {
"envvar1": "sampletext"
}
}
},
"responses": {
"200": {
"body": {
"testRunId": "12316678-1234-1234-1234-122451189012",
"displayName": "Performance_LoadTest_Run1",
"testId": "12345678-1234-1234-1234-123456789012",
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename",
"description": "sample description",
"status": "ACCEPTED",
"startDateTime": "2021-12-05T16:43:48.125Z",
"endDateTime": "2021-12-05T16:43:48.125Z",
"loadTestConfig": {
"engineInstances": 6,
"splitAllCSVs": true
},
"testResult": "PASSED",
"passFailCriteria": {
"passFailMetrics": {
"fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": {
"clientmetric": "response_time_ms",
"aggregate": "percentage",
"condition": ">",
"value": 20,
"action": "continue",
"actualValue": 10,
"result": "passed"
}
}
},
"testArtifacts": {
"inputArtifacts": {
"configUrl": {
"url": "https://dummyurl.com/configresource",
"fileId": "92345678-1234-1111-1234-123456789012",
"filename": "config.yaml",
"fileType": "ADDITIONAL_ARTIFACTS",
"expireTime": "2021-12-05T16:43:46.072Z",
"validationStatus": ""
},
"testScriptUrl": {
"url": "https://dummyurl.com/testscriptresource",
"fileId": "92345678-1234-1111-1234-123456789011",
"filename": "sample.jmx",
"fileType": "JMX_FILE",
"expireTime": "2021-12-05T16:43:46.072Z",
"validationStatus": "VALIDATION_SUCCESS"
},
"userPropUrl": {
"url": "https://dummyurl.com/userpropresource",
"fileId": "92345678-1234-1111-1234-123456789013",
"filename": "user.properties",
"fileType": "USER_PROPERTIES",
"expireTime": "2021-12-05T16:43:46.072Z",
"validationStatus": ""
},
"inputArtifactsZipFileurl": {
"url": "https://dummyurl.com/inputartifactzipresource",
"fileId": "92345678-1234-1111-1234-123456789012",
"filename": "inputartifacts.zip",
"fileType": "ADDITIONAL_ARTIFACTS",
"expireTime": "2021-12-05T16:43:46.072Z",
"validationStatus": ""
},
"additionalUrls": []
},
"outputArtifacts": {
"resultUrl": {
"url": "https://dummyurl.com/dummyresourceresult",
"fileId": "92345678-1234-1111-1234-123456789012",
"filename": "results.zip",
"fileType": "ADDITIONAL_ARTIFACTS",
"expireTime": "2021-12-05T16:43:46.072Z",
"validationStatus": "VALIDATION_SUCCESS"
},
"logsUrl": {
"url": "https://dummyurl.com/logresource",
"fileId": "abb846a7-63af-4d63-bb3d-a7aa4caff55c",
"filename": "worker.log",
"fileType": "ADDITIONAL_ARTIFACTS",
"expireTime": "2022-05-16T09:14:46.0411793+00:00",
"validationStatus": ""
}
}
},
"executedDateTime": "2021-12-05T16:43:48.125Z",
"vusers": 4,
"testRunStatistics": {
"Total": {
"transaction": "Total",
"sampleCount": 18,
"errorCount": 19,
"errorPct": 17,
"meanResTime": 13,
"medianResTime": 10,
"maxResTime": 16,
"minResTime": 18,
"pct1ResTime": 27,
"pct2ResTime": 20,
"pct3ResTime": 3,
"throughput": 5,
"receivedKBytesPerSec": 13,
"sentKBytesPerSec": 4
}
},
"createdDateTime": "2021-12-05T16:43:46.072Z",
"createdBy": "elon-musk@microsoft.com",
"lastModifiedDateTime": "2021-12-05T16:43:46.072Z",
"lastModifiedBy": "elon-musk@microsoft.com",
"portalUrl": "https://portal.azure.com/dummyresource",
"secrets": {
"secret1": {
"value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827",
"type": "AKV_SECRET_URI"
}
},
"environmentVariables": {
"envvar1": "sampletext"
},
"duration": 18,
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7",
"api-version": "2022-11-01",
"body": {
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"value": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"resourceType": "microsoft.insights/components",
"resourceName": "appcomponentresource",
"displayName": "Performance_LoadTest_Insights",
"kind": "web"
}
}
}
},
"responses": {
"200": {
"body": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename",
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7",
"value": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"resourceType": "microsoft.insights/components",
"resourceName": "appcomponentresource",
"displayName": "Performance_LoadTest_Insights",
"resourceGroup": "samplerg",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"kind": "web"
}
}
}
},
"201": {
"body": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename",
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7",
"value": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"resourceType": "microsoft.insights/components",
"resourceName": "appcomponentresource",
"displayName": "Performance_LoadTest_Insights",
"resourceGroup": "samplerg",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"kind": "web"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"name": "edc6e529-d009-4b99-b763-ca492e3a2823",
"api-version": "2022-11-01",
"body": {
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"metrics": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"metricnamespace": "microsoft.insights/components",
"displayDescription": "sample description",
"name": {
"value": "requests/duration",
"localizedValue": "Server Response Time"
},
"aggregation": "Average",
"unit": null,
"resourceType": "microsoft.insights/components"
}
}
}
},
"responses": {
"200": {
"body": {
"name": "edc6e529-d009-4b99-b763-ca492e3a2823",
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"metrics": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration",
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"metricnamespace": "microsoft.insights/components",
"displayDescription": "sample description",
"name": {
"value": "requests/duration",
"localizedValue": "Server Response Time"
},
"aggregation": "Average",
"unit": null,
"resourceType": "microsoft.insights/components"
}
}
}
},
"201": {
"body": {
"name": "edc6e529-d009-4b99-b763-ca492e3a2823",
"testId": "12345678-1234-1234-1234-123456789012",
"testRunId": "12316678-1234-1234-1234-122451189012",
"metrics": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration",
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource",
"metricnamespace": "microsoft.insights/components",
"displayDescription": "sample description",
"name": {
"value": "requests/duration",
"localizedValue": "Server Response Time"
},
"aggregation": "Average",
"unit": null,
"resourceType": "microsoft.insights/components"
}
}
}
}
}
}
Loading