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

    • Xray 2024 S6
    • OK

    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

            nikhil.diwan Nikhil Diwan
            victor.sanchez Victor Puente Sanchez
            António Rodrigues, Patricia Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: