Screenshot is missing on Jira Issue when uploading Nunit XML report using XRay

Esteban Chavarría Fallas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2019

Technologies used:

  • Visual Studio Enterprise 2019
  • NUnit 3.12.0 Framework
  • Selenium
  • .NetCore 2.2.0
  • Azure DevOps
  • Jira Server
  • XRay

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.

 

No attachment on Jira.JPG

This is a screenshot of the XML file we are using. We had to manually add the <attachment> tags (Also tested inside test-case):

Sample NUnit Report XML.JPG

Any help is appreciated, thanks!

1 answer

0 votes
Inês Silva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events