Uploaded image for project: 'Xray for Maven'
  1. Xray for Maven
  2. XRAYMAVEN-4

Problem when using Maven plugin to import TestNG test results to a Test Plan

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • UNCOVERED

    Description

      Here's the scenario, when trying to import Test Results for the first time - the Test issues, weren't already existent on the JIRA instance, and I'm trying to import the results to an existent Test Plan using the following properties

          <properties>
              <xray.projectKey>DAU</xray.projectKey>
              <xray.jiraURL>http://xray-tst-docker:18750</xray.jiraURL>
              <xray.username>admin</xray.username>
              <xray.password>admin</xray.password>
              <xray.testExec-fields.path>fields.json</xray.testExec-fields.path>
              <xray.resultsFormat>TESTNG</xray.resultsFormat>
              <xray.testPlanKey>DAU-10</xray.testPlanKey>
              <xray.testEnvironments>Android</xray.testEnvironments>
              <xray.fixVersion>alpha1</xray.fixVersion>
              <xray.revision>FWC</xray.revision>
              <xray.surefire.location>${basedir}/target/surefire-reports/TEST-TestNGTestClass.xml</xray.surefire.location>
          </properties>
      

      What happens is that the Test issues are created, the Test Execution is created and associated with the Test Issues and with the given Test plan, BUT the Test issues are not associated with the given Test Plan (check the screenshot-1)

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              pmmr Pedro Rodrigues
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: