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 (9531732) | asked Jan 12, 3:18 p.m.
retagged 9 hours ago by Ian Barnard (1.0k613)

 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

One answer



permanent link
Fabrice Mendes (836) | answered Jan 13, 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 yesterday

Thanks for responding Fabrice!


I get the same result - without the 'Test Case Design' and 'Test Procedure'. 

Your answer


Register or to post your answer.