Contributions
Re: ALMComplete Rest API Call Error(Handler for Request not found)
Hi, Thank you so much for the response. Getting the same error if I paste the code generated URL in the browser. I reckon the version of ALMComplete that i use does not expose Rest API calls. Can you please confirm? I'm using ALM CompleteVersion 9.9.54.6KViews0likes2CommentsRe: ALMComplete Rest API Call Error(Handler for Request not found)
Hi Nastya, Its On-Premises and the URL I've posted was build upon the examples provided in the documentation and it matches the format you have given as example I'm able to access the metadata but not able to get a particular test4.7KViews0likes4CommentsRe: ALMComplete Rest API Call Error(Handler for Request not found)
Hi Natsya, Thanks for the reply. I've checked the Test Id and Project Id with the target (ALM Complete) Here is the code that I'm using written with Python and using requests libraries. The username and password are coming from JSON file url = 'https://<server>/rest-api/service/api/v1/projects/<project ID>/tests/<test ID>' token = base64.b64encode(bytes(data['credentials']['id'] + ':' + data['credentials']['password'], 'utf-8')) headers = {'Accept': 'application/json', 'Authorization': 'Basic ' + str(token) } response = requests.get(url, headers=headers, verify=False) print(response.text) print(response.status_code) log. Handler for Request not found: Request.HttpMethod: GET Request.HttpMethod: GET Request.PathInfo: /api/v1/projects/<project ID>/tests/<test ID> Request.QueryString: Request.RawUrl: /rest-api/service/api/v1/projects/<project ID>/tests/<test ID> 4044.7KViews0likes6CommentsALMComplete Rest API Call Error(Handler for Request not found)
The stated error is displayed when i make a rest api call to get a resource. Can someone please shed some light on this? thanks in advance text -Handler for Request not found: status_code -404 url - https://<server>/rest-api/service/api/v1/projects/<projectID>/tests/<testcaseID> I'm able to access the metadata and the response is 200 url - https://<server>/rest-api/service/metadataSolved4.7KViews0likes9Comments