Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
14 years ago

exit code for testrunner.bat

Hi,
We are trying to soapui as a monitor in Nagios and need to know what is the exitcode of testrunner.bat
I can see that if there is an error, testrunner.bat reports -1 as the exit code.
However, I don't see the exit code for a run with no errors.

What are the possible exit codes for testrunner and their meanings.

Thanks

Ali

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    currently the command-line runners will return 0 on success on -1 on failure.

    Does that work ok for you?

    regards!

    /Ole
    eviware.com
    • NamrataMane's avatar
      NamrataMane
      Occasional Contributor

      If we want to run the test cases results as partially succeeded for the test cases where test execution completes with some pass and fail percentage.

       

      For example- 

      Total test cases- 10 

      Total pass- 5

      Total Fail- 5

      So the percentage will be 50% pass, hence in this scenario I want to return the exit code as not failed but partially succeeded. 

       

      Is this possible?