cancel
Showing results for 
Search instead for 
Did you mean: 

Launching test runner from READYAPI => Exception

Super Contributor

Launching test runner from READYAPI => Exception

Hello:

I am getting the following exception when running test case using the launcher

 

Exception 

at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.throwFailureException(SoapUITestCaseRunner.java:562)
at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:462)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:97)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:258)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:161)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:81)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:77)

 

See 

I did try by selecting or unselecting

  1. Create JUNIT style report
  2. include JUNIT style XML report

 

testrunner.PNG

 

running it on command line is not much help either. same result.

 

Anyone else run into this issue

READY API version is 2.0.2

 

 

 

3 REPLIES 3
Moderator

Re: Launching test runner from READYAPI => Exception

Hi Sanjeet,

 

Let's locate the problem. Firstly, please share the command line which you use.

- Do you have another version of Ready! API installed? If you have, can you run TestRunner in another version?

- Do you get the same exception when running another test case?

- Did you edit the testrunner.bat file?


Anastasia
Customer Care Team


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

Super Contributor

Re: Launching test runner from READYAPI => Exception

Ok the issue is intermittent.

Currently it works without throwing ant exceptions.

 

Is there any logs I can capture?

BTW this is the command line option.

 

cmd.exe /C testrunner.bat "-sCourtesy Emails - DE" "-cSprint 13" -J -fC:\TempSource\Results "-RJUnit-Style HTML Report" -Esit-odm-direct "C:\Users\sasingh\git\ens-automated-tests\ens-QA delivery tests.xml"

 

Moderator

Re: Launching test runner from READYAPI => Exception

Sanjeet,

 

The command line looks correct. If the issue persists, please open a new support case here: https://support.smartbear.com/message/?prod=ReadyAPI

The logs are shown in the command line when you run testrunner.


Anastasia
Customer Care Team


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2