Parameter Results - List
Get a list of parameterized results
GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}/parameterresults?api-version=5.1
GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}/parameterresults?paramName={paramName}&api-version=5.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
iteration
|
path | True |
integer int32 |
ID of the iteration that contains the parameterized results. |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
project
|
path | True |
string |
Project ID or project name |
run
|
path | True |
integer int32 |
ID of the test run that contains the result. |
test
|
path | True |
integer int32 |
ID of the test result that contains the iterations. |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '5.1' to use this version of the api. |
param
|
query |
string |
Name of the parameter. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Name | Description |
---|---|
vso.test | Grants the ability to read test plans, cases, results and other test management related artifacts. |
Examples
Sample Request
GET https://dev.azure.com/fabrikam/fabrikam-fiber-tfvc/_apis/test/Runs/results/Results/{testCaseResultId}/Iterations/{iterationId}/parameterresults?api-version=5.1
Sample Response
{
"count": 2,
"value": [
{
"url": "https://dev.azure.com/fabrikam/fabrikam-fiber-tfvc/_apis/test/Runs/4/Results/100000/Iterations/1/ParameterResults?paramName=username",
"iterationId": 1,
"actionPath": "00000002",
"parameterName": "username",
"value": "abc"
},
{
"url": "https://dev.azure.com/fabrikam/fabrikam-fiber-tfvc/_apis/test/Runs/4/Results/100000/Iterations/1/ParameterResults?paramName=password",
"iterationId": 1,
"actionPath": "00000003",
"parameterName": "password",
"value": "new"
}
]
}
Definitions
TestResultParameterModel
Test parameter information in a test iteration.
Name | Type | Description |
---|---|---|
actionPath |
string |
Test step path where parameter is referenced. |
iterationId |
integer |
Iteration ID. |
parameterName |
string |
Name of parameter. |
stepIdentifier |
string |
This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1" |
url |
string |
Url of test parameter. |
value |
string |
Value of parameter. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for