AnsweredAssumed Answered

Unable to run test case using TestRunner command

Question asked by ahmmo05 Employee on Jun 11, 2018
Latest reply on Jun 13, 2018 by gajsr01

I tried running a DevTest test case using following TestRunner command, it shows following error:

 

Command

TestRunner -t ../TestProject/Tests/SampleTestCase.tst -r ../TestProject/StagingDocs/Run1User1Cycle.stg -a -config ../TestProject/Configs/project.config -cs local -m tcp://AHMMO05-5510:2010/Registry -u admin -p admin

 

 

Below are the command execution details

 

 

 


C:\Program Files\CA\DevTest\bin>TestRunner -t ../TestProject/Tests/SampleTestCase.tst -r ../TestProject/StagingDocs/Run1User1Cycle.stg -a -config ..
/TestProject/Configs/project.config -cs local -m tcp://AHMMO05-5510:2010/Registry -u admin -p admin
Locale: en_US
Setting System.out and System.err to: Cp1252
LISA_HOME set to C:\PROGRA~1\CA\DevTest\
DevTest temporary directory is C:\Users\ahmmo05\lisatmp_10.3.0
Configuring logging from 'C:\PROGRA~1\CA\DevTest\logging.properties'
DevTest Solutions, Copyright (c) 2002-2018 CA, All rights reserved.
DevTest Test Runner - Stage and Execute Test Cases
DevTest Solutions Version :: 10.3.0 (10.3.0.297)
Installed patches: none
Generated rules from C:\PROGRA~1\CA\DevTest\rules.xml
[DevTest AGENT:C][WARN][8340][44][Agent Info Notifier][Jun 11, 2018 8:24:40 PM] Connection to Agent broker at tcp://AHMMO05-5510:2009?daemon=true was dropped... (com.itko.activemq.ConnectionClosedException: The connectio
n is already closed)
Security is enabled in DevTest
User credentials are valid
Failed to stage or start test/suite
Failed to stage test!Failed to stage test!


============================================================================
| Exception:
============================================================================
| Message:     Failed to stage test!
----------------------------------------------------------------------------
| Trapped Exception: Cannot find project root for C:\Program Files\CA\DevTest\TestProject\Tests\SampleTestCase.tst
| Trapped Message:

============================================================================
| Exception:
============================================================================
| Message:     Cannot find project root for C:\Program Files\CA\DevTest\TestProject\Tests\SampleTestCase.tst
----------------------------------------------------------------------------
| Trapped Exception: null
| Trapped Message:   java.lang.IllegalArgumentException
-------------------------------------------------------
 See logs for more.

Exiting with exit code 254 (INTERNAL ERROR)

C:\Program Files\CA\DevTest\bin>

 

 

 

Could someone let me know if I am doing anything wrong?

Outcomes