IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Unit testing > Manage test configurations > Editing the test configuration
Redefining emulators as programmatic
When you first add an emulator to a test configuration module in the integration test client, it is automatically defined as a manual emulator and you will need to manually specify response values for the emulator whenever it is used in a test. However, you can choose to redefine the emulator as programmatic, which enables you to automatically and programmatically specify response values for the emulator using a programmatic emulation file.
To redefine an emulator as programmatic:
Procedure
- In the integration test client, click the Configurations tab. The Configurations page opens.
- In the Configurations area, expand the test configuration and module containers.
- Complete one of the following steps:
- If you want to redefine a component or reference emulator as programmatic, expand the Component and Reference Emulators container.
- If you want to redefine a human task emulator as programmatic, expand the Human Task Emulators container.
- Select the emulator that you want to redefine as programmatic.
- In the Detailed Properties area, select Programmatic emulation. The emulator is now redefined as a programmatic emulator, but you must specify a programmatic emulation file for it as described in the following steps.
- If you have an existing programmatic emulation file that you want to use with the programmatic emulator:
- Click Browse. The File Selection window opens.
- In the Choose a File list box, navigate to your programmatic emulation file and select it. (Programmatic emulation files have a default file extension of .emulate.)
- Click OK. The name of the programmatic emulation file appears beneath the Programmatic Emulation radio button and it is ready to be used with the programmatic emulator for testing.
- If you want to modify your programmatic emulation file, follow the instructions in the topic "Editing programmatic emulation files."
- If you do not have an existing programmatic emulation file that you can use with the programmatic emulator, create one by following the instructions in the topic "Creating programmatic emulation files".