Developer Guide to the BPEL Designer

Customizing Test Input

To customize test input:

  1. In the Projects window, expand the Test node and the node for a specific test case.

  2. Right-click Input.xml and click Edit.

  3. Modify the contents as needed. For example, wherever you see <value>?string?</value> click within ?string? and replace it with a string of any length. However, within such strings, do not include the characters < (less-than sign) or & (ampersand) unless you use them with XML semantics.

  4. When you are satisfied, click Save.

  5. Right-click Output.xml and click Edit to examine the contents:

    • It is empty. This is a special state that triggers a special operation when the test is run.

    • Each time the test is run, the current output is compared to the contents of Output.xml. If any differences are detected, they will be stored in the Actual_yymmddhhmmss .xml file under the test case folder. However, in the special case where Output.xml starts null, then the output is written to Output.xml.

    • In each run after the first, assuming Output.xml is no longer null, its contents are preserved. In other words, a previous output is never overwritten by new results.