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

How to get resource xml file from .net code?

Hi,

I have a requirement to get resource (Test Plan, Test Suite) xml file from .net code. Can someone please help me?

0 votes



3 answers

Permanent link
Hi,

I have a requirement to get resource (Test Plan, Test Suite) xml file from .net code. Can someone please help me?


You could use the RQM REST API to extract the test assets from the repository individually or as a XML or JSON feed (see http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/topic/com.ibm.rational.test.qm.doc/topics/c_extendrqm.html).

0 votes


Permanent link
Hi,

I have a requirement to get resource (Test Plan, Test Suite) xml file from .net code. Can someone please help me?


You could use the RQM REST API to extract the test assets from the repository individually or as a XML or JSON feed (see http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/topic/com.ibm.rational.test.qm.doc/topics/c_extendrqm.html).

Hi Paul,

I have already gone through the RQM REST API. I'm trying to get xml by HttpResponseMessage but not able to get it.

Thanks,
Swati

0 votes


Permanent link
 You can request and secure document (json/xml etc) from the server using HTTPWebRequest and WebClient in C#. You'll first have to authenticate into the server using OSLC APIs and then request for the secure  document. Authentication is one time process and you'll have to set a cookie. 

You can see code snippet and read more here - 

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

Question asked: Mar 18 '11, 12:32 a.m.

Question was seen: 5,627 times

Last updated: Jun 13 '13, 2:55 a.m.

Confirmation Cancel Confirm