Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

404 error for exporting test execution as feature file using REST API

Divya Jain
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 2, 2024

Hi,

I am using API to import test results, export 1 test, but if I am trying to export the test execution 

getting an error - 

404null for uri:<serverurl>/rest/raven/1.0/export/testexec?keys=TEST-1

curl -H "Content-Type: application/json" -u user:"password" <serverurl>/rest/raven/1.0/export/testexec?keys=TEST-1 --output "file.feature"

 

using above command -

1 answer

0 votes
Stefan Salzl
Community Champion
September 3, 2024

Hi @Divya Jain 

is the "--output" option a standard operation? I couldn´t find this in the xray rest api documentation.

Did you try the call without this option?

 

Best
Stefan

Suggest an answer

Log in or Sign up to answer