Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-10267

Import Execution Results creates a custom Test Type instead of the Test mentioned in the results file

    XporterXMLWordPrintable

Details

    • UNCOVERED

    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:

      1. Import Execution results using Rest API - Xray JSON results
      2. In the JSON body, pass the Test Type as Generic along with the definition to create a Test while importing the results.
      3. {    "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

      Attachments

        Activity

          People

            dpca Diamantino Campos
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: