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

Problem while running RQM Copy utility. ERROR com.ibm.rqm.ct.CopyUtil: java.lang.IllegalArgumentException: usernameSource is required for this command

 Hello all,

      While running the RQMCopy Utility to copy RQM data from Project area to Project area B, Getting Error as below.


25 Mar 2022 20:33:29,186+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Attempting to create SSL_TLS context
25 Mar 2022 20:33:29,215+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: SSL_TLS SSLContext not available
25 Mar 2022 20:33:29,215+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Unable to create SSL_TLS context, trying SSLv3
25 Mar 2022 20:33:30,101+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: java.lang.IllegalArgumentException: usernameSource is required for this command
25 Mar 2022 20:33:30,101+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
'subAction' is not recognized as an internal or external command,
operable program or batch file.
'tab' is not recognized as an internal or external command,
operable program or batch file.
'subAction' is not recognized as an internal or external command,
operable program or batch file.

0 votes

Comments
what command did you try?
RQM and RQMCopy Utility version info?


Accepted answer

Permanent link
Hi Suni

The format of your source and destination projects are not correct, please refer to

-sourceURL=<URL>
The "source" of the copy: a fully specified ETM server URL that includes the full services URL and Project Area. The URL should be of the pattern:https://<server>:<port>/<context>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project Name> Note: you must use the project alias name if you have renamed your project area. The project alias name is the original name of the project. <context> will be either qm or jazz. For more information about finding the project alias, see https://jazz.net/wiki/bin/view/Main/RqmApi#projectAlias.
I hope this helps to move forward.
Sunil Deshpande selected this answer as the correct answer

0 votes


2 other answers

Permanent link

 java -jar RQMCopyUtility.jar -s=https://hostname.org.net:9443/qm/web/console/project_area_name -us=*** -pws= -ud=* -pwd=** -d=https://hostname.org.net:9443/qm/web/console/project_area_name -l=c:\importlog.txt

0 votes


Permanent link
Hello Don,

We were able to copy the artifacts!! but for the test cases and Test script counts are different from Source and Destination . and the command gives below error.



"ERROR com.ibm.rqm.ct.CopyUtil: RestException executing: PUT, RC: 400, message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns21="http://www.w3.org/1999/XSL/Transform" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/"><ns2:statusCode>400</ns2:statusCode><ns2:message>Cannot modify an unmodifiable Template (Software test plan template).</ns2:message></ns2:Error>
28 Mar 2022 14:39:00,471+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: General REST Exception: RestException executing: PUT, RC: 400, message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns21="http://www.w3.org/1999/XSL/Transform" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/"><ns2:statusCode>400</ns2:statusCode><ns2:message>Cannot modify an unmodifiable Template (Software test plan template).</ns2:message></ns2:Error>
28 Mar 2022 14:39:00,473+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!"

0 votes

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
× 7,494
× 1,700
× 1,324
× 158

Question asked: Mar 25 '22, 11:07 a.m.

Question was seen: 1,466 times

Last updated: Mar 28 '22, 6:56 a.m.

Related questions
Confirmation Cancel Confirm