To check how your application behaves in unexpected conditions, use the Failure Emulator profiler. The profiler lets you specify the type of application failures you want to emulate and then makes the application "think" that the specified situation has occurred.
The general procedure of emulating application failures with AQTime’s Failure Emulator profiler includes the following steps:
-
Create a profiling project for your application.
-
Add your application to the Modules pane of the Setup panel.
-
Select the Failure Emulator from the Profilers list
-
Set up profiling settings according to your needs. In the Profiler Options dialog or in the Failure Emulator Options dialog, set a list of failures to be emulated. For a detailed description of failure categories and types you can emulate and their parameters, see Failure Emulation Reference.
-
Start profiling the application.
-
Move the application to the state in which the specified failure can occur.
-
Clear the profiling results by selecting the Run > Clear Results menu item.
-
Perform actions that can cause the failure.
-
Click Get Results to get the current profiling results. The generated results allow you to see what objects currently exist in memory. AQTime also generates results after the application terminates.
-
Analyze the results. See Find Routines That Fail Under Specific Conditions.
See Also
Emulating Application Failures
Best Practices and How to Tutorials
Failure Emulator Profiler - Overview
Failure Emulator Profiler Results - Overview