It's all about the answers!

Ask a question

Simple Example for RQM through OSLC


Chandan M B (50855) | asked Apr 23 '15, 11:04 p.m.
Hello,
I need to check whether Test Suite ID exists or not through OSLC. Is it possible?
If yes, how to do it?
Please suggest me a simple example

Regards
Chandan

One answer



permanent link
Donald Nong (14.3k211) | answered Apr 24 '15, 3:21 a.m.
Since the RQM REST API does not support filtering on any of the ID related fields, you are out of luck here with the field filtering. You may have to construct the resource URI to the test suite directly based on the ID. If you can GET this resource (with an HTTP 200 OK response), the test suite exists. If you get an HTTP 404 (Not Found) instead, the test suite does not exist.
If the test suite is imported from Excel or Word, it should have an external ID, then the resource URI is
https://clm/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/<external ID>
Otherwise, the URI is
https://clm/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testsuite/urn:com.ibm.rqm:testsuite:<ID>

Your answer


Register or to post your answer.