How to access test cases from different components through REST apis
Unable to access some test cases through REST apis (different components)
Component 'A' : Test case ID 1
Component 'B' : Test case ID 2
If I just run https://XXmyhostXX.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ABC%20(QM)/testcase/urn:com.ibm.rqm:testcase --> This gives only limited test cases
How to get complete list of test cases irrespective of components ?
I get Positive response for component A: when I try https://XXmyhostXX.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ABC%20(QM)/testcase/urn:com.ibm.rqm:testcase:1
I get Error 404: SRVE0295E: Error reported: 404 when I try https://XXmyhostXX.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ABC%20(QM)/testcase/urn:com.ibm.rqm:testcase:2
|
Accepted answer
You will need to add a parameter to the request to indicate what is the stream UUID for the component.
oslc_config.context=<stream UUID>
You can use this URI to get a list of streams with components
{{host}}{{context}}/service/com.ibm.rqm.integration.service.IIntegrationService/resources/{{project}}/stream
Santhosh B K selected this answer as the correct answer
|
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.