It's all about the answers!

Ask a question

Report the history of a test plan (in RQM) with RPE


Michaela Siepmann (5113) | asked Jan 28 '16, 8:56 a.m.
 Hi,

I have to add the history of a testplan (starting from a given date) to a report that is generated with the Rational publishing engine. 
I found the history url <integrationUrl/history?resouceID=<testplan URL> in the RqmApi but I do not know how to use it in the RPE  template. Which schema file can I use for that purpose?

Thanks in advance,
Michaela

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Feb 02 '16, 4:47 a.m.
edited Feb 02 '16, 4:57 a.m.
You cannot use feed or qm schema as the structure of the data (history xml) does not match. A schema can be created manually for this and then added in RPE.

You can get the history XML using the url
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/<projectareaname>/testplan/urn:com.ibm.rqm:testplan:3

But this XML does not have a schema. It's an Atom feed of XHTML entries containing a table data. So you can create a schema manually or using 3rd party tool based on history xml and use it in RPE.
Michaela Siepmann selected this answer as the correct answer

Comments
Subramanya Prasad Pilar commented Feb 03 '16, 1:39 a.m.

You can refer http://rpeactual.com/2016/02/02/printing-history-information-for-qm-data/ for template example along with details.


Michaela Siepmann commented Feb 03 '16, 11:51 a.m.

 Thank you very much, that is most helpful!

Your answer


Register or 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.