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:
|
2 answers
Hi,
First issue to address is the source/destination URLs are incorrect (-s and -d). They should be REST style URLs like this:
s=https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -d=https://myhost2:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectB -l=importlog.txt -i=testcase,testplan
It looks like you may have the project aliases correct but confirm but checking the project feed:
Also I am not sure what this is:
You specify the source and destination user/password as follows:
Comments
Mallikarjuna Manoj Kandala
commented Jul 07 '20, 3:04 a.m.
The below command worked.. but we are seeing many warnings..
|
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
You can do that with -id, e.g. -id=urn:com.ibm.rqm:labresource:3
You can get the individual lab resources from the lab resources feed:
https://clmsupport:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/System%20Test%20(Quality%20Management)/labresource
Comments
Mallikarjuna Manoj Kandala
commented Jul 07 '20, 3:05 a.m.
Hi Brett,
03 Jul 2020 22:14:17,760-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Ignoring artifact of type: configuration with id: TE88520
03 Jul 2020 22:14:17,760-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Finishing: configuration TE88520
03 Jul 2020 22:14:17,760-0500 [main] INFO com.ibm.rqm.ct.CopyUtil: Starting: configuration TE88521
03 Jul 2020 22:14:17,788-0500 [main] WARN com.ibm.rqm.ct.CopyUtil: configuration TE88521 cannot be copied since the referenced labresourceattribute Machine in property configurationParts/configurationPart/type does not exist in the destination catalog. To resolve, create the referenced labresourceattribute Machine in the destination catalog and recopy configuration TE88521.
Thank you.
|
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.
Comments