Ask a Question

Command Line Test Runner running against the wrong environment

TommyTester
Occasional Contributor

Command Line Test Runner running against the wrong environment

I'm running a test suite through the command line test runner, but the test cases are being executed against the incorrect environment.

 

The command line being used is:

 

"%ProgramFiles%\SmartBear\ReadyAPI-2.1.0\bin\testrunner.bat" "C:\Tests\Ready API\Project\" "-EUAT Primary" "-fC:\Tom\%dateandtime%" "-RTestSuite Report" -FPDF -s"Test Suite 1"

 

The environment has been specified as "UAT Primary", however when the test cases are execured they are run agaisnt another environment - "Dev Test". This occurs intermittently and I believe may be related to the environment that is set in settings.xml.ight be happening?

 

 

Any ideas why this 

1 REPLY 1
lakshmiarun
Staff

Hi,

 

Thank you for posting in our forum.

 

Are you using a licensed version of ReadyAPI?

 

If your environment and project name are correct in the Testrunner, then it should work(check on the project name). I tried it from end, I can't reproduce the issue. If you are using a licensed version and everything seems right from your end, please log a ticket with our support team and we will take it from there.

 

To use environments in your tests, you need a SoapUI Pro license.

 

Best,

Lakshmi

 

  

-------------Lakshmi

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
cancel
Showing results for 
Search instead for 
Did you mean: