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

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

 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

0 votes



2 answers

Permanent link

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

0 votes

Comments

Thanks for responding Fabrice!


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


Permanent link

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

0 votes

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,953

Question asked: Jan 12 '22, 3:18 p.m.

Question was seen: 1,778 times

Last updated: Jan 25 '22, 3:49 a.m.

Confirmation Cancel Confirm