It's all about the answers!

Ask a question

RQM copy utility error


Cesar Sasaki (511289129) | asked Sep 18 '13, 2:43 a.m.
retagged Sep 23 '13, 10:09 a.m. by Ralph Earle (25739)
Hi

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



permanent link
Paul Slauenwhite (8.4k12) | answered Sep 18 '13, 8:47 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 18 '13, 10:42 a.m.
Your user credentials are correct but some requests during initialization are returning 302 (Found but redirection).  Has the RQM server been moved (e.g. server rename or reverse proxy)? 

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
Cesar Sasaki commented Sep 18 '13, 10:21 a.m. | edited Sep 18 '13, 10:23 a.m.

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


Paul Slauenwhite commented Sep 18 '13, 10:44 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Looks like you have an extra space (%20) after the last forward slash (/).

Your answer


Register or to post 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.