Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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. :) :)

0 votes


Accepted answer

Permanent link
 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

0 votes

Comments

 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. ?

  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

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
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

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: May 29 '15, 6:15 a.m.

Question was seen: 3,088 times

Last updated: May 29 '15, 8:39 a.m.

Confirmation Cancel Confirm