Please note that with AIDA64 Business and AIDA64 Engineer it's possible to use command-line arguments to automatize the System Stability Test.
We haven't dealt with doing anything meaningful after a failed stress test simply because in the vast majority of cases the failure comes up as a system hangup, BSoD, or a sudden system restart or shutdown.