It's all about the answers!

Ask a question

How can I tell which Test Environments are being used by Test Plans


Ken Murphy (1033235) | asked Jun 01 '15, 4:33 p.m.
We are using v4.0.3 of QM.  Is there a way to determine which Test Environments are being used by Test Plans and, if so, a list of those Test Plans?  Is there a way to determine which Test Environments are not being used by any Test Plans at all?

Comments
Ken Murphy commented Jun 02 '15, 9:09 a.m.

Thanks, Don.  So, there's no easy way to do something as simple as add Test Environment as an available column when browsing a list of Test Plans?


Don Yang commented Jun 02 '15, 6:47 p.m.

No, I dont think there is any way to add test environment as a column in a list of test plan at this moment. You may want to file a RFE if you think that is an important feature for your use case.

One answer



permanent link
Don Yang (7.7k21109138) | answered Jun 01 '15, 10:22 p.m.
You may go to Test Case Execution Record and add test plan and test environment columns to the view so that you will see which test environment(s) is in which test plan.
You can list a list of all test environments by using REST API(https://jazz.net/wiki/bin/view/Main/RqmApi):
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/configuration/
(this is JKE Banking project areas)
you can use API to list a list test plan with its test environments and by checking with the missing test environments you would know which one(s) is not used, a sample like:

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan?fields=feed/entry/content/testplan/(title|description|configuration)


Your answer


Register or to post your answer.