To ensure that a target web resource is unavailable from the Public Internet (e.g., access is blocked by a firewall), use the MustBeBlocked.cs.
The MustBeBlocked.cs script performs a connection to a provided web resource. If the connection is not established (e.g., timeout) the response is considered valid.
In any other case when any type of HTTP code is received with the response, an error alert will be generated (including Error 401, 302, 200, etc. ).
Custom Script File | Arguments |
MustBeBlocked.cs | “<URL>” |
Arguments Example
MustBeBlocked.cs "http://www.internal-site-here.com/"