Good afternoon,
I'm using robotframework to run some tests. After I run them I have an output.xml file with the results.
I searched ways to import these results to Xray and found these links: https://docs.getxray.app/display/XRAY/Testing+using+Robot+Framework+integration+in+Python+or+Java https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST#ImportExecutionResultsREST-RobotFrameworkXMLresults
So I created a .sh file with this command line:
#!/bin/bash
PROJECT=myproject
TESTPLAN=mytestplan
curl -X POST -H "Content-Type: multipart/form-data" -u myuser:mypassword -F "file=output.xml" "https://myserver/rest/raven/1.0/import/execution/robot?projectKey=$PROJECT&testPlanKey=$TESTPLAN"
It displays this error '' Forbidden (403)''.
Do you know how to solve this?