It's all about the answers!

Ask a question

RQMUrlUtility XML Why with soöe TestCase i don't get an xml file?


ilian lelarge (11) | asked Jun 20 '18, 11:34 a.m.

Hi,

I am using RQMUrlUtility and i do this command:

java.exe -jar RQMUrlUtility.jar -command GET -user lil -password XXXXX -filepath "C:\Users\lil\Documents\xml_way\testcase5.xml"

 -url  https://<host>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectID>/testcase:1

But the file is not in XML and it shows only the" expected results" or other with text from different section I don't know why and i would like to have the XML to have Access to ist Testplan URL.

Thank you,

best regards I.LELARGE

One answer



permanent link
Don Yang (7.7k21109138) | answered Jun 20 '18, 11:49 p.m.

The URL looks odd, internal id does not look correct in my test, I tried with something like

https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>/testplan/urn:com.ibm.rqm:testplan:7

and it works. if you want to GET a specific test case's XML, it should be like

https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project>/testcase/urn:com.ibm.rqm:testcase:x
(x is test case numeric id such as 1 in your sample)


Comments
ilian lelarge commented Jun 21 '18, 2:56 a.m.

Thank you for your Response but with it i still don't get an XML but with one testcase without any expected result or so, i get an XML and I don't know why.

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.