RQM Command Line Execution
While running TestCases in RQM using ANT I am getting an exception, can any body help me with a solution for this exception.
Attempting to create SSL_TLS context
Oct 8, 2013 11:08:40 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Successfully created an HTTP client
Attempting to create SSL_TLS context
Oct 8, 2013 11:08:41 AM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Oct 8, 2013 11:08:41 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Connection to RQM Server is established
Oct 8, 2013 11:08:43 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Procesing input parameters for TestSuite Execution
Oct 8, 2013 11:08:43 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Starting execution
Oct 8, 2013 11:08:46 AM com.ibm.rqm.executiontool.util.ExecutionLogger logError
SEVERE: Exception occurred while doing a post to the server with the URL:https://<Server>: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.
Oct 8, 2013 11:08:46 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Internal Error occurred. See log for more details
[echo] UNKNOWN
[echo]
--
Thanking you
Anjaly.
Attempting to create SSL_TLS context
Oct 8, 2013 11:08:40 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Successfully created an HTTP client
Attempting to create SSL_TLS context
Oct 8, 2013 11:08:41 AM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Oct 8, 2013 11:08:41 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Connection to RQM Server is established
Oct 8, 2013 11:08:43 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Procesing input parameters for TestSuite Execution
Oct 8, 2013 11:08:43 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Starting execution
Oct 8, 2013 11:08:46 AM com.ibm.rqm.executiontool.util.ExecutionLogger logError
SEVERE: Exception occurred while doing a post to the server with the URL:https://<Server>: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.
Oct 8, 2013 11:08:46 AM com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Internal Error occurred. See log for more details
[echo] UNKNOWN
[echo]
--
Thanking you
Anjaly.
One answer
@anjaly is Adapter with ID 2 running? (also make sure the ID of the intended adapter is indeed 2)
Comments
Anjaly Bastian
Oct 08 '13, 1:58 a.m.Please find ant task for this command line execution.
<taskdef name="executeTestSuiteExecRecord" classname="com.ibm.rqm.executiontool.RQMExecuteTestSuiteExecRecord" />
<executeTestSuiteExecRecord userId="G102749" password="Alm@1234" rqmServerUrl="https://<Server>:9443/qm"
projectName="SimpleBanking (Quality Management)"
testSuiteExecRecordId="449" suiteStepScriptIds="396,402,401"
suiteStepAdapterIds="2,2,2" arguments="-exitOnComplete=true" />
Anjaly Bastian
Oct 08 '13, 2:06 a.m.This is the exception I am getting while trying to access the link manually
CRJAZ1175I Unable to get method info from service call.
Neeru Tester
Oct 17 '13, 10:08 p.m.Hi Anjaly,