It's all about the answers!

Ask a question

Bulk export using RQMURLUtility?


Simon Kal (1622) | asked Apr 20 '10, 2:24 p.m.
I've used the RQLURLUtility (https://jazz.net/wiki/bin/view/Main/RQMURLUtility) to export testcases, testplans, etc one at a time.
Is it possible to do a "bulk" export of specific assets? i.e. testcases 8, 9, 10, 11

I'm trying to come up with an approach to do this, without having to manually enter the command one line at a time, like this:
java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\DownLoad_XML.txt -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testplan/urn:com.ibm.rqm:testplan:33

5 answers



permanent link
Antonio Napoles (2861) | answered Apr 20 '10, 5:56 p.m.
JAZZ DEVELOPER
Hi, that is not supported by the RQMUrlUtility, the only approach to this would be for you to create a client that invokes the utility method given the desired ids and append the responses to a file.
Actually, maybe you already know this but, you can retrieve all the artifacts of a type by once, that gave you a summary of the resources by default but you can GET them fully populated by adding the parameter abbreviate=false like this:

java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\testcase.xml -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testcase?abbreviate=false

That would store all the testcases in testcases.xml

regards,
Napoles


I've used the RQLURLUtility (https://jazz.net/wiki/bin/view/Main/RQMURLUtility) to export testcases, testplans, etc one at a time.
Is it possible to do a "bulk" export of specific assets? i.e. testcases 8, 9, 10, 11

I'm trying to come up with an approach to do this, without having to manually enter the command one line at a time, like this:
java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\DownLoad_XML.txt -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testplan/urn:com.ibm.rqm:testplan:33

permanent link
Simon Kal (1622) | answered Apr 20 '10, 7:20 p.m.
Thanks Napoles. However, the .xml output only contained 25 testcases.

I think I've solved this by creating a batch file with one line for each asset that I'm looking for. It creates standalone .xml output files for each.

java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\DownLoad_XML.txt -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testplan/urn:com.ibm.rqm:testplan:33
java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\DownLoad_XML.txt -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testplan/urn:com.ibm.rqm:testplan:34
pause

permanent link
Steve Casilio (6) | answered Apr 28 '10, 5:11 p.m.
Hi Napoles

How do you adjust this comand to load more than 25 testcases?

I'm having the same issue when running this.


java -jar RQMURLUtility.jar -command GET -user userid -password password -filepath C:\testcase.xml -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testcase?abbreviate=false

Thank You

Steve

permanent link
Danae Panayiotidou (11) | answered May 01 '12, 10:41 a.m.
If you are getting a set number of results back, there might be a restriction in the Server Administration page.

Check Admin > Jazz Server Administration > Advanced Properties > RQM Integration Component > Max Feed Entries/Page

This value is usually 50 by default. You can change it, but I read somewhere the maximum you could set it to is 1000.

Hope this helps..

permanent link
Maheshwari Raj (6) | answered May 03 '12, 7:41 a.m.
I am facing issue on performing a search for test cases using the RQM query.
The test cases are categorised based on the Functionality, Sub Functionality and Micro Functionality.

On selecting a Functionality value from the drop down and clicking on "Run" lists all the test cases associated to this functionality. On viewing the Sub Functionality, its lists all the values present for the project area rather the expected behavior is it should only the dependent values based on the functionality. Similar behvaior is observed for Micro Functionality.
The search has become a tediuos job when we narrow down the search, is there a way to search for test cases using the query.

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.