Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
R2.2.0 S1, R2.2.0 S2
-
Description
The REST API should provide an endpoint for obtaining a list of Test Runs based on some parameters (one of them must be specified):
- testExecutionKey
- testPlanKey
- id of saved filter (for filtering Test Executions)
- (optionally) testKey
It should be possible to enumerate a list of Test related fields that should be returned for each Test Run's Test information, using the parameter includeTestFields=field1,field2,...,fieldN
GET /rest/raven/1.0/testruns
Each testrun in the response should provide also the Test Run's id and also the Test Execution key.
E.g.:
...
"id":1587,
"testExecKey":"CALC-13"
Note: The current endpoint for exporting test results should be deprecated (http://confluence.xpand-addons.com/display/XRAY/Export+Execution+Results+-+REST). In fact, it should now be an alias to the new endpoint.