how to get test plan name associated with a test case name?
Accepted answer
Hi Dev,
A query structured below will give you the XML of the test plans that test case X is linked to: https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testplan?fields=feed/entry/content/testplan/(*|testcase[@href='https://URL:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project_alias/testcase/urn:com.ibm.rqm:testcase:X'])
I'm not sure if this is the most efficient way, but it does work.
Toni
Comments
Thanks Antoinette,
i have tried with this, but its showing me error "404 : The requested resource is not available."can you please provide a small example.?
many thanks in advance,
regards,
Dev Kashyap.
Hi Toni,
Many thanks for your response. It works for me but i am not getting response only for test case 'X' .. its returning all the test plans and associated test case "href" . Is it possible to get test plan results only for the test case "X".
I have testcase name as a input and i need corresponding test plan ?
Regards,
Dev Kashyap.