It's all about the answers!

Ask a question

Using RQM rest api cannot fetch Test Case procedure and Test Case design


Binoy D'costa (9531835) | asked Jan 12 '22, 3:18 p.m.
retagged Jan 19 '22, 7:57 a.m. by Ian Barnard (1.5k613)

 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



permanent link
Fabrice Mendes (836) | answered Jan 13 '22, 6:11 a.m.

Hi,

Are you running under a specific configuration Context?
If so add this at the end of your request:
?oslc_config.context=https://ibmjazz:9443/gc/configuration/id of your gc context
Have you tried with this syntax:
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'. 


permanent link
Fabrice Mendes (836) | answered Jan 25 '22, 3:49 a.m.

Hi, Sorry for the late answer I was out.

In the response, you should have a link like this:

If you make a GET in the same configuration context, YOu get the content of the "TestCase Design".
Regards, Fabrice

Your answer


Register or to post your answer.