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

Opening the integration test client

Depending on whether you want to test an entire module, a set of components, or a single component, you can open the integration test client from either the Business Integration view or the assembly editor.


Procedure

  1. If you want to test an entire module, choose one of the following options:

    • In the Business Integration view, right-click your module and select Test > Test Modules on a Local Server.

    • In the Business Integration view, expand your module and then right-click the assembly diagram and select Test > Test Modules on a Local Server.
    • Open your module in the assembly editor (and ensure that you press Ctrl-S to save any changes made), then right-click an empty portion of the assembly editor canvas and select Test > Test Modules on a Local Server.

    • To test a module on a Process Center Server, right-click the module, then select Test > Test Modules. When you select this option, the test configuration contains the process application or toolkit, and the test is performed on the target Process Center Server. All the modules that are part of the process application or toolkit will be tested.

    The integration test client opens. Any unimplemented components or unwired references in the module will be emulated.

  2. If you want to test a process application or a toolkit, including all modules that are part of the process application or toolkit, right-click the process application or toolkit name in the Business Integration view and select Test > Test Process Application or Test > Test Toolkit.

  3. If you want to test a set of components or an individual component rather than an entire module, open your module in the assembly editor (and ensure that you press Ctrl-S to save any changes that you make), then choose one of the following options:

    • If you want to test a subset of components in your module and have any unselected components emulated, click one of the components in the set of components that you want to test and use the Ctrl key to select the remaining components in the set. Then right-click one of the selected components and select Test Components in Isolation. Any components that you did not select in the module will automatically be emulated regardless of whether they are implemented or not.

    • If you want to test a single component in your module and have other components emulated, right-click the component and select Test Component in Isolation. Other components will automatically be emulated regardless of whether they are implemented or not.

    • If you want to test a single component in your module and not have other implemented components emulated, right-click the component and select Test Component.

    The integration test client opens.


Example

You can also open the test client by loading a saved test configuration or a saved test trace, as described in the topics "Loading test configurations" and "Loading test traces." If you want to use your own means of starting an operation, such as a JMS message, web service, or JSP, you can also open the integration test client by attaching it to a test configuration module. This is described in the topic "Attaching to test configuration modules."


What to do next

When you have finished opening the integration test client, you will probably want to select an operation to test, as described in the topic "Selecting operations for testing."

Testing interface operations


Related tasks:
Testing integration solutions