RQM copy utility error
I want to copy test cases, scripts and results from one PA to another.
I have been reading the https://jazz.net/wiki/bin/view/Main/RQMCopyUtility and I'm first trying just to copy a test case within the same Project Area.
I'm following this :
- Copying a single artifact into the same project:
- java -jar RQMCopyUtility.jar -s=https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -a=testplan -id=urn:com.ibm.rqm:testplan:1 -l=importlog.txt
So this is my syntax :
C:\RQMCopy>"C:/Program Files (x86)/java/jre6/bin/java.exe" -jar RQMCopyUtility.j
ar -s=https://igarqm01.swg.usma.ibm.com/jazz/service/com.ibm.rqm.integration.ser
vice.IIntegrationService/resources/OOBT -us=username -pws=password
-a=testcase -id=urn:com.ibm.rqm:testcase:179549 -l=importlog.txt
And I got this errors :
Sep 18, 2013 1:32:01 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: SSL_TLS SSLContext not available
Sep 18, 2013 1:32:01 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Unable to create SSL_TLS context, trying SSLv3
Sep 18, 2013 1:32:11 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: After login, attempt to access init data returned: 404
Sep 18, 2013 1:32:14 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: testcase urn:com.ibm.rqm:testcase:179549
Sep 18, 2013 1:32:17 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: template testcase/com.ibm.rqm.planning.templates.testcase.defaul
t
Sep 18, 2013 1:32:17 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: remotescript TC001_TS3041_A_OnboardRecord_To_check_for_Amber_Sta
tus
Sep 18, 2013 1:32:17 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 0
Sep 18, 2013 1:32:22 AM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 1
Sep 18, 2013 1:32:25 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Er
ror reported: 404
Sep 18, 2013 1:32:25 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Er
ror reported: 404
Sep 18, 2013 1:32:25 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET, RC: 404, message:
Error 404: SRVE0295E: Error reported: 404
Sep 18, 2013 1:32:25 AM com.ibm.rqm.ct.util.Logger logError
SEVERE: FAILURE!
Disconnecting from the source IBM Rational Quality Manager server.
One answer
What version of RQM?
Does the https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA/remotescript/TC001_TS3041_A_OnboardRecord_To_check_for_Amber_Status resource exist? You can use Poster and/or HttpRequester to GET/HEAD the resource to confirm.
Comments
When I go to the link :
https://igarqm01.swg.usma.ibm.com/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA/remotescript/%20TC001_TS3041_A_OnboardRecord_To_check_for_Amber_Status
It ask my user and pwd and after it saids this :
Error 400: SRVE0295E: Error reported: 400
I'm using
rqm Version: 4.0.2
Quality Management - Core Libraries | 4.0.2 | I20130223_0049 |
Jazz Foundation - Core Libraries | 4.0.2 | RJF-I20130222-1204 |
Looks like you have an extra space (%20) after the last forward slash (/).