Test-running a Resource

In this section:

How to:

The following section describes how to test-run a resource.


Top of page

x
Procedure: How to Test-run a Resource

To Test-run a resource:

  1. Select the process flow you wish to test and click the Run as... toolbar icon.

    The Run As dialog box appears as shown in the following image.

  2. Select Process Flow and click OK.

    The Edit Configurations dialog box opens.

    The Edit Configuration dialog is used to set options for the test run. A configuration is created and saved for each resource that you test run. These configurations can be viewed, modified, and cloned in the Run Configurations dialog accessed by clicking the arrow next to the Run As toolbar icon and selecting Run Configurations. After creating a run configuration for a resource, Eclipse will attempt to find and execute that configuration the next time you select the resource and click the Run As icon.

  3. Click the Browse... button to select an Input Document from your workspace or click the Import button to import an Input Document.
  4. Select or type in a server URL to execute the test run against.

    If you have servers configured in your iWay Explorer, they will show up in the drop-down list.

    You can choose to execute a test run against the Registry or against a Configuration. If you select Existing Configuration, the drop-down list will be populated with configurations available on the server you specified in the server URL.

  5. Click Run.

    If your flow has a dependency, you will be asked if you wish to publish this dependency to the Registry. All dependencies must be available in order for the flow to run successfully.


Top of page

x
Viewing Test Results

The test results for a resource reside under the resource in a folder called Test Results. These results are maintained between runs so you can compare them.

The following image shows a transform and process flow with test results.

If you are notified of a test run failure, debugging information can be found in the results folder.


Top of page

x
Using Registry Components

The Transform, Process Flow, and Service objects function differently for designer in iIT compared to the previous version of designer. In the previous version, you could drag a Transform object onto a flow and pick the transform to use from a drop-down list. This behavior has changed in iIT. You can now get additional resources to use on your process flow from the Registry Explorer.



x
Procedure: How to Obtain Additional Resources from the Registry Explorer

To obtain additional resources to use on your process flow from the Registry Explorer:

  1. Click the iWay Explorer tab and connect to a Registry Explorer by right-clicking on it and selecting Connect.
  2. Expand the tree for the type of resource you wish to add. For example, if you would like a transform, expand Components and then Transforms.
  3. Select the resource you want and drag it to an open process flow as shown in the following image.

    The Export dialog box opens as shown below.

  4. Click Yes.

    The transform will now reside in the transforms folder in your project and a corresponding transform object will exist on the process flow.


iWay Software