I added a pre-test at the top of the script that attempts a single API check reports the status code and fails if there is an error.
I added a pre-test at the top of the script that attempts a single API check reports the status code and fails if there is an error.