It's all about the answers!

Ask a question

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


Hongxi Fang (3315) | asked Feb 12 '20, 4:42 a.m.

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

Accepted answer


permanent link
Bhagath P B (3888) | answered Feb 12 '20, 5:30 a.m.

 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

2 other answers



permanent link
Rajat Krishnan (70116) | answered Nov 27 '21, 1:43 p.m.
Hello @Hongxi Fang
Did you got any solution for how to get info if you have an id?
Thank you

permanent link
Hongxi Fang (3315) | answered Feb 17 '20, 1:38 a.m.

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.


Comments
Michael Rowe commented Oct 19 '23, 3:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR

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.  

Your answer


Register or 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.