TestHistoryQuery interface
Filter to get TestCase result history.
automated |
Automated test name of the TestCase. |
branch | Results to be get for a particular branches. |
build |
Get the results history only for this BuildDefinitionId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use. |
continuation |
It will be filled by server. If not null means there are some results still to be get, and we need to call this REST API with this ContinuousToken. It is not supposed to be created (or altered, if received from server in last batch) by user. |
group |
Group the result on the basis of TestResultGroupBy. This can be Branch, Environment or null(if results are fetched by BuildDefinitionId) |
max |
History to get between time interval MaxCompleteDate and (MaxCompleteDate - TrendDays). Default is current date time. |
release |
Get the results history only for this ReleaseEnvDefinitionId. This to get used in query GroupBy should be Environment. |
results |
List of TestResultHistoryForGroup which are grouped by GroupBy |
test |
Get the results history only for this testCaseId. This to get used in query to filter the result along with automatedtestname |
trend |
Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days. |
Automated test name of the TestCase.
automatedTestName: string
Property Value
string
Results to be get for a particular branches.
branch: string
Property Value
string
Get the results history only for this BuildDefinitionId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.
buildDefinitionId: number
Property Value
number
It will be filled by server. If not null means there are some results still to be get, and we need to call this REST API with this ContinuousToken. It is not supposed to be created (or altered, if received from server in last batch) by user.
continuationToken: string
Property Value
string
Group the result on the basis of TestResultGroupBy. This can be Branch, Environment or null(if results are fetched by BuildDefinitionId)
groupBy: TestResultGroupBy
Property Value
History to get between time interval MaxCompleteDate and (MaxCompleteDate - TrendDays). Default is current date time.
maxCompleteDate: Date
Property Value
Date
Get the results history only for this ReleaseEnvDefinitionId. This to get used in query GroupBy should be Environment.
releaseEnvDefinitionId: number
Property Value
number
List of TestResultHistoryForGroup which are grouped by GroupBy
resultsForGroup: TestResultHistoryForGroup[]
Property Value
Get the results history only for this testCaseId. This to get used in query to filter the result along with automatedtestname
testCaseId: number
Property Value
number
Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days.
trendDays: number
Property Value
number