Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Unable to import multiple JUnit results into the same test execution when creating the test with required fields.
Preconditions:
- Has a Jenkins env with Xray connect installed
- Has an Xray cloud instance
- Has a Jira instance configured on the Jenkins environment
Steps to reproduce:
- Go to Jira Cloud and configure the affected versions field as required
- Go to Jenkins env create a new Item "Freestyle Project"
- Go to Post-build Actions and select Xray Results import Task
- Turn on Import to Same Test Execution
- On format choose: JUnit XML multipart
- Execution Report File: the full path to your folder with at least 2 XML files (.../jenkins/JUnitResults_Selenium/samples/**.xml)
- Fill Test exec and test data, choosing JSON Content and add the content of the follow files:
- Test exec info: testexec.json

- Test info:test.json

- Test exec info: testexec.json
- Then click on save and run the build.
Actual result:
The test results of the first XML are created, and the next will fail because it is missing the affected versions field.
Expected result:
All test results should be imported and linked to the right test plan
Attachments
Issue Links
- is cloned by
-
XRAYCLOUD-10430 Unable to import multiple JUnit results into the same test execution when creating the test with required fields.
-
- Waiting Approval
-