Configuring Disposable Test Servers for Test Run Integration

In prior iSM releases, there were only two options of test running a flow within iIT:

Test run against a Registry is seamless. All flow dependencies are published to the Registry. However, in a multi-application, multi-developer environment, there is the risk of flows conflicting. This can cause flows to rewrite dependencies or missing dependencies. Test run against a test server or admin server can guarantee that the flow has all of the required dependencies. However, building a test server with all of the required dependencies is an involved, multiple step operation.

A third option (which is actually the first option on the selection) is available to test run the flow against a disposable test server, which is created automatically and then disposed of upon the completion of the test.

This feature provides several key enhancements:

The following steps outline the process of using the new test run option:

  1. If the flow does not have an associated application, create a default application with all of the flow dependencies.
  2. Build and deploy an application and (optionally) a template to an iWay installation as a test server.
  3. Start the test server.
  4. Test run the flow using the new test server and receive the resulting document.
  5. Stop the test server.
  6. Undeploy the test server.

The option to run the flow against the disposable test server is available under the Main tab of Run Configurations pane.

The Test Server tab enables you to configure a specific application with an optional template to be used as a disposable server. If an application or template is not provided, a default disposable test server is created for testing the flow.