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 (3314) | 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 !

Accepted answer

permanent link
Bhagath P B (3787) | 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
Hongxi Fang (3314) | 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.

Michael Rowe commented Oct 19, 3:53 p.m.

You should look at the discovery process for the APIs... I have written a blog post on this for Test Plans -

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

permanent link
Rajat Krishnan (7011) | 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

Your answer

Register or to post your answer.