I am fetching test and their status attached to test execution using API. Below is the command for same:
curl -u username:password -X GET -H "Content-Type:application/json" --url ""https://server/rest/api/2/testexec/TEST-1161""
I am facing below error while fetching the same:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: https://server/rest/api/2/testexec/TEST-1161</message></status>
Where I am getting wrong ?? Also When I am using the same url for updating status of TEST, I am able to do so.