It's all about the answers!

Ask a question

Configure RPE datasource configuration to move from RTC Workitem to Test Artifact


Ben Sharples (811040) | asked Nov 28 '15, 9:15 a.m.
Hi,

I'm struggling with configuring a dynamic datasource in my RPE templaet to move from a RTC Workitem to an affected TestPlan, TestCase, Execution Record and Test Result.

workitem/workItem/auditableLinks/TargetRef/uri return urls of the form:
https://greygloom.outer.stellar.local:9443/qm/oslc_qm/contexts/_HX1q4Ay1EeSca4Goin-m9A/resources/com.ibm.rqm.planning.VersionedTestPlan/_-JDPMbv8EeSgYYmz6qqEtw

How do I convert this to a URI I can use for a data source configuration? (Do I need to go via a REST v2 schema first like with a DOORS Next artifact to Test Case.

Accepted answer


permanent link
Subramanya Prasad Pilar (3.9k14) | answered Nov 28 '15, 2:44 p.m.
edited Nov 28 '15, 2:50 p.m.
Yes. You need to go via REST v2 API. workitem/workItem/auditableLinks/TargetRef/uri is the OSLC (REST v2) based href. You have to convert from the RQM OSLC API to the Reportable REST API to get RQM attributes.

However, if the attributes you want to print are already available in the REST v2 API, then you can directly use them instead of traversing over to the Reportable REST API.

In RPE, once you traverse to REST v2 schema, add another DSC element and traverse to a RQM qm schema. For the second DSC element, URI should be set to RDF/TestCase/relation/resource.
RPETemplate




Ben Sharples selected this answer as the correct answer

Your answer


Register or to post your answer.