IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Unit testing > Running unit tests in the test client > Testing interface operations
Specifying human task emulation values in the integration test client
If a human task emulator is encountered during a test, the test pauses at a Claim event and you need to either specify some output parameter values or select an exception to throw. Specifying output parameter values for a human task emulation is accomplished in exactly the same way as specifying initial request parameter values for an operation, as described in the topic "Specifying operation values".
Before you can specify human task emulation values in the integration test client, you need to create a human task emulator and configure it as described in the following topics:
- "Adding human task emulators"
- "Specifying a wait time for human task claims"
- "Specifying a potential owner for a human task"
To specify human task emulation values:
Procedure
- Launch the integration test client from the business process that contains your human task.
- In the Component field of the Events page, select the name of your component that runs the human task.
- In the value editor, specify an initial request parameter value in the Value column.
- Click the Continue icon
. A Claim event is generated into the Events area when the human task is run.
- In the Events area, ensure that the Claim event is selected.
- In the value editor, specify output parameter values for your human task emulator.
- Click the Continue icon
. A Return event is generated into the Events area and the return parameter values are displayed in the value editor.
What to do next
When you have finished specifying human task emulation values, you may want to reinvoke the operation or generate an Invoke event to invoke and test a different operation. These tasks are described in the topics "Reinvoking operations" and "Generating Invoke events." Or you may want to save the test trace, as described in the topic "Saving test traces."