It's all about the answers!

Ask a question

How to get TEST CASE work items using REST API?


Amol Wangate (1519) | asked Jul 29 '19, 8:18 a.m.
edited Jul 29 '19, 8:54 a.m.

2 answers



permanent link
Bharath Rao (915241) | answered Jul 30 '19, 9:04 a.m.

 Hi Amol,


You can modify the below URL per your environment to get all the test case in RQM project


To get the Alias of the project, you can use the steps in the below link:

Hope it helps!

Feel free to comment if you have any questions.

--
Please like / mark the question as answered if it helps! 


Comments
Amol Wangate commented Jul 30 '19, 10:10 a.m.

Hi Bharath, thanks for responding. It works, however, it's not returning what I want. I want to see an REST API feed. Maybe it's not the API that I'm looking for. Do you have any other REST API or OSLC API?


Bharath Rao commented Jul 30 '19, 10:14 a.m.

 Can you explain your requirement ?


Amol Wangate commented Jul 30 '19, 10:54 a.m. | edited Jul 30 '19, 10:57 a.m.
i want to see all test cases along with their details in either XML or JSON format so that I can parse the data.

This API was able to get me work item data from RTC work area:



I'm looking for somthing like this for RQM

permanent link
Bharath Rao (915241) | answered Aug 01 '19, 8:47 a.m.
You could try the below:
https://<clmhost:port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Alias of the project>/testcase?fields=feed/entry/content/testcase/*

Hope this helps!

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.