Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to get single testcase in rqm using rest api?

 HI,

How to get single testcase using rest api ,rqm? I am getting all testcases in a project but not able to get single testcase based on its id using rest api.

Thanks,
MD.Sajid

0 votes



One answer

Permanent link

 You can use the Quality Manager Reportable REST API  to obtain the XML of the artifact (in this case a Test Case_) 


Syntax 
GET https://<HOST>:<PORT</qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<ProjectArea>/testcase/<Test Case ID> 
  
Example 
  

Be sure to include the Header 
Accept         application/xml 

0 votes

Comments
Hi,
Thanks for your response.

 I tried to implement as you described in your reply. I am getting 406 response("Not acceptable").unable to retrieve single artifact(testcase).


Thanks,
MD.Sajid

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 20 '17, 5:37 a.m.

Question was seen: 1,006 times

Last updated: Dec 20 '17, 8:28 a.m.

Confirmation Cancel Confirm