'Corrupted Value' Failure Emulation

Applies to AQTime 8.81, last modified on January 18, 2022

About 'Corrupted Value' Failure Emulation

Use this emulation type to check whether your application handles errors that occur when it tries to access an incorrect value. AQTime will catch all the attempts of your application to access the specified registry value and make the profiled application “think” that this value is incorrect.

Specifying Emulation Parameters

You can specify emulation parameters in the Profiler Options dialog which AQTime invokes upon running the Failure Emulator profiler or in the Failure Profiler Options dialog.

To create a new 'Corrupted Value' failure emulation and specify its parameters:

  • In the dialog, click Add.

  • On the first page of the subsequent Add New Failure Emulation wizard, select the Registry category from the list on the left, then select Corrupted Value from the list on the right and click Next.

  • On the second page of the wizard, specify all parameters for the selected failure emulation and click Finish.

To modify parameters of an existing 'Corrupted Value' failure emulation:

  • Click the ellipsis button in the Parameters cell.

  • In the subsequent Edit 'Corrupted Value' Failure Parameters dialog, modify the desired parameters and click OK.

AQTime saves your settings between profiler runs, so you will not have to define parameters next time you run the profiler.

Parameters

Registry name

Specifies the name of the registry key.

Value name

Specifies the name of the registry value that belongs to the specified registry key.

Value type

Specifies the type of the registry value to emulate. Possible types are: REG_SZ (default), REG_DWORD, REG_EXPAND_SZ and REG_MULTI_SZ.

Emulated value

Specifies the emulated value.

Note: You can specify the emulated value for the REG_DWORD value type in either the hexadecimal or decimal format. For this purpose, select the appropriate radio button on the right of the edit box.

Every time your application accesses the specified value, it “thinks” that the registry value has the type selected in the Value type list and the value specified in the Emulated value edit box.

For information on using the Failure Emulator profiler, see Failure Emulator Profiler - Overview.

See Also

Registry Failure Emulation
Failure Emulation Reference
Failure Emulator Profiler - Overview

Highlight search results