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.
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 logInfo
INFO: Starting: testscript 23FC598F352DC08D8525764F005253F1.xml
Oct 29, 2013 1:08:14 PM logInfo
INFO: Error received: 400, retry #: 0
Oct 29, 2013 1:08:17 PM logInfo
INFO: Error received: 400, retry #: 1
Oct 29, 2013 1:08:20 PM logError
SEVERE: RestException executing: PUT, RC: 400, message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns10="" xmlns:ns11="" xmlns:ns12="" xmlns:ns13="" xmlns:ns14="" xmlns:ns16="" xmlns:ns17="" xmlns:ns1="" xmlns:ns2="" xmlns:ns3="" xmlns:ns4="" xmlns:ns5="" xmlns:ns6="" xmlns:ns7="" xmlns:ns8="" xmlns:ns9=""><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.
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


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.


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

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.