Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Xray DC V7.7
-
None
-
None
Description
Description:
While importing Execution results via REST API, a custom Test Type is created instead of the Test Type mentioned in the results file.
Pre-conditions:
Add a custom Test Type of Kind Unstructured
How to reproduce:
- Import Execution results using Rest API - Xray JSON results
- In the JSON body, pass the Test Type as Generic along with the definition to create a Test while importing the results.
{ "testExecutionKey": "TWO-31", "tests" : [ { "status": "FAIL", "testInfo": { "summary": "Create new test", "testType": "Generic", "definition": "added.via.REST.API", "projectKey": "ABCD" } } ] }
Actual result/Attachments:
The Test Created is of Custom type(Automated of Kind Unstructured) added instead of the Type (Generic) specified in the JSON results file.
Expected result:
The results import should create a Test of type specified in the JSON.
Version
- Xray DC - V7.7