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

Export RQM Test Script to an XML file

Hi,

I've seen numerous posts re: exporting scripts using REST API and other methods to excel etc. I wonder if someone can help me though. We require the ability to export individual test scripts from RQM to an XML file - is this doable? If so, what is the process?

IBM have asked us to use the repo tools but I think they have got confused as the command they suggested exported the entire database, not an individual test script!

Thanks in advance!

Joe

0 votes



5 answers

Permanent link
Hi,

I've seen numerous posts re: exporting scripts using REST API and other methods to excel etc. I wonder if someone can help me though. We require the ability to export individual test scripts from RQM to an XML file - is this doable? If so, what is the process?

IBM have asked us to use the repo tools but I think they have got confused as the command they suggested exported the entire database, not an individual test script!

Thanks in advance!

Joe


Hi Joe,

You can use the public RQM REST API (https://jazz.net/wiki/bin/view/Main/RqmApi) to resolve a feed of resources (e.g. test scripts) using your web browser or Firefox's Poster. Note, the optional request parameters (https://jazz.net/wiki/bin/view/Main/RqmApi#Optional_Parameters). In your case, you would use the following request to resolve a fully populated feed of test scripts in the <projectAlias>:

https://<hostname>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testscript?abbreviate=false

0 votes


Permanent link
Hi,

I've seen numerous posts re: exporting scripts using REST API and other methods to excel etc. I wonder if someone can help me though. We require the ability to export individual test scripts from RQM to an XML file - is this doable? If so, what is the process?

IBM have asked us to use the repo tools but I think they have got confused as the command they suggested exported the entire database, not an individual test script!

Thanks in advance!

Joe


Hi Joe,

You can use the public RQM REST API (https://jazz.net/wiki/bin/view/Main/RqmApi) to resolve a feed of resources (e.g. test scripts) using your web browser or Firefox's Poster. Note, the optional request parameters (https://jazz.net/wiki/bin/view/Main/RqmApi#Optional_Parameters). In your case, you would use the following request to resolve a fully populated feed of test scripts in the <projectAlias>:

https://<hostname>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testscript?abbreviate=false

Hi Paul,

Thanks very much for your response. That works really well!

Joe

0 votes


Permanent link
Hi,

I've seen numerous posts re: exporting scripts using REST API and other methods to excel etc. I wonder if someone can help me though. We require the ability to export individual test scripts from RQM to an XML file - is this doable? If so, what is the process?

IBM have asked us to use the repo tools but I think they have got confused as the command they suggested exported the entire database, not an individual test script!

Thanks in advance!

Joe


Hi Joe,

You can use the public RQM REST API (https://jazz.net/wiki/bin/view/Main/RqmApi) to resolve a feed of resources (e.g. test scripts) using your web browser or Firefox's Poster. Note, the optional request parameters (https://jazz.net/wiki/bin/view/Main/RqmApi#Optional_Parameters). In your case, you would use the following request to resolve a fully populated feed of test scripts in the <projectAlias>:

https://<hostname>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testscript?abbreviate=false

Hi Paul,

Thanks very much for your response. That works really well!

Joe

Hi Paul,

We tested this yesterday and it worked fine on our "live RQM instance". When we tried it on our test instance it didn't work. Right-clicking and "save link as" was not saving the text/XML, it was trying to save the link to the actual page.

In Firefox each entry looks like this:
Test Script #this is what needs to be right-clicked
15 November 2010 10:52
Keyword Implementation
Media files
PROJECT (Firefox Document) #this links to RQM

From the test instance the top one also links to RQM. i.e. It does not open up a window with plain text in it.

Does this make sense?
Any thoughts on why this is happening? Both are running the same version of RQM etc.

Regards,
Joe

0 votes


Permanent link
 https://<hostname>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testscript?abbreviate=false 

does not export all the test artifacts and limits the results to 50 artifacts.

is there any other parameter / value for it

0 votes


Permanent link

The test script feed can be used to download up to 512 test scripts per page of XML with an HTTP GET using the REST Client. The number of test scripts per page of XML is dependent on the value of the  Max Feed Entries/Page parameter in RQM Administration > Advanced Properties >  RQM Integration Component. The default value is 50.

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: Jan 28 '11, 9:32 a.m.

Question was seen: 7,590 times

Last updated: Feb 10 '20, 7:27 a.m.

Confirmation Cancel Confirm