Forum Discussion

sanj's avatar
sanj
Super Contributor
7 years ago

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

 

 

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

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    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?

    • sanj's avatar
      sanj
      Super Contributor

      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"