It's all about the answers!

Ask a question

RQM 5.0 : How to export Test case custom sections and categories into an XML format


Naveen Tyagi (19778152) | asked May 29 '15, 6:15 a.m.
I have  tried Firefox poster plugin to export Test cases in xml format but output is not as per need. so many unnecessary links are being imported and most impotently only few section values are exported. can someone suggest me way to Export all the Test sections [including customs section ] and categories value in xml file as per required format. This file will be used as an Input to other tool so format is also very important. Thanking in Advance. :) :)

Accepted answer


permanent link
Ara Masrof (3.2k15) | answered May 29 '15, 7:20 a.m.
JAZZ DEVELOPER
 Naveen,
To follow up on Subramanya comment
The REST API request to return the XML of a Test Case would look like this

https://<HOST>:<POSRT>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project Area>/testcase/urn:com.ibm.rqm:testcase:<ID>

For example

https://MyRQMServer:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project1+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:6

Be sure to include the 'accept' header with a value of text/xml or application/xml 

You can also include the parameter 'etlmode=true' to include additional information. As noted by Subramanya, please use the REST API reference as a guide 

Naveen Tyagi selected this answer as the correct answer

Comments
Naveen Tyagi commented May 29 '15, 8:03 a.m.

 Hi Ara,
I have tried this by poster plugin but i am new to OSLC. I am wondering, where should i start to implement these Rest API through Java. ?


Naveen Tyagi commented May 29 '15, 8:04 a.m.

  Hi Ara,
I have tried this by poster plugin but i am new to OSLC. I am wondering, where should i start to implement these Rest API through Java. ?


Ara Masrof commented May 29 '15, 8:39 a.m.
JAZZ DEVELOPER

 Naveen

I would start by reviewing the REST API WIKI


This is a complete overview of the syntax/functionality for the REST API 

One other answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered May 29 '15, 6:19 a.m.
Hi Naveern,

You may use RQM's reportable REST API to get the data in XML format. Please refer https://jazz.net/wiki/bin/view/Main/RqmApi#fields

Regards,
Prasad

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.