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

When importing xUnit results, if the results file contains skipped tests without <output> tag the import fails

    XporterXMLWordPrintable

Details

    • UNCOVERED

    Description

      Description

      When importing xUnit results, if the results file contains skipped tests without <output> tag the import fails with an error:

      {"error":"An exception occurred while handling a v2 REST API request: java.lang.NullPointerException"}

       

      How to reproduce

      1. Import and xUnit results xml file that contains skipped test, but without <output> tag. (Sample files: xUnit xml Results _ Sample Files.rar)

      Actual result/Attachments
      After import, we see this error: **

      Expected result

      Results should be imported correctly.

       

      Version

      • 7.1.1

       

      Attachments

        Activity

          People

            dpca Diamantino Campos
            victor.sanchez Victor Puente Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: