Technologies used:
OS: Linux
We are making automated tests using NUnit framework on a NetCore web project. The .XML report file generated by NUnit is being uploaded using the REST api https://confluence.xpand-it.com/display/public/XRAY/Import+Execution+Results+-+REST , this is the one we are using:
curl -H "Content-Type: multipart/form-data" -u user:password -F "file=@$(System.DefaultWorkingDirectory)/TestResults.xml" http://IPVIRTUALMACHINE:8080/rest/raven/1.0/import/execution/nunit?projectKey=JIR
We are using Azure DevOps for CI and we are publishing the test results in Azure and Jira. (We are testing for the moment)
In Azure we managed to add the attachments to the corresponding testcases or testsuite, but when uploading to Jira the attachments doesn't appear at all. You can see it on the screenshot below.
This is a screenshot of the XML file we are using. We had to manually add the <attachment> tags (Also tested inside test-case):
Any help is appreciated, thanks!
Hi Esteban,
We need more details in order to fully understand the scope of the question, please contact our support team: https://jira.xpand-it.com/servicedesk/
Best regards,
Xray Team
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.