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

Moving Test Cases and Test Scripts from one RQM server to another

 Folks,
I am trying to move a set of test cases and test scripts (around 2000 items each) from one RQM 3.0.1 server to another 4.0.3 server. I tried using RQMCopyUtility utility, but i am getting XML schema errors, which i believe are due to the different server versions. How can i do this migration? Follow the error log:

Oct 29, 2013 1:08:13 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: testscript 23FC598F352DC08D8525764F005253F1.xml
Oct 29, 2013 1:08:14 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 0
Oct 29, 2013 1:08:17 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 1
Oct 29, 2013 1:08:20 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: PUT, RC: 400, message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns10="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns17="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="http://schema.ibm.com/vega/2008/" xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns3="http://purl.org/dc/elements/1.1/" xmlns:ns4="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns5="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns6="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"><ns2:statusCode>400</ns2:statusCode><ns2:message>The uploaded content does not consist of well-formed XML or does not match the XML schema for testscript</ns2:message><ns2:trace>javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: The element type "ns9:expectedResult" must be terminated by the matching end-tag "&lt;/ns9:expectedResult&gt;".]


0 votes



One answer

Permanent link
 Bernardo,
The copy utility cannot be used across major versions of the QM; so you cannot copy RQM 3.x data into a 4.x instance of RQM
In order to perform this type of migration you would need to first upgrade your 3.x data to 4.x

Ara

0 votes

Comments

 Isn't there any other way to bulk export the test cases/scripts from 3.x server and then import into 4.x? Upgrading would be a very time consuming process in this case.

Bernardo,

There are differences in the schema between version 3.x and 4.x that the upgrade process deals with under the covers. You will need to first upgrade your 3.x assets in order for you to then copy them to a difference server
Ara 

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
× 10,941

Question asked: Oct 29 '13, 1:53 p.m.

Question was seen: 5,389 times

Last updated: Oct 30 '13, 7:17 a.m.

Confirmation Cancel Confirm