I get RestException executing: PUT File Artifact, RC:302 when I try to copy the test plan from one RQM server to another
I am trying to copy the test plan from one server to another. I get the following exception while doing this
Oct 7, 2013 3:17:33 PM com.ibm.rqm.ct.util.Logger logInfoINFO: Attempting to create SSL_TLS context Oct 7, 2013 3:17:44 PM com.ibm.rqm.ct.util.Logger logInfoINFO: Starting: testplan urn:com.ibm.rqm:testplan:408 Oct 7, 2013 3:17:53 PM com.ibm.rqm.ct.util.Logger logInfoINFO: Starting: attachment urn:com.ibm.rqm:attachment:30666 Oct 7, 2013 3:17:58 PM com.ibm.rqm.ct.util.Logger logInfoINFO: Authentication expired, relogin required Oct 7, 2013 3:18:07 PM com.ibm.rqm.ct.util.Logger logErrorSEVERE: RestException executing: PUT File Artifact, RC: 302, message: Oct 7, 2013 3:18:12 PM com.ibm.rqm.ct.util.Logger logErrorSEVERE: RestException executing: PUT File Artifact, RC: 302, message: Oct 7, 2013 3:18:12 PM com.ibm.rqm.ct.util.Logger logErrorSEVERE: General REST Exception: RestException executing: PUT File Artifact, RC: 302, message: Oct 7, 2013 3:18:12 PM com.ibm.rqm.ct.util.Logger logErrorSEVERE: FAILURE! Disconnecting from the source IBM Rational Quality Manager server. Disconnecting from the destination IBM Rational Quality Manager server. Command used - java -jar RQMCopyUtility.jar -s="https://source:9444/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA" -us=ADMIN -pws=ADMIN -a=testplan -id=urn:com.ibm.rqm:testplan:XXX -ud=ADMIN -pwd=ADMIN -d="https://target:9675/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectB - Predictive Maintenance & Quality (Quality Management)" -l=importlog.txt RQM version of source server - 4.0.2 RQM version of target server - 4.0.3 |
One answer
Are you using a proxy server? For some reason, the RQM Copy Utility cannot update (PUT request) the attachment since it's temporarily redirecting. Can you GET the following using Poster/HTTP Requester:
https://<host>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project area alias>/attachment/urn:com.ibm.rqm:attachment:30666?abbreviate=false Accept: application/xml Note:https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote6. Note, the source/target servers must be the same version (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Compatibility). Comments
Jagadish R Rao
commented Oct 07 '13, 10:41 a.m.
Paul,
No we are not using any proxy server and this is on our intranet only probability could be that the RQM server is in different Geo and this could have resulted in some redirection happening when we used hostname , with IP RQMUtility was able to copy all the artifacts without any issues .
but surprisingly if i invoke the REST url from browser I can see all the test artifacts whether it be plan or test cases
Jagadish
Hi Jagadish,
Don Yang
commented Oct 08 '13, 8:27 p.m.
When RQM is in different Geo, I suppose you need to have an DNS entry in your local host file.
|
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
Geetha,
Ara Masrof,
Jagadish,