In
Silk Performer, expand the
Profiles node in the
Project tree.
Right-click the profile that you want to configure and choose
Edit Profile.
Tip: Alternatively, you can choose
Settings
> Active Profile from the menu bar.
The
Profile - [<profile name>] dialog box opens, and the
Replay category is displayed in the shortcut list on the left.
In the shortcut list, click the Database icon.
Click the SQLSTATE tab.
Use the Simulation exceptions list to define exceptions for specific ODBC error codes to prevent termination of the simulation.
When a database error occurs, Silk Performer automatically terminates the entire simulation. This list includes all the exceptions that Silk Performer uses for handling database-specific errors. The Error field lists the native error code. The Class field ranks the severity of the error. Class 0 errors can be handled within a Silk Performer transaction. Class 1 errors end the transaction but do not cause the simulation to terminate.
To add an error to the list of database-specific error exceptions, click the Add button. The Edit Error dialog box opens.
In the Error field, add the error code for an error to be added to the exceptions list.
In the Class field, add the error class.
In the Description field, add a description for the error.
Click OK.
To edit an error, select it from the list, and click Edit. The Edit Error dialog box opens.
Edit the error code, class, and description as required.
Click OK.
To remove an error from the exceptions list, select it and click the Remove button.
Click Yes on the deletion confirmation dialog.
On the Profile - [<profile name>] dialog box, click OK to save your changes.