Query TestCase by title using RQM Reportable REST API
![]() I'm just getting started with the Reportable REST API, and I can't seem to find a clear example of how to query all TestCases in a Project Area by Title.
I have code that does a GET on the following URL:
https://<MyRqmURL>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CORPORATE_Strategic_Priority/testcase?fields=feed/entry/content/testcase[title="<my title>"]
What do I do with the response in order to read all Test Cases that match my criteria?
|
One answer
![]() Hi, Jeff
https://clm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM_ProjectArea/testcase?fields=feed/entry/content/testcase[title='test case 1']/*in browser and it return the test case named "test case 1". If I run https://clm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM_ProjectArea/testcase?fields=feed/entry/content/testcase[title='test case X']/description&wildcard=Xqm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM_TW/testcase?fields=feed/entry/content/testcase[title='test case X']/description&wildcard=X Comments Hello,
I am trying to query all the test cases with a specific custom attribute value this query is:
The Result i am getting is:
When i provide a filter on the web ui i am getting 1900 test cases with the filter.
Thanks.
Yes. I tried too. it fetches all the testcases but i would like to get the exact testcase having that custom attribute value.
Your request is definitely different from the OP. I suggest you open a new post.
|
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.
Comments
I am also getting the same issue can someone help??
It has been answered. Have you tried Don's method?