Emulate Application Failures

Applies to AQTime 8.81, last modified on May 21, 2021

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:

  1. Create a profiling project for your application.

  2. Add your application to the Modules pane of the Setup panel.

  3. Select the Failure Emulator from the Profilers list

  4. 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.

  5. Start profiling the application.

  6. Move the application to the state in which the specified failure can occur.

  7. Clear the profiling results by selecting the Run > Clear Results menu item.

  8. Perform actions that can cause the failure.

  9. 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.

  10. 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

Highlight search results