Azure Load Testing automatically stops a load test if the error percentage exceeds a given threshold for a certain time window. Automatically stopping safeguards you against failing tests further incurring costs, for example, because of an incorrectly configured endpoint URL.
In the load test configuration, you can enable or disable the auto stop functionality and configure the error percentage threshold and time window.
Learn more here.