[Closed] RQMCopyUtility: Ignore specific not working and no recurse -need more info
Hello,
I wanted to transfer all the Test plans from source server to Destination server except testplan 27.
so i sent below command but still all the testplan including 27 was copied.
java -jar C:\Users\admin\Downloads\RQM-Extras-RQMCopyUtil6.0.2\RQMCopyUtility.jar -s="Source Server/qm/web/console/Function Development (Testing)" -us=ADMIN-pws=ADMIN -d="Destination server/qm/web/console/Function Development (QualityManagement)" -a=testplan,testcase -is=testplan:com.ibm.rqm:27
no-recurse: As for my understanding it will ignore if the testplan already available in destination but it doesn't happen that way. Please let me know how to use -nr.
Thanks,
Regards,
Kumar
I wanted to transfer all the Test plans from source server to Destination server except testplan 27.
so i sent below command but still all the testplan including 27 was copied.
java -jar C:\Users\admin\Downloads\RQM-Extras-RQMCopyUtil6.0.2\RQMCopyUtility.jar -s="Source Server/qm/web/console/Function Development (Testing)" -us=ADMIN-pws=ADMIN -d="Destination server/qm/web/console/Function Development (QualityManagement)" -a=testplan,testcase -is=testplan:com.ibm.rqm:27
no-recurse: As for my understanding it will ignore if the testplan already available in destination but it doesn't happen that way. Please let me know how to use -nr.
Thanks,
Regards,
Kumar
Accepted answer
The ID is incorrect in your command. It should have been -is=testplan:urn:com.ibm.rqm:testplan:27. You should see something like this:
Oct 04, 2016 2:16:05 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: testplan urn:com.ibm.rqm:testplan:27
Oct 04, 2016 2:16:05 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Ignoring artifact of type: testplan with id: urn:com.ibm.rqm:testplan:27
For the -nr parameter, you can find its explanation in the ReadMe file:
Oct 04, 2016 2:16:05 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: testplan urn:com.ibm.rqm:testplan:27
Oct 04, 2016 2:16:05 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Ignoring artifact of type: testplan with id: urn:com.ibm.rqm:testplan:27
For the -nr parameter, you can find its explanation in the ReadMe file:
-nr, -norecurseWhat it means that, if you specify "-a=testplan -nr", you request to copy testplans only, not their associated testcases or other "children". I don't think it bears anything meaning of "destination".
Used in conjunction with artifactType. Specify that descendant (referenced) artifacts of the specifed artifact should not be copied.
Comments
Kumar Kumar
Oct 03 '16, 7:22 a.m.No solution :(