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

  1. In the integration test client, click the Configurations tab. The Configurations page opens.

  2. In the Configurations area, expand the test configuration and module containers.

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

  4. Select the emulator that you want to redefine as programmatic.

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

  6. If you have an existing programmatic emulation file that you want to use with the programmatic emulator:

    1. Click Browse. The File Selection window opens.

    2. 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.)

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

    4. If you want to modify your programmatic emulation file, follow the instructions in the topic "Editing programmatic emulation files."

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

Editing test configurations