Test scripts exit codes

SUMMARY

Application Test exit codes

ISSUE

Those are the values returned when application tests for a VM are being executed:

 

Check Exchange Integrity:
        ///     0 - Ok
        ///     2 - Not enough arguments
        ///     3 - Database file not found
        ///     4 - Exception running Exchange database integrity command
 
Check Ping:
        ///     0 - Ok.
        ///     1 - Without conectivity
        ///     2 - Bad arguments
 
Check Service:
        ///     0 - Ok. If every service is running
        ///     92  - Service name not found
        ///     93  - Exception starting service
        ///     94  - Exception pausing service 
        ///     95  - Exception resuming service
        ///     96  - Exception stopping service
        ///     97  - Error obtaining service's state
        ///     101 - A service name is required
        ///     102 - Wrong timeout format
        ///     103 - Service is not running

Check SQL Query:
        ///     0 - Ok
        ///     2 - Not enough arguments
        ///     3 - Exception opening database connection
        ///     4 - Exception running SQL query
        ///     5 - Outputs don't match
        ///     6 - Exception closing database connection
 
Check Web Site:
        ///     0 - Ok. 
        ///     111 - Not enough arguments
        ///     112 - Exception requesting HTML code
        ///     113 - Keywords don't match
 
 

 
 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us