In this work, a simulation framework for virtual testing of autonomous driving functions under the influence of a fault occurring in a component is presented. The models consist of trajectory planning, motion control, models of actuator management, actuators and vehicle dynamics. Fault-handling tests in a right-turn maneuver are described, subject to an injected fault in the steering system. Different scenarios are discussed without and with a fault and without and with counteractions against the fault. The results of five scenarios for different criticality metrics are discussed. In the case of a fault without a counteraction, a pronounced lateral position deviation of the ego vehicle from the reference curve is observed. Furthermore, the minimal and hence most critical time-to-collision (TTC) and post-encroachment time (PET) values are calculated for each scenario together with a parameter variation of the initial position of a traffic agent. The minimum TTC values are lowest in the case of a fault without counteraction. For the lateral position deviation and the TTC, the counteractions cause reduced criticality that can become even lower than in the case without a fault, corresponding to a decrease in the dynamic behavior of the vehicle. For the PET, only in the case of a fault without counteraction, a non-zero value can be calculated. With the implemented testing toolchain, the automated vehicle and the reaction of the HAD function in non-standard conditions with reduced performance can be investigated. This can be used to test the influence of component faults on automated driving functions and help increase acceptance of implemented counteractions as part of the HAD function. The assessment of the situation using a combination of metrics is shown to be useful, as the different metrics can become critical in different situations.