How to extract testcases pertaining to a Test Suite from Rational Quality Manager in Rational Publishing Engine?
![]()
Hi Everyone,
I am designing a RPE Template for generating a Software Test Plan Document, I want to extract the Test Cases pertaining to a Test Suite in Rational Quality Manager, but the testsuite API available from the Data Source Schema in RPE has provision only for id(UUID) and href(URL).. Can anyone suggest solution for extracting these testcases from RPE? Further to this please find the Environmental Details: RPE Version: 1.3 RQM Version:5.0.2 OS: Windows 7 Thanks in Advance, Shamrose |
Accepted answer
![]()
Correct. To get testcases for multiple testsuites, you have 2 options:
1. Using "or" in fields parameter. That is, <feedUrl>?fields=feed/entry/content/testplan/testcase?fields=feed/entry/content/testcase/(*|testsuite[(@href='<resourceUrl1>' or @href='<resourceUrl2>')]) 2. Do GET for each testsuite. Add 2 qm feed schemas in the template (testsuite and testcase). Use testsuite data source and get the "identifier" for each testsuite, build the URL using script expression (as mentioned in answer) and set it as URI for the Data Source Configuration element in RPE (Target data source=testcase and Inherited data configuration=testsuite). Add a query from testcase data source to get the testcases. Shamrose Makandar selected this answer as the correct answer
Comments Hi Prasad,
You need to configure above URL for for testcase data source (which you may mark as hidden data source). For testsuite data source, you have to set the datasource URI https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectarea>/testsuite?abbreviate=false along with user credentials.
Hi Prasad,
|
2 other answers
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.