How to get the look ups value for RQM test case using Rest API
How to get the look ups value for RQM test case using Rest API
|
2 answers
Hi
|
Hi,
From my point of view the chance to get this information using the REST API isn't that great. I propose to get the information using OSLC. In OSLC do you get a Resource Shape for each Artifact Creation Factory.
To get an overview on how this could work the Firefox REST Client can help you quite good.
Start with the server's rootservice document (https://your.server/qm/rootservices) and find enclosed the Quality Management OSLC Service provider catalog,
<!-- Quality Management services catalog -->
This should give you a list of all project areas defined in RQM. Find your qm project inside the list and query for the service provider catalog related to your project. In RQM this has usually the format:
Using this URL you get the service provider document which contains the creation factory urls for each RQM artifact. Below do you find an exammple for he Test Case creation factory.
<oslc:creationFactory>
<oslc:Property>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Has Priority</dcterms:title>
<oslc:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hasPriority</oslc:name> <dcterms:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">The priority of the resource.</dcterms:description> <oslc:isMemberProperty rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc:isMemberProperty> <oslc:hidden rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc:hidden>
If you need more information on that I propose to switch to Stephane Leroy's Blog with much more information on that.
If you're looking for a good development framework I propose to use Eclipse Lyo, which supports quite well in getting all that stuff.
Comments
ajay hirapara
commented Jul 18 '17, 1:54 a.m.
Hi Matthias,
Matthias Buettgen
commented Aug 08 '17, 4:12 p.m.
Hi Ajay.
|
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
Hi
Kindly provide solution to requested query
Thanks
What exactly is a "look up value"?