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 emulation values in the integration test client
If a manual emulator is encountered during a test, the test pauses at an Emulate event and you need to either specify some output parameter values or select an exception to throw. Specifying output parameter values for an 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". However, throwing exceptions is unique to manual emulations.
Before you can select an exception to throw for a manual emulator, you need to have invoked your operation as described in the topic "Invoking operations" and perhaps also have deployed your module as described in the topic "Deploying modules."
To select an exception to throw:
Procedure
- In the Throw exception drop-down list on the Events page, select the exception that you want to throw.
- In the Output parameters value editor, specify some values to pass with the exception.
- Click the Continue icon
to continue the invocation of the operation.
What to do next
When you have finished specifying 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."