IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Component testing > Manage test suites > Editing test suites > Manage test configurations

Adding component or reference emulators

You can add one or more component or reference emulators to a module in the test configuration in the test suite editor. This enables you to emulate references, components, or imports in your module.

If your test is invoking a one-way operation, the test will return a result of Passed, but the emulation will not actually run unless you have followed the instructions in the topic "Emulating components and references when invoking one-way operations".

To add a component or reference emulator to a test configuration module:


Procedure

  1. In the test suite editor, click the Configurations tab. The Configurations page opens.

  2. Click the Add icon

    . The New Configuration wizard opens.

  3. In the Wizards list box, select Component and Reference Emulator and click Next. The Select a Module page opens.

  4. In the Select a module to continue list box, locate the test configuration that contains the module where you want to add an emulator, then select the module.

  5. Click Next. The Add Components and Reference Emulators page opens.

  6. If you want to emulate references:

    1. Ensure that References is selected.

    2. In the Emulated references in this module list box, select the check box beside the name of each reference that you want to emulate.

  7. If you want to emulate components or imports, complete the following steps:

    1. Select Components.

    2. In the Emulated components and imports in this module list box, select the check box beside the name of each component and import that you want to emulate.

  8. Click Finish. The emulators are added to the selected test configuration module.


What to do next

When you add a component or reference emulator to a test configuration module, it is automatically defined as a manual emulator by default. If you want to define an emulator as a programmatic emulator, see the topic "Defining emulators as programmatic."

Editing the test configuration