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

RQM Command Line Execution Tool Error

CLM 4.0.4

I am using the tool with ant from my build definition.
From the build log file:

CreateTestSuiteResult:
[executeTestSuiteExecRecord] Attempting to create SSL_TLS context
[executeTestSuiteExecRecord] Successfully created an HTTP client
[executeTestSuiteExecRecord] Attempting to create SSL_TLS context
[executeTestSuiteExecRecord] Connection to RQM Server is established
[executeTestSuiteExecRecord] Procesing input parameters for TestSuite Execution
[executeTestSuiteExecRecord] Starting execution
[executeTestSuiteExecRecord] Exception occurred while doing a post to the server with the URL:https://ilclm.redbend.com:9443/qm/service/com.ibm.rqm.execution.common.service.rest.ITestSuiteExecutionRecordRestService/execute. Please verify that the adapter being used is running and the values for parameters tserId, suiteStepScriptIds, suiteStepAdapterIds are valid and exist.
[executeTestSuiteExecRecord] Internal Error occurred. See log for more details


Where can I find the log file?
Thanks,
Liora

0 votes



2 answers

Permanent link
Found the problem. The user ${userId} was not part of the Project Area. As soon as I added him it start working.

Thanks,
Liora

0 votes


Permanent link
Hi Liora

What all arguments are you passing?
You need to specify the -suiteStepScriptIds argument with scriptIds which you want to execute
Also if you want to execute remote script then you need to specify the adapterId

0 votes

Comments

the ant file:
<project name="vrm" default="CreateTestSuiteResult">
    <target name="CreateTestSuiteResult">
        <executeTestSuiteExecRecord
            userId="${userId}"
            password="${password}"
            rqmServerUrl="${rqmServerUrl}"
            projectName="${projectName}"
            testSuiteExecRecordId="${testSuiteExecRecordId}"
            arguments="-exitOnComplete=true -resultState=com.ibm.rqm.execution.common.state.error" />
    </target>
    <taskdef name="executeTestSuiteExecRecord"
        classname="com.ibm.rqm.executiontool.RQMExecuteTestSuiteExecRecord" />
</project>

The -suiteStepScriptIds argument is missing here and so you are getting the error. Include the -suiteStepScriptIds argument in your ant file

Usage example

"Executing a Test Suite Execution Record":

"ExecutionUtility -tserId=134 -projectName="Quality Manager" -publicURI=https://localhost:9443/jazz -user=<valid user>  -password=<correct password>   -suiteStepScriptIds=10,23,,45 -suiteStepAdapterIds=20,20,,11 -exitOnComplete=false

Some help info for the new arguments

-suiteStepScriptIds=1,,4,10 : Optional comma separated scriptIds for each step in the order of step. Leave blank for a step where not applicable or want to use default script.
        For instance, to specify scriptId 4 for step 1, script 78 for step 3 for a suite with 5 steps, argument value would be as follows:
        -suiteStepScriptIds=4,,78,,
 
-suiteStepAdapterIds=<comma separated adapter ids for each suite step> : Optional comma separated adapter Ids for each step in the order of step. Leave blank for a step where adapter is not required or want RQM to assign an adapter.
        For instance, to specify adapterId 20 for step 2,  15 for step 3 for a suite with 3 steps, argument value would be as follows:
        -suiteStepAdapterIds=,20,15

I think that using the "-resultState" argument eliminates the necessity of using the 

"-suiteStepAdapterIds" argument. 
This ant file was already used as it is in another project and worked perfectly. It must be something else. 

Do you know where I can find the log file stated in the error?

You can add argument -verbose=true
this will print additional logs in console

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
× 10,927

Question asked: Sep 30 '14, 5:34 a.m.

Question was seen: 4,927 times

Last updated: Oct 01 '14, 11:59 p.m.

Related questions
Confirmation Cancel Confirm