Creating Concept and Event Instance Test Data
- Procedure
- To create test data in BusinessEvents Studio Explorer (or in the Debug perspective BusinessEvents Studio Explorer view), you can perform either of the following steps:
Right-click on an event or concept and click New, then Test Data or ProjectRight-click.
- Right-click an event or concept and click
Create Test Data.
The Test Data editor appears showing the event or concept properties as column headers.
- In the Test Data editor, click
Add to add rows for new instances. You can add your own unique
extId values to the test data input, as needed. You can also use global variables.
You can also remove existing rows by selecting one or more rows and clicking Remove.
- (Optional) To add new rows with random test data, in the Test Data editor, click
Generate Random Test Data, select the applicable options, and click
OK.
For more information about the options available, see Generate Random Test Data Reference.
- (Optional) Select the Invoke preprocessor while asserting Events check box and select the preprocessor that you want to invoke.
- Specify the assertion rate for the test data.
As fast as possible (default) - Select this option to assert the test data as fast as possible.Events (or Concepts) per second - Select this option to slow the pace of assertion of test data to track a specific output. You can slow the assertion rate to one concept or event per second.
- Click
Save. The entity’s test data is saved to an XML file stored within the
TestData
folder in the project root.The
/TestData
folder is the default location (see Tester Preferences).