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

Reinvoking operations

In the integration test client, you can reinvoke an operation and repeat a test that you ran earlier using the same set of invocation values. However, if your earlier test resulted in a manual Emulate event, you can choose to use the same set of manual emulation values or you can specify a different set of values.

To reinvoke an operation:


Procedure

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

  2. In the Events area, complete one of the following activities:

    • If you want to reinvoke an operation and specify new values for any manual Emulate event, right-click the Invoke event for the operation and select Rerun. If no manual emulator is encountered, the test will run to completion and a Stopped event will be displayed in the Events area. However, if a manual emulator is encountered, the test will pause so that you can specify a new set of values. A manual Emulate event will also be displayed in the Events area. Information about specifying values is found in the topic "Specifying values for an operation."

    • If you want to reinvoke an operation and specify the same values for any manual Emulate event, right-click the Invoke event for the operation and select Rerun with Auto Emulate. The test will run to completion and a Stopped event will be displayed in the Events area.


What to do next

When you have finished reinvoking an operation, you may want to generate an Invoke event to invoke and test a different operation. This is described in the topic "Generating Invoke events." Or you may want to save the execution trace, as described in the topic "Saving test traces."

Testing interface operations