Report the history of a test plan (in RQM) with RPE
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
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.
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.
Comments
You can refer http://rpeactual.com/2016/02/02/printing-history-information-for-qm-data/ for template example along with details.
Thank you very much, that is most helpful!