Feed url to download all the test scripts with steps for a particular test case
Accepted answer
It is working as expected for me with RQM 5.0.x.
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testscript?fields=feed/entry/content/testscript/(testcase[@href='https://server:port /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+ Management%29/testcase/urn:com.ibm.rqm:testcase:33']|*/steps/step/(name|title))
Comments
I did not get the same error in the original url.I get the error when i use '|' in feed url. How did u post the command?I was using rqm url utility. i have changed the url as u suggested but i still get the same error.
Snapshot of my command prompt,
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\libin>cd /d F:\Softwares\Testing\RQM-Extras-RQMUrlUtil-6.0
F:\Softwares\Testing\RQM-Extras-RQMUrlUtil-6.0>java -jar RQMUrlUtility.jar -comm
and GET -user myuser -password mypaswd -filepath C:\\Users\\libin\Desktop\\RQ
Mxmls\\testscript.xml -url https://localhost:9443/qm/service/com.ibm.rqm.integra
tion.service.IIntegrationService/resources/Demo%20(Quality%20Management)/testscr
ipt?fields=feed/entry/content/testscript/(testcase[@href='https://localhost:9443
//qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demo%
20(Quality%20Management)/testcase/urn:com.ibm.rqm:testcase:7']|*/steps/step/(nam
e|title))
'*' is not recognized as an internal or external command,
operable program or batch file.
F:\Softwares\Testing\RQM-Extras-RQMUrlUtil-6.0>
2 other answers
<feedUrl>?fields=feed/entry/content/testscript/(*|testcase[@href='<resourceUrl>']/steps/step/*)
Please try
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demo%20(Quality%20Management)/testscript?fields=feed/entry/content/testscript/(*|testcase[@href='https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demo+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:7']/steps/step/(name|title))
Hope this works for you.