It's all about the answers!

Ask a question

RQM Copy Utility: How to duplicate Test Case with different Test Case Template

Brian Muse (111) | asked Aug 09 '13, 1:44 p.m.
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 LOGPATH=D:/Projects/RQM/Log.txt
SET IGNOREARTEFACTLIST=attachment,executionresult,executionsequenceresult,testsuitelog,buildrecord
SET SOURCEURL=https://<server>:<port>/jazz/service/<projectName>
SET DESTINATIONURL=https://<server>:<port>/jazz/service/

cd /D "C:\Program Files (x86)\Java\jre7\bin"

REM Copy tests
REM  "-tc=testcase/"
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>" "-f"

One answer

permanent link
Paul Slauenwhite (8.4k12) | answered Aug 13 '13, 7:28 a.m.
Your RQM Copy Utility command is contains an incorrect -id parameter value.  Instead, it should be the RQM Reportable REST API resource ID (see and 

Your answer

Register or to post your answer.