Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > SpiraTest v6.X API : Test...
Hi,
I'm currently working on some automation program in Python with the SpiraTest v6.X API, and so far I did not have any issue with the API.
But today, I tried to access the endpoint used for getting the Requirement Coverage of a Test Case, here in the documentation : https://api.inflectra.com/Spira/Services/v6_0/RestService.aspx#Test%20Case%20Requirement%20Coverage
When requesting this particular endpoint, I receive an error 404, saying this endpoint does not exist.
Here's my request (the spira url, my username and api-key are blanked out on purpose) :
https://SPIRA_URL/SpiraTest/services/v6_0/RestService.svc/projects/9/test-cases/16662/requirements?username=USERNAME&api-key=API-KEY
I tried to search online for related topics, but I found nothing, so I'm wondering if it's a real bug, or just an issue with the way SpiraTest was setup by my company...
Any help would be appreciated :)
What version of Spira are you using?
That way I can check if the API endpoint exists in that version?
Regards
David
I am using SpiraTest v.6.8.0.2, I'msorry I did not specify this.
Hi
To check the endpoints in your version, please use this URL:
https://yourbaseurl/Services/v6_0/RestService.aspx#Test%20Case%20Requirement%20Coverage
If not listed, then I'd upgrade to v7.6.1.
Hi, thanks for you answer.
Unfortunately, by using the URL you sent me, I could identify that the endpoint is truly missing on our version of SpiraTest, and I don't think the CI/CD team in my company will upgrade the version as soon as I need them to.
I will try to code a work-around myself :)
Thanks again, and have a nice day.
And if you have any questions, please email or call us at +1 (202) 558-6885