It's all about the answers!

Ask a question

RQMURLUtility : Can we feed multiple IDs to the GET command


Venkatesh Prasad (219) | asked Apr 29 '19, 10:34 a.m.
Hello All,

I am running the below command and can successfully get the XML format of the testscript.
But, my requirement is to feed 4 testscript IDs at one shot to the command and get one single XML output having the XML extract of the 4 testscript IDs. How do I feed it in the command please.

java -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -Xmx1024m -jar RQMUrlUtility.jar -command GET -user user_name -password my_password -filepath C:\Users\myfolder\test2\DownLoad_XML1 -url "https://server.host/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_PA+%28Quality+Management%29/testscript/urn:com.ibm.rqm:testscript:1234"

One answer



permanent link
Bharath Rao (6566) | answered Apr 29 '19, 10:49 a.m.
Hi,

Currently with RQMURLUtility, you can either GET all the artifacts of a type or specific artifact ID.

Artifacts download --:
-command GET -user ADMIN -password ADMIN -filepath C:\\RQMUrlUtility_GET.txt
-url https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality%20Manager/testscript

You can however create a script(for instance using python/bat) to perform the below:
a. Enter all the IDs on which GET has to be performed in a text file
b. Write a scripts to read and append the IDs from the text file to the command, and run the command

Hope this helps!

---
Please mark the questions answered if it helped or let me know if you have any further questions.

Your answer


Register or to post your answer.