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

Rest API - How to get the test plan,test suite,test cases via rest API.

We need to get test cases, test plan, test suite from DNG through API. Which interface do I need to use and what parameters do I need to pass in?




Help !
Thanks

1 vote


Accepted answer

Permanent link

 Hi Hongxi,


Use the below URL and modify the URL as per your environment to get all test cases.


For getting the Alias of the project please follow the below link

For more information on REST API for RQM you can refer the link below.


Hongxi Fang selected this answer as the correct answer

1 vote


2 other answers

Permanent link

Hi Bhagath, Thank you in advance for your answers. Now I have another question. How do I get detailed case information if I know the case ID.

1 vote

Comments

You should look at the discovery process for the APIs... I have written a blog post on this for Test Plans - https://michaelrowe01.com/index.php/day-job/ibm-elm/generating-a-test-execution-record-via-api-discovery/

which describes discovery.  You can do a similar approach for other parts of ETM artifacts, cases, scripts, etc.  


Permanent link
Hello @Hongxi Fang
Did you got any solution for how to get info if you have an id?
Thank you

0 votes

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
× 10,941
× 480
× 235
× 116

Question asked: Feb 12 '20, 4:42 a.m.

Question was seen: 3,616 times

Last updated: Oct 19 '23, 3:53 p.m.

Confirmation Cancel Confirm