Ask a Question

exit code for testrunner.bat

alibaba82
Super Contributor

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 2
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

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

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?

cancel
Showing results for 
Search instead for 
Did you mean: