When run from the command line, Load Test uses the following exit codes when it encounters a problem:
| Code | Meaning |
|---|---|
| 130 | Command-line is malformed or refers to a resource that does not exist. |
| 134 | Load Test is not licensed. |
| 4 | QoS metric outside of configured threshold. This exit code is only applicable when running lt.exe with the -fail switch. |
| 5 | QoS metric outside of configured threshold and another runtime problem not related to QoS metrics, such as unable to connect to a Load Test agent. This exit code is only applicable when running lt.exe with the -fail switch. |
| 1 | Any other problem. This exit code is only applicable when running lt.exe with the -fail switch. |