Reuse test case/test plan template created in other project?
![]()
Hi there,
Could anyone please advise if there is a way to reuse the custom test plan or test case template, which is created in another project area? Look forward to your adive. Thank you in advance. Regards, Sandra |
9 answers
![]()
Hi Sandra,
The easiest way will be arriving in 2.0.1, where you can do a direct copy in the UI. (https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/21563) In the mean time, you can use the command line RQM Copy Tool. The download is here: https://jazz.net/downloads/rational-quality-manager/releases/2.0.0.1/RQM-Extras-RQMCopyUtil-2.0.0.1.zip The doc is here: https://jazz.net/wiki/bin/view/Main/RQMCopyUtility Hope that helps. John Hi there, |
![]()
And what about the test plan and test case templates? User does not want
to copy test assets, just the templates (customized sections and categories) they have defined for a project area. They want to have the same RQM customized template for every project area without having to customize it again every time there is a new project area. Thanks, Ana |
![]()
Hi Ana,
My reply applies to Templates as well. Regards, John And what about the test plan and test case templates? User does not want |
![]()
Hi John,
Thanks for your info. I have used as per your suggestion but I am not able to copy the testplan templates from one project to another. Pls find the syntax: java -jar RQMCopyUtil.jar -s=https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ Pls find the log file : Dec 16, 2009 12:29:03 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting processing of artifact type: testplan Dec 16, 2009 12:29:04 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Reading feed for artifact type: testplan Dec 16, 2009 12:29:11 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Done reading feed for artifact type: testplan Dec 16, 2009 12:29:11 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: testplan urn:com.ibm.rqm:testplan:8 Dec 16, 2009 12:29:15 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: testcase AddNewCustomer_TC.xml Dec 16, 2009 12:29:17 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting: testscript AddNewCustomer_TS.xml Dec 16, 2009 12:29:23 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 0 Dec 16, 2009 12:29:26 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 400, retry #: 1 Dec 16, 2009 12:29:29 PM com.ibm.rqm.ct.util.Logger logError SEVERE: RestException executing: PUT, RC: 400, message: <html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 400 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect ().</u></p><HR><h3>Apache Tomcat/5.5.23</h3></body></html> Dec 16, 2009 12:29:29 PM com.ibm.rqm.ct.util.Logger logError SEVERE: RestException executing: PUT, RC: 400, message: <html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 400 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect ().</u></p><HR><h3>Apache Tomcat/5.5.23</h3></body></html> Dec 16, 2009 12:29:29 PM com.ibm.rqm.ct.util.Logger logError SEVERE: RestException executing: PUT, RC: 400, message: <html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 400 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect ().</u></p><HR><h3>Apache Tomcat/5.5.23</h3></body></html> Dec 16, 2009 12:29:29 PM com.ibm.rqm.ct.util.Logger logError SEVERE: General REST Exception: RestException executing: PUT, RC: 400, message: <html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><H1></style> </head><body><h1>HTTP Status 400 - </h1><HR><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect ().</u></p><HR><h3>Apache Tomcat/5.5.23</h3></body></html> Thanks, Manesh |
![]()
kmanesh,
Make sure you are referencing the "Alias" (the original name) of both source and destination projects using that utility. I received similar errors due to not using the right project name (our projects had been renamed a couple of times). Find alias names here: https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects |
![]()
Hi caimoss,
Thanks for your response. I have given correct Alias name then also I am getting same error. Can you pls help me on this ?? Thanks, Manesh kmanesh, |
![]()
Hi Everyone,
RQM V2.0.1 does 'not' appear to offer the facilities to 'copY' Test Plan Templates and Test Case Templates across to a different P.A. The facilities available under RQM V2.0.1 are: a) Run a DOS command ('copySettings'. This is well documented under RQM Help. b) Use the RQM end-user Web UI to copy Test Assets (TPs; TCs; TSs etc) in one-shot by selecting all the assets. Obviously, you need to use the View for each of these assets one at a time. CAUTIN: Any duplicate TCs and TSs will be copied as "opy of TCxxxxx' and/or 'Copy of TSyyyy' (eg. if you have orphan TCs and TSs, as well as others that are owned by TPzzzz and you copied all the TCs and TPs for the corresppodning view). The above are the only two options. However, there seems to be 'no way' to copy TP and TC Templates from either of the above two ways. Thus, if I have created my Own TP template (eg. IBM's UMF 7.5 WP-based TP Templates), I cannot copy these across. The 'Manage Templates' Section does have a 'copy' icon, however, its offerings has not changed from pervious version - thus can only copy within the 'same' PA. Regards, Sumant Bhattacharya IBM, Australia Hi Sandra, Hi there, |
![]()
There was an issue using the copy tool to copy some templates that was fixed in the 2.0.1 release of the copy tool.
You can get that release right here: https://jazz.net/downloads/rational-quality-manager/releases/2.0.1/RQM-Extras-RQMCopyUtil-2.0.1.zip Regards, John Nason |
![]()
Just an alternative: I created various XML files which are templates for TP, TC, TS... I load them with 1 DOS bat file into a project. It sets templates, categories etc. It works fine for RQM2.0. I've even defined a master testplan template for 201.
Check for some samples: http://business.vanlint5.nl/rqm/cust.html (see Catogories.zip). |
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.