RQM CopyUtility for Moving artifacts from one project to ano
Hi all,
I have installed RQM 2.0.1.1 on AIX. I have a requirement to move a project artifacts from one to another completely. I have downloaded RQMCopyUtility.jar file from jazz net. also as per the requirement for executing this, we need java 1.6 or above. I have installed java6 in my AIX machine and tried to execute the command for a complete copy. On executing i get the following error "Unable to access jarfile RQMCopyUtil.jar" Can anyone let me know why am i getting this error? Where should the command be executed? in the host server or destination server or in client machine ???? Can anybody suggest me the procedure to achieve this if I am wrong some where????? |
14 answers
To add on to this I noticed the following: Yes the URL should be for the IIntegrationService, not the web/console type URL. Also I noticed in the command you posted above that hits the 403 error, you specified -u as opposed to -us, for the user id. And I noticed that you didn't specifying any destination project area, so the copy will be made within a singe project area. I assume that's not what you want to do, but if it is, just use the Copy Template button in the Manage Templates UI. Also, please confirm which version of RQM you are using. |
To add on to this I noticed the following: Yes the URL should be for the IIntegrationService, not the web/console type URL. Also I noticed in the command you posted above that hits the 403 error, you specified -u as opposed to -us, for the user id. And I noticed that you didn't specifying any destination project area, so the copy will be made within a singe project area. I assume that's not what you want to do, but if it is, just use the Copy Template button in the Manage Templates UI. Also, please confirm which version of RQM you are using. As Kurtis mentioned, you need the IIntegrationService URL and -us (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference). Note, my post on Thu, 14 Jul 2011 @ 854 was to test your user credentials using the web UI. Please confirm your command using the Argument Reference and RQM version. |
I have several test plans that cannot be copied. This is typical of the error I get:
Aug 1, 2011 12:00:36 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: testplan urn:com.ibm.rqm:testplan:106 Aug 1, 2011 12:00:38 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: attachment urn:com.ibm.rqm:attachment:359 Aug 1, 2011 12:00:44 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: attachment urn:com.ibm.rqm:attachment:359 Aug 1, 2011 12:00:44 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: attachment urn:com.ibm.rqm:attachment:360 Aug 1, 2011 12:00:46 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: attachment urn:com.ibm.rqm:attachment:360 Aug 1, 2011 12:00:46 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: attachment urn:com.ibm.rqm:attachment:342 Aug 1, 2011 12:00:55 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: attachment urn:com.ibm.rqm:attachment:342 Aug 1, 2011 12:00:55 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: attachment urn:com.ibm.rqm:attachment:356 Aug 1, 2011 12:01:05 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: attachment urn:com.ibm.rqm:attachment:356 Aug 1, 2011 12:01:05 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: requirement urn:com.ibm.rqm:requirement:227 Aug 1, 2011 12:01:05 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: requirement urn:com.ibm.rqm:requirement:227 Aug 1, 2011 12:01:05 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: template testplan/com.ibm.rqm.planning.templates.testplan.template_1296767960595 Aug 1, 2011 12:01:05 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863545714092691 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863545714092691 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863561553679333 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863561553679333 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._12886357746169774 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._12886357746169774 Aug 1, 2011 12:01:06 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:objectives.defects.open.sev1s Aug 1, 2011 12:01:07 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:objectives.defects.open.sev1s Aug 1, 2011 12:01:07 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863587052180684 Aug 1, 2011 12:01:07 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._128863587052180684 Aug 1, 2011 12:01:07 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._129600962701695109 Aug 1, 2011 12:01:07 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Finishing: objective urn:com.ibm.rqm:objective:com.ibm.rqm.planning.objectives._129600962701695109 Aug 1, 2011 12:01:09 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 0 Aug 1, 2011 12:01:42 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 1 Aug 1, 2011 12:02:13 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 2 Aug 1, 2011 12:02:46 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 3 Aug 1, 2011 12:03:17 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 4 Aug 1, 2011 12:03:47 PM com.ibm.rqm.ct.util.Logger logError SEVERE: RestException executing: PUT, RC: 400, message: <xml><ns2><ns2>400</ns2><ns2>The uploaded content does not match the XML schema for testplan</ns2><ns2>javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException: The element type "ns3:testplan" must be terminated by the matching end-tag It is likely that I modified the contents of the template these test plans were based on. Newly created test plans can be copied. Any known / fixed problems that sound similar? |
Can you GET the problematic test plan as XML using the RQM reportable REST API (see https://jazz.net/wiki/bin/view/Main/RqmApi#Read) and post the XML? In addition, can you POST/import the test plan XML to the destination repository/project area?
|
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.