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

Selecting operations for testing

To perform any testing in the integration test client, you need to ensure that the correct operation is selected that you want to test. Although an operation is always selected by default when you open the integration test client, the exact operation that is selected is dependent on whether you are testing a module, a set of components, or an individual component.

Before you can select an operation for testing, an Invoke event needs to have been generated into the Events area in the integration test client. When you first open the integration test client, an Invoke event is automatically generated. However, if for some reason there is no Invoke event in the Events area, generate one by following the instructions in the topic "Generating Invoke events."

To select an operation for testing:


Procedure

  1. In the integration test client, click the Events tab to open the Events page.

  2. In the Configuration field, ensure that the correct test configuration is selected. A default test configuration is automatically created whenever you open the integration test client.

    If you did not open the integration test client by loading a test configuration that you saved earlier, the default test configuration will already be selected in the Configuration field.

  3. In the Module field, ensure that the correct module is selected. If you opened the integration test client by selecting a module, this module will already be selected in the Module field.

  4. In the Component field, ensure that the component is selected that contains your interface operation.

  5. In the Interface field, ensure that the interface is selected that contains your operation.

  6. In the Operation field, ensure that the operation is selected that you want to test.


What to do next

When you have finished selecting an operation to test, you will probably want to specify values for the operation before invoking it. This is described in the topic "Specifying operation values."

Testing interface operations