Assert Tester Data

    Procedure
  1. Select the Rule Input tab and then the Tester Data tab.
  2. One entity can have multiple rows of test data. To select which row or rows of test data to assert, double click the entity’s URI in the Select Test Data view. It appears in the Test Data editor. Select one or more check boxes in the Use column as desired. You can repeat this step for all the entities shown in the Select Test Data view, as needed.

    You can edit the test data at this time too and you can add test data for more entities. See Working with Concept and Event Test Data for details.

  3. In the Input panel, Launch Target field, specify which engine to use.

    Multiple engines can run in tester at the same time, for example, a cache agent engine, and an engine running inference agents.

  4. In the Input panel, Rule Session field, specify which agent to assert the data to.

    One engine (processing unit) can have multiple inference agents.

  5. Click Start Test.

    You see console messages and results. See Viewing the Results for details about understanding the results of a test or debugger run.

  6. As appropriate, select more test data to assert (as in Step 2), and again click Start Test. Once again, analyze the results of asserting that data using the other views.
    To Run Tester or Debugger with Rule Data
  7. 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.
  8. Perform one of the following steps.
    Provide input from the mapper as explained in Using the Function Argument Mapping Wizard. 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.
  9. Specify the Launch Target, Entity URI, Destination URI and Rule Session.
  10. Click Assert.
Result

See Viewing the Results for details about understanding the results of a test or debugger run.