Export specific testresources from RQM with it's ID using REST API.
Hi,
I am trying to export a single testcase using rest api.
When i gave the following URL it gave a feed containing all the Testcase details:
But when i gave
It is not giving me the feed kind of output. it is navigating me to the view testcase screen in RQM.
Note: If i am getting a feed that contains only one testcase, i could save it as an XML doc.
Accepted answer
I am out of ideas; you could contact IBM Rational Client Support for further assistance on this.
this will give you an opportunity to discuss the specifics of this issue and the solution required..
Best Regards, Sunil
this will give you an opportunity to discuss the specifics of this issue and the solution required..
Best Regards, Sunil
3 other answers
Hello Sreenisha, you could simply download the artifacts using the RQM URL Utility (available for all versions of RQM)..
Here is a sample command to download TestCase with id 209 to XML..
java -jar RQMUrlUtility.jar -command GET -user admin -password admin -filepath C:\\testCase_209.xml -url https://clm:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/testProjectofCLM403+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:209
Best Regards, Sunil
Comments
Hello Sreenisha, what the error means is that the arguments which you have passed is wrong..
I am able to replicate the error with wrong user id and password, ofcourse with a different exception.
The error that you see could be indicating connection issues from the RQMUrlUtility machine to the RQM server..
Best Regards, Sunil
Comments
Hello Sreenisha, Your url has extra string "secure"
https://My-server:port/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project-alias/testcase/urn:com.ibm.rqm:testcase:846
That is not a part of the REST URL!
Best Regards, Sunil
https://My-server:port/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project-alias/testcase/urn:com.ibm.rqm:testcase:846
That is not a part of the REST URL!
Best Regards, Sunil