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

ETM : Given a TestCase how to get the TCER linked to it using OSLC APIs.

 Hi Team,


I have a usecase wherein I need to get the Test Case Execution Record(TCER) from the Testcase URI using the OSLC APIs.

Testcase URI : <serverUrl>/qm/oslc_qm/contexts/_AGocA-oLEeKbeebWK2sm1Q/resources/com.ibm.rqm.planning.VersionedTestCase/__BX48OtVEe68XZmrpXoQ9Ag

Here using this URI am able to get entire content of the Testcase as a response but not the linked TCER.

Could you assist what needs to be done here. Thanks.

0 votes



One answer

Permanent link

 For all I can tell, you get the TestCase resource, using GET, the URI and Header: OSLC-Core-version, accept:/application/rdf+xml . The response body has the data, the data contains links for the included link types. The link has a target URI. You GET the target URI using using GET, the URI and Header: OSLC-Core-version, accept:/application/rdf+xml .

0 votes

Comments

Thanks for your reply Ralph.


The response body of GETting the Testcase contains all the information related to itself, but not the links or the target URIs. Could you please suggest how to get the TCER information. 

Thanks. 

The TCER contains the link to the TC:


I have not tried the QM OSLC API that much. You might have to use OSLC QUERY or some other mechanism to get the information you need. 

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

Question asked: Apr 03 '24, 9:41 a.m.

Question was seen: 619 times

Last updated: Apr 04 '24, 2:44 a.m.

Confirmation Cancel Confirm