IBM Support

How to get the Test Case (TC) and Test Script (TS) mapping list in RQM project areas using REST API

Question & Answer


Question

How do you get the Test Case (TC) and Test Script (TS) mapping list in IBM Rational Quality Manager (RQM) project areas using REST API (Representational State Transfer - Application Programming Interface) ?

Cause

You would like to review the TC - TS mapping used in RQM project areas

Answer

Approach 1: Using the out of the box (Live) RQM report called Test Case coverage by Test Script

Approach 2: Using the RQM REST Api field query as explained by steps below:

1. Get the alias name of the RQM project area on which you want to get the mapping of Test Cases by Test Script using a link as shown below.

Note : Login using the RQM user credentials if prompted.






2. Use the REST query as below to get a list of Test Scripts in the project area identified in step 1.






3. Get the href link to the Test Script on which you want to look for Test Case mapping, from the right-click context menu item Copy Link Location as illustrated below






4: Run the query as below on a new tab on the browser using the link from Step 3. as the href value.



[{"Product":{"code":"SSUVV6","label":"IBM Engineering Test Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Usability","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"3.0.1;4.0;4.0.1;4.0.2;4.0.3;4.0.4;4.0.5;4.0.6;4.0.7;5.0;5.0.1;5.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Quality Manager

Document Information

Modified date:
17 June 2018

UID

swg21699009