Testing a process

When you use the Test Process function in the  Development Studio application, you can test a process before or after exporting it to the grid or recording metrics.

The Test Process function can be accessed by right-clicking on the process to be tested in the Project Navigator and selecting Test process from the menu. This will open the selected process in the process canvas and initiate the testing function.

To test a process, you must be logged into (authenticated on) the grid and must have a role of designer or administrator on that grid. A process test will time out after 180 seconds if it is not able to initiate the test within that time period.

If one or more input parameters have been defined for the process, the input parameters window is displayed. Required parameters are indicated with a red check mark.

The process commences and the process Log tab displays the information to write to the processes.log file on the executing peer.

If the process being tested has output parameters defined, they will be shown on the Context Values tab with their values at the end of process execution.

A process can be retested by clicking Test in the Test Console pane.

Note

When a process is being tested within Development Studio, no records are written to the metrics database. Metrics are written only when activated processes on a grid are executed.

To test a process

  1. With a process displayed on the  Development Studio process canvas, click the Test Workflow button in the main toolbar.
  2. When testing is complete, click Close.

To enter parameter values to test a process

  1. Select the value type from the Type menu, and then double-click the cell in the Value column that corresponds with the parameter.
  2. Enter the value; then click OK.

To enter a string as an input value to test a process

  1. If an empty string is used as an input value, double-click the Value box to create the empty string.
  2. Click OK to begin testing.

    Tip

    Test results can be redisplayed for processes that are still present on the process canvas by clicking Windows > Show Console in the menu bar.

Was this page helpful? Yes No Submitting... Thank you

Comments