Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Failed to copy project with copyutility tool

Hi all,

I wanna copy a test plan from one RQM server to another. But it was failed as below.
C:\Documents and Settings\Administrator\Desktop\RQM-Extras-RQMCopyUtil-2.0.1-iFi
x3>java -jar RQMCopyUtility.jar -s=https://XXXXX:9444/jazz/secure/se
rvice/com.ibm.rqm.integration.service.IIntegrationService/resources/FSB2.1 -
us=***** -pws=***** -d=https://XXXXX:9444/jazz/secu
re/service/com.ibm.rqm.integration.service.IIntegrationService/resources/test -a
=testplan -id=urn:com.ibm.rqm:testplan:13 -l=importlog.txt
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
Aug 10, 2011 3:20:24 PM org.apache.commons.httpclient.HttpMethodDirector isRedir
ectNeeded
INFO: Redirect requested but followRedirects is disabled
Aug 10, 2011 3:20:25 PM org.apache.commons.httpclient.HttpMethodDirector isRedir
ectNeeded
INFO: Redirect requested but followRedirects is disabled
Aug 10, 2011 3:20:25 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: testcase urn:com.ibm.rqm:testplan:13
Aug 10, 2011 3:20:25 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 0
Aug 10, 2011 3:20:28 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 1
Aug 10, 2011 3:20:31 PM org.apache.commons.httpclient.HttpMethodBase getResponse
Body
WARNING: Going to buffer response body of large or unknown size. Using getRespon
seBodyAsStream instead is recommended.
Aug 10, 2011 3:20:31 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 400, message: Error 400: SRVE0295E: Er
ror reported: 400

Aug 10, 2011 3:20:31 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET, RC: 400, message:
Error 400: SRVE0295E: Error reported: 400

FAILURE!

I met this issue before. It's due to the original project name has been changed. The project name must be the one used when the project was created. If use the updated one, there will be error. But I can not remember the original one. Is there any way I can find the original name? Or is there any workaround?
Thanks

0 votes



6 answers

Permanent link
The RQM Copy Utility is built on the RQM Reportable REST API (see https://jazz.net/wiki/bin/view/Main/RqmApi). The resource URLs require the project area alias (see https://jazz.net/wiki/bin/view/Main/RqmApi#projectAlias), which can be resolved using the project feed service (see https://jazz.net/wiki/bin/view/Main/RqmApi#Project_Feed_Service).

0 votes


Permanent link
The RQM Copy Utility is built on the RQM Reportable REST API (see https://jazz.net/wiki/bin/view/Main/RqmApi). The resource URLs require the project area alias (see https://jazz.net/wiki/bin/view/Main/RqmApi#projectAlias), which can be resolved using the project feed service (see https://jazz.net/wiki/bin/view/Main/RqmApi#Project_Feed_Service).


I am using following link to get project area alias

https://<shostname>.<domain>:9443/qm/service/com.ibm.integration.service.IIntegrationService/projects

But its giving error

Error 503: CRJAZ1168I Service "com.ibm.integration.service.IIntegrationService" is not defined for remote execution.

Thanks for help.

0 votes


Permanent link
Use com.ibm.rqm.integration.service.IIntegrationService (see https://jazz.net/wiki/bin/view/Main/RqmApi#Project_Feed_Service).

0 votes


Permanent link
Use com.ibm.rqm.integration.service.IIntegrationService (see https://jazz.net/wiki/bin/view/Main/RqmApi#Project_Feed_Service).


Thanks Paul.

I am trying to copy customized test plan template.

when I open the URL https://<hostname>.<domainname>:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/aWBCS+%28Testing%29
in web browser, its giving error

Error 501: SRVE0295E: Error reported: 501

0 votes


Permanent link
You need the resource type (see https://jazz.net/wiki/bin/view/Main/RqmApi#feedUrl_for_interaction_with_a_f). I would suggest you spend some time reading the API documentation (https://jazz.net/wiki/bin/view/Main/RqmApi).

0 votes


Permanent link
Hi Paul,

I am trying to copy test plan template from one project to another but couldn't succeded with RQm 4.0.4 with WAS 8.5.0.2 , I tried this operations while RTC 3.0.3 was first came out and was successfull.

When I try to access the URL https://servername:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestYonetimi1387280314149%28Quality+Management%29 I got Error 501: SRVE0295E: Error reported: 501

I run the same scripts except for the project name and testplan id's.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 10 '11, 5:03 a.m.

Question was seen: 5,516 times

Last updated: Jan 03 '14, 4:41 a.m.

Confirmation Cancel Confirm