Testing and Debugging Projects : Running Tester

Running Tester
After you have done the setup (see Preparing to Run (Test) or Debug a Project) and created the test data (see Creating and Working With Test Data), run the tester as explained below.
Running the Engine
To Run an Engine
1.
As needed, switch to Debug perspective. Select Window > Open Perspective, or click the Open Perspective () button). Then select Other > Debug.
2.
Select Run > Run Configurations or click the down-arrow to the right of the Run () button and choose Run Configurations.
If you have configured favorites, you can click the down-arrow to the right of the Run () button and choose a favorite.
3.
If you have already started an engine using a run configuration and want to start it again, click the Run () button or Select Run > Run.
A TIBCO BusinessEvents engine starts, using parameters provided in the run configuration, if any were provided.
Asserting Rule Input Data
To perform any task in the Rule Input tab, you must keep the engine running.
See also Creating and Working With Test Data for details about creating and saving rule input data.
You can assert either tester data, or rule data.
To Assert Tester Data
1.
2.
In the Select Test Data panel, select sets of test data as desired.
In the test data editor you can also select which test data rows you want to assert.
You can also edit the test data associated with each event and concept as needed. See Working with Concept and Event Test Data for details. Save the file and close the editor when you have finished editing.
3.
Multiple engines can run in tester at the same time, for example, a cache agent engine, and an engine running inference agents.
4.
One engine (processing unit) can have multiple inference agents.
5.
Click Start Test.
To Run the Tester with Rule Data
1.
Open the Rule Input view, if it is not already shown. In the Window menu, click Show View > Other. Expand TIBCO BusinessEvents, and select Rule Input. Click OK.
2.
Provide input from the mapper as explained in Using the Function Argument Mapper. Optionally you can click Save and save the values to an XML file.
Click Load to load the input values from an existing XML file.
3.
Specify the Launch Target, Entity URI, Destination URI and Rule Session.
4.
Click Assert.
See Viewing the Results for details about understanding the results of a test run.