RQM GET Rest api request to extract text(test description) from all test cases under a test plan
Hi all,
I want to know if there is a way to get the test descriptions of all the test cases under a single test plan.
when I try GET https:/localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PJ-AD%20%28qm%29/testplan/urn:com.ibm.rqm:testcase:720 , it only lists all the test cases in this test plan . I want the description for each of the listed test cases
|
One answer
You should use fields parameter (along with fields filter) as explained in https://jazz.net/wiki/bin/view/Main/RqmApi#fields
https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAreaName>/testcase?fields=feed/entry/content/testcase/(description|title)
will give title and description of all test cases in the projectArea.
https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAreaName>/testcase?fields=feed/entry/content/testcase[testplan/@href='https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/testplan/urn:com.ibm.rqm:testplan:1']/(description|title)
will give title and description of all test cases under testplan:1.
|
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.