RQM Copy Utility: How to duplicate Test Case with different Test Case Template
I am trying to duplicate a Test Case and apply a different Test Case Template. From within RQM if I duplicate a Test Case, it also duplicates all of the sections - I have no option to select a different Test Case Template.
For this reason, I'm attempting to use the command-line method. Below is the latest attempt: ___________________________ SET LOGARTEFACTTYPESPATH=D:/Projects/RQM/Log_Atefacts.txt SET LOGPATH=D:/Projects/RQM/Log.txt SET IGNOREARTEFACTLIST=attachment,executionresult,executionsequenceresult,testsuitelog,buildrecord SET SOURCEURL=https://<server>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectName> SET DESTINATIONURL=https://<server>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Playground cd /D "C:\Program Files (x86)\Java\jre7\bin" REM Copy tests REM "-tc=testcase/com.ibm.rqm.planning.templates.testcase.template_1375989932726" java -jar RQMCopyUtility.jar "-s=%SOURCEURL%" "-us=<userName>" "-pws=<userPassword>" "-d=%DESTINATIONURL%" "-ud=<userName>" "-pwd=<userPassword>" "-log=%LOGPATH%" "-i=%IGNOREARTEFACTLIST%" "-a=testcase" "-id=https://<server>:<port>/jazz/web/console/<projectName>#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestCase&id=10060" "-f" pause |
One answer
Your RQM Copy Utility command is contains an incorrect -id parameter value. Instead, it should be the RQM Reportable REST API resource ID (see https://jazz.net/wiki/bin/view/Main/RqmApi#id and https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Usage_Examples).
|
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.