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.
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Apr 03, 11:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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 . Comments
Shwetha G
commented Apr 04, 12:46 a.m.
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.
Ralph Schoon
commented Apr 04, 2:38 a.m.
| edited Apr 04, 2:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The TCER contains the link to the TC:
<oslc_qm:runsTestCase rdf:resource="https://elm.example.com:3443/qm/oslc_qm/contexts/_4RUdANqLEe2WeuNl-NrR4g/resources/com.ibm.rqm.planning.VersionedTestCase/_TKVt4dqMEe2WeuNl-NrR4g"/>
|
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.