Transfer RQM v2.x (Server A) projects to RQM v3.x (Server B) and retire Server A??
We have 2 different servers e.g: Server A and Server B.
Server A is currently on RQM 2.x (/jazz) Server B is on RQM 3.0.1.1 (/qm) which has pre-existing projects We want to migrate data from Server A to Server B and Data includes: - Test Plan -Test data - Test Case -Test suite -Test Keyword -Test Script and perhaps retire server A once the transfer of projects from Server A to Server B is complete.. We planned the following approach:- a. On server A : Upgrade and migrate RQM v2.x to RQM v3.0.1.1(/jazz) b. Use copy utility to migrate project artifacts from "RQM v3.0.1.1(/jazz) -- Server A" to "RQM v3.0.1.1(/qm) -- Server B". But b. would fail since the context roots are different.. Any other approach that can be tried?? |
Accepted answer
Paul Slauenwhite (8.4k●1●2)
| answered May 03 '13, 6:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER edited May 03 '13, 9:15 a.m.
This error is unrelated to different context roots between the source and destination servers.
I believe you running into Copy Utility does not support spaces in the project area alias for PUT/POST requests. (57659), since the project area alias (newTOproject (Quality Management)) contains unencoded spaces causing the PUT request to the destination server to fail. Please try using the RQM Copy Utility in https://jazz.net/downloads/rational-quality-manager/milestones/4.0.3M4?p=allDownloads. Note, you will have to add the resources that don't supported GET/PUT operations in RQM 3.0.1.2 (e.g. channel - see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op) to the -ignoreTypes parameter (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference). Sunil Kumar R selected this answer as the correct answer
Comments Thank you, I tried the following:-
a. RQM 3012 copy utility
-- Yes as you indicated, I tired copying between 2 non-CLM projects i.e., without text "(Quality Management)" and it worked fine.
b. RQM 403 M4 copy utility also shows the same behavior as above..
Is there a copy utility which can help copy test artifacts between project areas with "space" char in them?
BR, Sunil
Unless it's a new defect or you are invoking the RQM 3.0.1.2 Copy Utility, this should work. Can you reconfirm and post your Copy Utility log?
I re-tried with RQM 403M4 copy util and with the command below..
C:\S\Softwares\RQMCopyUtil403M4>java -jar RQMCopyUtility.jar -version
RQM Copy Utility, version: 0.9.5_3_0
java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt
But it failed.. Here is the mig log : ftp://ftp.emea.ibm.com/fromibm/pmr/74428,999,744/74428.999.744.importlog_tryn.txt
Br, Sunil
1
Hi Sunil,
1
Rajat Singh
commented May 05 '13, 2:19 a.m.
Or maybe just the artifact types that you want to copy:
Example: java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt -a=testplan,testcase
|
2 other answers
Yes, this will work despite different the public URIs of the source and destination servers.
Comments Thank you Paul,
|
Hi Sunil,
The public public URI includes the context root so this should work. Where the context roots correct in the -s/-d parameters? If so, please attach the Copy Utility output/log. Comments Paul, I tried copying between RQM 3012 project Area on Server A with "/jazz" context root and RQM 3012 project area on Server B with "/qm" context root and it failed..
Here is the command used..
==========================
java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt
==========================
Here is the import log.. ftp://ftp.emea.ibm.com/fromibm/pmr/74428,999,744/74428.999.744.importlog.txt
So it seems the copy util does not work across contexts (jazz to qm / qm to jazz) : Can u pls verify?
BR; Sunil
|
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.