Receiving a 404 when trying to copy a remotescript resource with an ID that doesn't even exist
Hi,
I just started using the RQMCopyUtility to migrate test artifacts from RQM4.0.2 to another 4.0.2 project
and recieved the following error:
Right when it finished all the testcase artifacts it started on the remote scripts (test scripts)
INFO: Already Added: testcase urn:com.ibm.rqm:testcase:1574
30-May-2013 1:06:30 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Finishing: testcase urn:com.ibm.rqm:testcase:1574
30-May-2013 1:06:30 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: remotescript urn:com.ibm.rqm:remotescript:8114
30-May-2013 1:06:30 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 0
30-May-2013 1:06:33 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 404, retry #: 1
30-May-2013 1:06:36 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
30-May-2013 1:06:36 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
30-May-2013 1:06:36 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: General REST Exception: RestException executing: GET, RC: 404, message: Error 404: SRVE0295E: Error reported: 404
30-May-2013 1:06:36 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: FAILURE!
I then checked the following feed for a particular resource and got the same 404: in my browser
https://clm4poc.rmtools.ssh:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OLIS+Pre+And+Post+Landing+Test+Validations/remotescript/urn:com.ibm.rqm:remotescript:8114
which means object doesn't exist...
When I went to browse testscripts in RQM and ordered by ID 8114 doesn't show up. And I know I only have
10 test scripts in this project. I also checked the feed and only saw the corresponding 10 scripts:
My question is how come the RQMCopyUtility was trying to get a remotescript uri with ID 8114?
Could it be an archived testscript that I deleted from before? I know archived artifacts are not physically deleted from the repository.
2 answers
Using the -f parameter, the error was skipped and Sean was able to verify that all other artifacts were copied over.
-f, -force
Continue on failure. Default behavior is to exit at first failure.
-f, -force
Continue on failure. Default behavior is to exit at first failure.
Comments
Sean
You can append "?includeArchived=true" to the feed URL to obtain archived artifacts
For example:
https://clm4poc.rmtools.ssh:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OLIS+Pre+And+Post+Landing+Test+Validations/remotescript/urn:com.ibm.rqm:remotescript:8114?includeArchived=true
...if you run this does it return data?