Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Fetch all test plans, test cases in RQM from a baseline via OSLC

Hello,

I am looking for OSLC support for querying all test plans, test cases in RQM from a baseline via OSLC. In our case we have enabled GC in our server.

Thanks for the help in advance

0 votes



One answer

Permanent link
Hello Mike,

you could try the following query:
https://<server:port>/qm/oslc_qm/contexts/_g66bgPfAEeis0dH4W9rsZQ/resources/com.ibm.rqm.planning.VersionedTestCase?oslc.query=*&oslc_config.context=_qrvVcR5ZEemSzYJQ2OTLjQ

where _g66bgPfAEeis0dH4W9rsZQ is the uuid of the project (you can capture it with right click on "manage this project area", copy link location, the UUID at the end of the url is the project UUID, something like:
.../qm/admin#action=com.ibm.team.process.editProjectArea&itemId=_g66bgPfAEeis0dH4W9rsZQ)

and _qrvVcR5ZEemSzYJQ2OTLjQ is the uuid of the base line (you can also get this UUID from the rqm UI, after switching to this baseline, right click on the local baseline and copy link location, you would get something like:
.../qm/oslc_config/resources/com.ibm.team.vvc.Configuration/_qrvVcR5ZEemSzYJQ2OTLjQ)

I hope that helps.
Matthieu

0 votes

Comments
Hello Matthieu,

i tried the URL format you suggested on Rest Client with headers - (OSLC-Core-Version, Accept-application/rdf+xml) but i got the below error:-

  1. Status Code: 500 Internal Server Error
Should i use any specific headers to query this URL?

Hello Mike,

I used OSLC-Core-Version=2.0 and Accept=application/xml
I do get an error 500 when the uuid specified in the request is incorrect.

you may get additional details in the qm.log, in my case, with the wrong UUID, I had:
.../qm/oslc_qm/contexts/_g66bgPfAEeis0dH4W9rsZQ/resources/com.ibm.rqm.planning.VersionedTestPlan?oslc.query=*&oslc_config.context=_qrvVcR5ZEemSzYJQ2OTLj. The response code is 500.
java.lang.IllegalArgumentException: _qrvVcR5ZEemSzYJQ2OTLj is not the URI of a global configuration

I hope this helps, Matthieu

Your answer

Register or log in to 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 04 '19, 5:00 a.m.

Question was seen: 2,601 times

Last updated: Jul 05 '19, 8:59 a.m.

Confirmation Cancel Confirm