Optional
options: IRequestOptionsStatic
Readonly
RESOURCE_Project ID or project name
Add Test Results to test run session
Project ID or project name
RunId of test run
Project ID or project name
Optional
apiVersion: stringCreates an attachment in the LogStore for the specified buildId.
Contains attachment info like stream, filename, comment, attachmentType
Project ID or project name
BuildId
Creates Environment object in TCM data store
Received Environment object.
Project ID or project name
Creates a new test failure type
Project ID or project name
Creates Notification object in TCM data store for a given session
Notification(s) to add for the specified sessionId
Project ID or project name
ID of Session to add Notification
Optional
apiVersion: stringProject ID or project name
Optional
actionPath: stringProject ID or project name
Project ID or project name
Project ID or project name
Creates an attachment in the LogStore for the specified runId.
Contains attachment info like stream, filename, comment, attachmentType
Project ID or project name
Test RunId
Creates TestResultsSession object in TCM data store
Received session object.
Project ID or project name
Project ID or project name
Project ID or project name
Deletes a test failure type with specified failureTypeId
Project ID or project name
Project ID or project name
Project ID or project name
Deletes the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10&deltaBuildId=9 Request: build id and delta build id (optional)
Project ID or project name
Optional
deltaBuildId: numberGets the coverage status for the last successful build of a definition, optionally scoped to a specific branch
Project ID or project name
The ID or name of the definition.
Optional
branchName: stringThe branch name.
Optional
label: stringThe String to replace the default text on the left side of the badge.
Returns the list of test failure types.
Project ID or project name
Get file coverage for the specified file
File details with pull request iteration context
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
Optional
fields: string[]Optional
continuationToken: stringProject ID or project name
Optional
releaseEnvId: numberOptional
fields: string[]Optional
continuationToken: stringRetrieves TestResultsSession Notification objects in TCM data store
Project ID or project name
Id of TestResults session to obtain Notifications for.
Gets the list of results whose failure matches with the provided one.
Project ID or project name
id of test run
id of test result inside a test run
id of subresult inside a test result
Optional
top: numberMaximum number of results to return
Optional
continuationToken: StringHeader to pass the continuationToken
Returns a test iteration attachment
Project ID or project name
Returns a test iteration attachment
Project ID or project name
Get list of build attachments reference
Project ID or project name
Id of the build to get
type of the attachment to get
Optional
directoryPath: stringdirectory path for which attachments are needed
Optional
fileNamePrefix: stringfile name prefix to filter the list of attachment
Optional
fetchMetaData: booleanDefault is false, set if metadata is needed
Optional
top: numberNumber of test attachments reference to return
Optional
continuationToken: StringHeader to pass the continuationToken
Get SAS Uri of a build attachment
Project ID or project name
Id of the build to get
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test results attachment
Project ID or project name
Id of the test run that contains result
Id of the test result whose files need to be downloaded
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test run attachment
Project ID or project name
Id of the test run whose file has to be downloaded
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test subresults attachment
Project ID or project name
Id of the test run that contains result
Id of the test result that contains subresult
Id of the test subresult whose file sas uri is needed
type of the file
filePath for which sas uri is needed
Get summary of test results.
Project ID or project name
Pipeline Id. This is same as build Id.
Optional
stageName: stringName of the stage. Maximum supported length for name is 256 character.
Optional
phaseName: stringName of the phase. Maximum supported length for name is 256 character.
Optional
jobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
Optional
metricNames: Metrics[]Optional
groupByNode: booleanGroup summary for each node of the pipleine heirarchy
Returns a test result attachment
Project ID or project name
Project ID or project name
Returns a test result attachment
Project ID or project name
Project ID or project name
Optional
detailsToInclude: ResultDetailsProject ID or project name
Optional
publishContext: stringOptional
groupBy: stringOptional
filter: stringOptional
orderby: stringOptional
shouldIncludeResults: booleanOptional
queryRunSummaryForInProgress: booleanProject ID or project name
Optional
publishContext: stringOptional
groupBy: stringOptional
filter: stringOptional
orderby: stringOptional
shouldIncludeResults: booleanOptional
queryRunSummaryForInProgress: booleanGet list of test result attachments reference
Project ID or project name
Id of the test run that contains the result
Id of the test result
type of attachments to get
Optional
directoryPath: stringdirectory path of attachments to get
Optional
fileNamePrefix: stringfile name prefix to filter the list of attachment
Optional
fetchMetaData: booleanDefault is false, set if metadata is needed
Optional
top: numberNumbe of attachments reference to return
Optional
continuationToken: StringHeader to pass the continuationToken
Project ID or project name
Optional
detailsToInclude: ResultDetailsOptional
skip: numberOptional
top: numberOptional
outcomes: TestOutcome[]Optional
newTestsOnly: booleanProject ID or project name
Optional
publishContext: stringOptional
outcomes: TestOutcome[]Optional
top: numberOptional
continuationToken: stringGet a list of results.
Project ID or project name
Pipeline Id. This is same as build Id.
Optional
stageName: stringName of the stage. Maximum supported length for name is 256 character.
Optional
phaseName: stringName of the phase. Maximum supported length for name is 256 character.
Optional
jobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
Optional
outcomes: TestOutcome[]List of outcome of results
Optional
top: numberMaximum number of results to return
Optional
continuationToken: StringHeader to pass the continuationToken
Project ID or project name
Project ID or project name
Optional
includeResultDetails: booleanOptional
includeIterationDetails: booleanOptional
skip: numberOptional
top: numberProject ID or project name
Optional
releaseEnvid: numberOptional
publishContext: stringOptional
outcomes: TestOutcome[]Optional
top: numberOptional
continuationToken: stringGet TestResultsSettings data
Project ID or project name
Optional
settingsType: TestResultsSettingsTypeProject ID or project name
Project ID or project name
Project ID or project name
Get list of test run attachments reference
Project ID or project name
Id of the test run
type of the attachments to get
Optional
directoryPath: stringdirectory path for which attachments are needed
Optional
fileNamePrefix: stringfile name prefix to filter the list of attachment
Optional
fetchMetaData: booleanDefault is false, set if metadata is needed
Optional
top: numberNumber of attachments reference to return
Optional
continuationToken: StringHeader to pass the continuationToken
Returns the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Returns a list of attachments for the specified runId from the LogStore.
Project ID or project name
Test RunId
Returns the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Get test run message logs
Project ID or project name
ID of the run to get.
Project ID or project name
Optional
buildUri: stringOptional
owner: stringOptional
tmiRunId: stringOptional
planId: numberOptional
includeRunDetails: booleanOptional
automated: booleanOptional
skip: numberOptional
top: numberRetrieves Test runs associated to a session
Project ID or project name
Id of TestResults session to obtain Test Runs for.
Get test run statistics , used when we want to get summary of a run by outcome.
Project ID or project name
ID of the run to get.
Get test run summary, used when we want to get summary of a run by outcome. Test run should be in completed state.
Project ID or project name
ID of the run to get.
Retrieves TestResultsSession metadata object in TCM data store
Project ID or project name
Retrieves TestResultsSession Layout object in TCM data store
Project ID or project name
Project ID or project name
Optional
detailsToInclude: ResultDetailsOptional
skip: numberOptional
top: numberOptional
outcomes: TestOutcome[]Optional
newTestsOnly: booleanProject ID or project name
Returns a test sub result attachment
Project ID or project name
Returns attachment references for test sub result.
Project ID or project name
Returns a test sub result attachment
Project ID or project name
Get list of test subresult attachments reference
Project ID or project name
Id of the test run that contains the results
Id of the test result that contains subresult
Id of the test subresult
type of the attachments to get
Optional
directoryPath: stringdirectory path of the attachment to get
Optional
fileNamePrefix: stringfile name prefix to filter the list of attachments
Optional
fetchMetaData: booleanDefault is false, set if metadata is needed
Optional
top: numberNumber of attachments reference to return
Optional
continuationToken: StringHeader to pass the continuationToken
Get all the tags in a build.
Project ID or project name
Build ID
Get all the tags in a build.
Project ID or project name
Build ID
Get all the tags in a release.
Project ID or project name
Release ID
Release environment ID
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
Get history of a test method using TestHistoryQuery
TestHistoryQuery to get history
Project ID or project name
Project ID or project name
Project ID or project name
Get list of test Result meta data details for corresponding testcasereferenceId
TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
Project ID or project name
Optional
detailsToInclude: ResultMetaDataDetailsDetails to include with test results metadata. Default is None. Other values are FlakyIdentifiers.
Project ID or project name
Optional
publishContext: stringOptional
includeFailureDetails: booleanOptional
buildToCompare: BuildReferenceGet summary of test results.
Project ID or project name
Pipeline Id. This is same as build Id.
Optional
stageName: stringName of the stage. Maximum supported length for name is 256 character.
Optional
phaseName: stringName of the phase. Maximum supported length for name is 256 character.
Optional
jobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
Optional
includeFailureDetails: booleanIf true returns failure insights
Project ID or project name
Optional
publishContext: stringOptional
includeFailureDetails: booleanOptional
releaseToCompare: ReleaseReferenceProject ID or project name
Query Test Result WorkItems based on filter
Project ID or project name
can take values Microsoft.BugCategory or all(for getting all workitems)
Optional
automatedTestName: stringOptional
testCaseId: numberOptional
maxCompleteDate: DateOptional
days: numberOptional
workItemCount: numberQuery Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate.
Project ID or project name
Minimum Last Modified Date of run to be queried (Mandatory).
Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
Optional
state: TestRunStateCurrent state of the Runs to be queried.
Optional
planIds: number[]Plan Ids of the Runs to be queried, comma separated list of valid ids.
Optional
isAutomated: booleanAutomation type of the Runs to be queried.
Optional
publishContext: TestRunPublishContextPublishContext of the Runs to be queried.
Optional
buildIds: number[]Build Ids of the Runs to be queried, comma separated list of valid ids.
Optional
buildDefIds: number[]Build Definition Ids of the Runs to be queried, comma separated list of valid ids.
Optional
branchName: stringSource Branch name of the Runs to be queried.
Optional
releaseIds: number[]Release Ids of the Runs to be queried, comma separated list of valid ids.
Optional
releaseDefIds: number[]Release Definition Ids of the Runs to be queried, comma separated list of valid ids.
Optional
releaseEnvIds: number[]Release Environment Ids of the Runs to be queried, comma separated list of valid ids.
Optional
releaseEnvDefIds: number[]Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids.
Optional
runTitle: stringRun Title of the Runs to be queried.
Optional
top: numberNumber of runs to be queried. Limit is 100
Optional
continuationToken: stringcontinuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
Project ID or project name
Optional
workItemIds: number[]Create and Get sas uri of the build container
Project ID or project name
Id of the build to get
Type of operation to perform using sas uri
Create empty file for a result and Get Sas uri for the file
Project ID or project name
Id of the test run that contains the result
Id of the test results that contains sub result
Id of the test sub result whose file sas uri is needed
file path inside the sub result for which sas uri is needed
Type of the file for download
Create empty file for a run and Get Sas uri for the file
Project ID or project name
Id of the run to get endpoint details
Type of operation to perform using sas uri
Optional
filePath: stringfile path to create an empty file
Optional
type: TestLogTypeDefault is GeneralAttachment, type of empty file to be created
Get all the available groups details and for these groups get failed and aborted results.
Project ID or project name
Pipeline Id. This is same as build Id.
Optional
stageName: stringName of the stage. Maximum supported length for name is 256 character.
Optional
phaseName: stringName of the phase. Maximum supported length for name is 256 character.
Optional
jobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
Optional
shouldIncludeFailedAndAbortedResults: booleanIf true, it will return Ids of failed and aborted results for each test group
Optional
queryGroupSummaryForInProgress: booleanIf true, it will calculate summary for InProgress runs as well.
http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary
Project ID or project name
Optional
coverageData: CodeCoverageDataUpdate project settings of test results
Project ID or project name
Project ID or project name
Update properties of test result meta data
TestResultMetaData update input TestResultMetaDataUpdateInput
Project ID or project name
TestCaseReference Id of Test Result to be updated.
Creates TestResultsMRX objects in TCM data store for existing test results
Results object with only test results MRX properties and existing testResultId
Project ID or project name
RunId of test run
Project ID or project name
Update tags of a run, Tags can be Added and Deleted
TestTagsUpdateModel
Project ID or project name
RunId of the run
Project ID or project name