It's all about the answers!

Ask a question

Download test data from RQM


Senan Scanlon (3686) | asked Apr 26 '11, 4:39 p.m.
Hi,

Is there a way to download test data as csv files other then going to All Test Data in RQM? Can e.g. RQMUrlutility be used?

Thanks in advance for any assistance.

Sean

4 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Sep 15 '11, 8:16 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Yes, see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op.

permanent link
kim ng (1121) | answered Sep 14 '11, 2:34 p.m.
is there a way to POST test data values into a RQM datapool?

permanent link
Jirong Hu (1.5k9290258) | answered May 04 '11, 11:35 a.m.
Hi

How if the test assets (test cases, test scripts) were created in RQM (not by uploading csv files)?

That last get should get the same CSV file that you uploaded to RQM

The only solution I identified is:

1. Use RQMULRUtility to retrieve the feed in XML.
2. Parse the above XML to get data want to be displayed in csv.
3. Create a csv file using the above data.

You can use various way to do the step2, but it's a XML development.

Is there any other way to do this job?

Jirong

permanent link
Kurtis Martin (1.4k11) | answered Apr 28 '11, 5:42 p.m.
JAZZ DEVELOPER
Hi,

Is there a way to download test data as csv files other then going to All Test Data in RQM? Can e.g. RQMUrlutility be used?

Thanks in advance for any assistance.

Sean


Yes you should be able to do this via the RQMUrlUtility. First you need to identify the URL for the test data you are interested in. You can do so via the datapool artifact type expose through the RQM REST API ( https://jazz.net/wiki/bin/view/Main/RqmApi ). Then you need to do a GET on that specific datapool. Then you need to get the attachment element from the XML of that datapool and do a GET on that attachment. The commands would look something like this:

java -classpath RQMUrlUtility.jar com.ibm.rqm.url.UrlUtility -command GET -filepath DP_List.xml -user ADMIN -password ADMIN -url https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality%20Manager/datapool

java -classpath RQMUrlUtility.jar com.ibm.rqm.url.UrlUtility -command GET -filepath My_DP.xml -user ADMIN -password ADMIN -url https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/datapool/_jQImAHGcEeCyM91ftMhyyg

java -classpath RQMUrlUtility.jar com.ibm.rqm.url.UrlUtility -command GET -filepath My_DP -user ADMIN -password ADMIN -url https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/attachment/urn:com.ibm.rqm:attachment:1

That last get should get the same CSV file that you uploaded to RQM when you created the Test Data in RQM UI.

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.