Using RQM rest api cannot fetch Test Case procedure and Test Case design
Binoy D'costa (95●3●27●37)
| asked Jan 12 '22, 3:18 p.m.
retagged Jan 19 '22, 7:57 a.m. by Ian Barnard (2.2k●6●13) Hello,
I'm able to run below api to get a Test Case but it is not returning "Test Case Design" and "Test Procedure". Am I missing something?
Headers I'm using are:
headers = ["Accept": "application/xml", "OSLC-Core-Version":"2.0", "Content-Type": "application/rdf+xml"]
Any help is appreciated!
Thanks,
Binoy
|
2 answers
Hi,
Are you running under a specific configuration Context?
If so add this at the end of your request:
Have you tried with this syntax:
?oslc_config.context=https://ibmjazz:9443/gc/configuration/id of your gc context with no gc context
https://almserver/qm/oslc_qm/contexts/_Fwvv8AmIEeesd8ilar7eYA/resources/com.ibm.rqm.planning.VersionedTestCase/(id of the same testcase in the form: _3QmL8VKTEeeMeq_eyD18bQ)
With GC context:
https://almserver/qm/oslc_qm/contexts/_Fwvv8AmIEeesd8ilar7eYA/resources/com.ibm.rqm.planning.VersionedTestCase/(id of the same testcase in the form: _3QmL8VKTEeeMeq_eyD18bQ)
?oslc_config.context=https://ibmjazz:9443/gc/configuration/13
Hope that will you help
Regards, Fabrice Mendes
Comments
Binoy D'costa
commented Jan 18 '22, 3:03 p.m.
Thanks for responding Fabrice!
I get the same result - without the 'Test Case Design' and 'Test Procedure'.
|
Hi, Sorry for the late answer I was out.
In the response, you should have a link like this:
<rqm_qm:richTextSection rdf:resource="https://ibmjazz:9443/qm/oslc_qm/contexts/_JGGrYVKIEeeMeq_eyD18bQ/resources/com.ibm.rqm.planning.VersionedTestCase/_7114yVKTEeeMeq_eyD18bQ#com.ibm.rqm.planning.editor.section.testCaseDesign"/>
If you make a GET in the same configuration context, YOu get the content of the "TestCase Design".
Regards, Fabrice
|
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.