New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results in jUnit XML format are being flagged upon import #612
Comments
@evjlobanova can you please attached example of junit import? |
The problem may not be the XML format but how the zip file is compressed. I uploaded your file @evjlobanova and it worked fine. Then I unzipped it, recompressed in MacOS Finder and when I uploaded it there was an error. How are you compressing your results? |
So I figured out that there are two issues. The first issue is that zipping the results via the Compress option in MacOS Finder is creating a zip file with some character padding that Report Portal does not like. The solution is to zip the results from the command line using the "zip" command. The second problem is that Report Portal doesn't seem to process nested elements. When I leave only one element with the enclosed test case then it works. |
@Yumfriez could you please check this issues on ver 4 and 5? |
We face similar issue in our project |
Our main feature is real-time reporting. |
The issue with recompressing in MacOS Finder probably won't be fixed. Besides compressing via terminal, another solution is to import XML file via API page. (Launch controller - Import junit xml report). |
zip file contain mocha (mocha-junit-reporter) Junit xml has multiple in side these are having issues while import to reportPortal via API. is this addressed? any solution?? |
The tests are run with Mocha and the results are output by mocha-junit-reporter. The XML is valid but after compressing it and importing via the web UI the following message appears:
Error while importing the file. 'Test item status is ambiguous. There is no status provided from request and there are no descendants to check statistics for test item id '5cbf310c49195200011a2fe6''
Is there anything missing from the attached result file?
test-results.xml.zip
The text was updated successfully, but these errors were encountered: