It's all about the answers!

Ask a question

RQMCopyUtility


Krunal Gaoli (67869) | asked Nov 17 '15, 7:50 a.m.
 Hi Team, 

I am using CLM 6.0 and trying to copy test artifacts from one project area to another but while executing command i am getting the following error please refer below:

C:\>"Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\Ja
va\jre6\bin\rqm\RQMCopyUtility.jar" -s=https://hostname:9443/qm/service/com
.ibm.rqm.integration.service.IIntegrationService/resources/PROJECT1 -us=Pravin -p
ws=Pravin -d=https://hostname/qm/service/com.ibm.rqm.integration.servi
ce.IIntegrationService/resources/PROJECT_Test_Cases_Import_Export -a=testplan,testc
ase
Picked up _JAVA_OPTIONS: -Xmx512M
Nov 17, 2015 4:31:03 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Attempting to create SSL_TLS context
Nov 17, 2015 4:31:03 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: SSL_TLS SSLContext not available
Nov 17, 2015 4:31:03 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Unable to create SSL_TLS context, trying SSLv3
Nov 17, 2015 4:31:06 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: testplan
Nov 17, 2015 4:31:06 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: testplan
Nov 17, 2015 4:31:06 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 0
Nov 17, 2015 4:31:10 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 1
Nov 17, 2015 4:31:13 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC:
400, message: <html><head><title>Apache Tomcat/7.0.59 - Error report</title><sty
le><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525
D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;backgro
und-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color
:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,
sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans
-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-s
erif;background:white;color:black;font-size:12px;}A {color : black;}A.name {colo
r : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - <
/h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message
</b> <u></u></p><p><b>description</b> <u>The request sent by the client was synt
actically incorrect.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0
.59</h3></body></html>
Nov 17, 2015 4:31:13 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: FAILURE!
Disconnecting from the source IBM Rational Quality Manager server.
Disconnecting from the destination IBM Rational Quality Manager server.

Any suggestion Team

One answer



permanent link
Ted Mayer (47649) | answered Nov 17 '15, 11:59 a.m.

Hi Krunal,

The HTTP 400 error typically indicates a bad request, and seems to be failing when trying to read the testplan feed. Can you see what the following URI sends back. This should be the source URI, and please ensure to replace 'hostname' with the actual host of the server.

https://hostname:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PROJECT1/testplan

Thanks and regards,

Ted


Comments
Krunal Gaoli commented Nov 19 '15, 5:05 a.m.

 Thanks Ted I tried the same but it again showing same error.



Ted Mayer commented Nov 19 '15, 9:21 a.m.

Hi Krunal,

Since the same error occurs when navigating to the above URI, do you know if the name of the project has changed?

One way to find out is by adding the below URL in your browser:

https://hostname:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects

This will display a list of all of your project areas, if PROJECT1 has changed, then in the RQM Copy command, you would want to use the original project alias name.

Regards,

Ted

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.