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

RQM Execution Tool doesn't Accept passwordFile parameter

I'm trying to use the RQM Execution Tool with the passwordFile parameter but it is not accepted.

This is the command I'm running

"C:\Program Files\IBM\Java70\jre\bin\java" -jar RQMExecutionTool.jar -tcerId=9399 -projectName="My Project" -publicURI="https://server.com:9443/jazz" -user=user -passwordFile="c:\passwordfile" -exitOnComplete=true -printResultUrl=true

And I receive this error message:

SEVERE: java.lang.IllegalArgumentException: Command line switch not found: [-passwordFile=c:\passwordfile].
com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: llegal argument provided. See help for argument list and usage.


I'm running RQM 4.01 at server and the equivalent RQM 4.01 RQMExecutionTool client

I also tried using the 4.03 client and it didn't worked, received the same error


The reference to the -passwordFile parameter is stated in the RQM Execution Tool wiki  but is not listed in the reference that appears in the prompt after the command fails or when I run the -help parameter

Anyone know if this is something that will be implemented yet in next release 4.04 ?

0 votes


Accepted answer

Permanent link
Hi,

The passwordFile parameter is not yet available. The tool can support these switches or parameters based on the rqmexectool.xml from RQM Execution Tool:

<property name="rqmUser" value="qmuser"/>
<property name="rqmPassword" value="password"/>
<property name="rqmUri" value="https://localhost:9443/jazz"/>
<property name="rqmProjectName" value="Quality Manager"/>
<property name="testCaseERId" value="1"/>
<property name="scriptId" value="1"/>
<property name="adapterId" value="1"/>

<executeTestCaseExecRecord userId="${rqmUser}" password="${rqmPassword}" rqmServerUrl="${rqmUri}" projectName="${rqmProjectName}" testCaseExecRecordId="${testCaseERId}" scriptId="${scriptId}" adapterId="${adapterId}" arguments="-exitOnComplete=true"/>

Cheers,
Will

Leandro David selected this answer as the correct answer

1 vote

Comments

Thanks Willian.

Do you know if it is planned for the next release (4.04) ??
If yes, do you know if it will be possible to use the RQMExecutionTool 4.04 with 4.03 server or is it something that will require the updated version in server too ?


One other answer

Permanent link
Hi Leandro,

No problem. The option is intended to be available in 4.0.4 release. Please see this enhancement request for more information - Add support for JBE password file to the RQM Commandline Execution Tool:

https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=86068

Cheers,
Will

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

Question asked: Jul 10 '13, 6:24 p.m.

Question was seen: 6,352 times

Last updated: Jul 18 '13, 4:03 p.m.

Confirmation Cancel Confirm