It's all about the answers!

Ask a question

RQM : Copy utility doesnt do deep copy

vinitha dsouza (14718108) | asked Jul 22 '20, 10:21 a.m.
Hello Team,

Currently trying the RQMCopy utility.
scenario: Move the test artifacts from one server(non configuration based) to another server(Configuration enabled).

Scenario 1:
Test data: 1 Testcase with Test script.
 expected: testcase and linked test script is migrated.
  actual: works fine no issues
Scenario 2:
Test data: 1 Test plan - have 3 Testcases ( one have Test script, rest all doesn have test scripts)
expected: test plan with 3 testcases and corresponding testscript is copied over
actual: test plan with 3 testcases but for 1 testcase which has test script not getting copied over.

Command fired:
java -jar RQMCopyUtility.jar -s=https://xxxx/qm/service/ -us=username -pws=password -d=https://xxx/qm/service/ -dc=https//xx:9443/qm/oslc_config/resources/ -a=testplan -l=importlog.txt

Could you please help why is this not working.

Thanks in advance

Accepted answer

permanent link
Krupa Gunhalkar (4512) | answered Jul 27 '20, 6:04 a.m.

 Hi Vinitha,

I cross checked with our in-house tool and 2 servers and copy is just working fine using the CopyUtility under the Scenario 2. 

I just noticed, that for the -d and -dc , there seems to be mismatch for the server name  from "xxx" in -d to "xx" in -dc and also, I notice missing -ud and -pwd parameters under the cmd. I assume these must be just typos since you mentioned, copy is working fine, its just that the one specific test case with script is not copied.

There could be one more possibility, if either of the artifacts "test case" or test script is in approved state, they wont be copied. I am not sure what the error message is shown for you in the importlog.txt. 

I suggest, cross check one more time from your end to see if copy happens. Else, raise a support request with IBM with specific issue related to your environment. 

Support Link :

Hope this helps,
Krupa Gunhalkar

vinitha dsouza selected this answer as the correct answer

Your answer

Register or to post your answer.