RQM Copy Utility -- ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: PUT Lab Resource, RC: 400, message: Error 400: SRVE0295E: Error reported: 400
We are trying to use the RQM Copy Utility using below command:
---
java.exe -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -jar RQMCopyUtility.jar -s="https://jazz.rchland.ibm.com/qm/web/console/System%20Test%20(Quality%20Management)" -d="https://jazzt.rchland.ibm.com:9443/jazz/web/console/HST%20Sandbox" -us=xx@in.ibm.com" rel="noopener">@in.ibm.com -pws="xxxx" -a=labresource
We get the below error :
10 Jun 2020 10:45:21,627-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Attempting to create protocol context using system property: TLSv1.2
10 Jun 2020 10:45:29,791-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Starting processing of artifact type: labresource
10 Jun 2020 10:45:29,806-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Reading feed for artifact type: labresource
10 Jun 2020 10:45:40,048-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Done reading feed for artifact type: labresource
10 Jun 2020 10:45:40,058-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Starting: labresource urn:com.ibm.rqm:labresource:1
10 Jun 2020 10:45:41,545-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 400, retry #: 0
10 Jun 2020 10:45:44,953-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Error received: 400, retry #: 1
10 Jun 2020 10:45:47,953-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: PUT Lab Resource, RC: 400, message: Error 400: SRVE0295E: Error reported: 400
10 Jun 2020 10:45:47,955-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: General REST Exception: RestException executing: PUT Lab Resource, RC: 400, message: Error 400: SRVE0295E: Error reported: 400
10 Jun 2020 10:45:47,958-0500 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
10 Jun 2020 10:45:47,962-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
10 Jun 2020 10:45:48,097-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.
On the target, only the below permissions are not given:
Save Project Execution Variables
Save Attachment
Save Execution Schedule Results
Save Values of Project Execution Variables
PLease suggest.
2 answers
Hi,
Comments
The below command worked.. but we are seeing many warnings..
java -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -jar RQMCopyUtility.jar -s="https://jazz-source.xxx.ibm.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects/System+Test+%28Quality+Management%29" -d="https://jazz-destination.xxx.ibm.com:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/projects/HST+Sandbox" -us=w3ID@xx.ibm.com -pws=xxxxxxxxxx -l=importlog-July02.log -pl=progressLog_July02.txt -c=progressLog_June24.txt &
IF you have problems after correcting the source and destination URLs, which are definitely incorrect, you might try copying individual lab resources as a test, rather than copying all with -a
Comments
Hi Brett,
I see lot of warnings, please guide to address those:
Comments
Mallikarjuna Manoj Kandala
Jul 07 '20, 3:07 a.m.