sanjayrjain
2 years agoNew Member
API: Get all the list of test cases for a project
Hi Team,
I'm trying to get the list of all the test cases. the below actions are performed by me.
1) Created an API token.
2) Created created a GET request to access the tests from the Zephrscale.
https://{{baseapiURL}}/backend/rest/tests/2.0/project/{{projectId}}
I'm getting the below error message when tried. i had given it is as API Token which was created. It is failing to authenticate.
{
"message": "Error verifying token",
"statusCode": 401,
"errorMessages": {},
"unifiedTraceId": "1xxxxxxxxxxxxxx",
"timestamp": "2023-0xxxxxxxxx"
}
Any suggestions will be helpful.