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 human task emulators

You can add one or more inline or standalone human task emulators to a test configuration module in the test suite editor. This enables you to programmatically emulate human tasks with different outputs and automatically claim and complete the tasks in the test client rather than claiming and completing them manually in the Business Process Choreographer Explorer.

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 human task 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 Human Task 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 Human Task Emulators page opens.

  6. If you want to emulate inline human tasks:

    1. Ensure that Inline is selected.

    2. In the Emulated human tasks in this module list box, select the check box beside the name of each inline human task that you want to emulate.

  7. If you want to emulate standalone human tasks, complete the following steps:

    1. Select Standalone.

    2. In the Emulated human tasks in this module list box, select the check box beside the name of each standalone human task that you want to emulate.

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


What to do next

When you add an inline or standalone human task 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