It's all about the answers!

Ask a question

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


Bernardo Padua (122) | asked Oct 29 '13, 1:53 p.m.
 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;".]


One answer



permanent link
Ara Masrof (3.2k15) | answered Oct 29 '13, 2:08 p.m.
JAZZ DEVELOPER
 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

Comments
Bernardo Padua commented Oct 29 '13, 2:25 p.m.

 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.


Ara Masrof commented Oct 30 '13, 7:17 a.m.
JAZZ DEVELOPER

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 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.