Previous Topic: Full Sample FormulaNext Topic: Associated Business Logic Modules Definitions


Test Business Logic Formulas

Testing a Business Logic formula means tests are performed to insure that the formula is defined correctly and without errors, and calculates the required result as expected. It is important to cover all extreme end cases as part of the tests. The business logic scope is where the formula is executed for the purposes of testing. When initially defined, the formula is tested in its entirety. Then, once it is applied to all the metrics as a module, it is important to run each metric in the business logic scope at least once to see that it receives Events (i.e. that the registration is correct) and it is producing a reasonable result.

A contract that has business logic syntax errors cannot be activated. You can test business logic and view the results before activating a live contract. Each metric in the contract is tested individually.

Follow these steps:

  1. From the Service Level Mgmt tab, select Business Logic Scope. The Business Logic Scope window opens.
  2. In Contract Party, select the contract party that contains the metric you want to test from the drop-down list.
  3. In Contract, select the contract within the selected contract party that contains the metric you want to test from the drop-down list.
  4. In Version, select the contract version within the selected contract that contains the metric you want to test from the drop-down list.
  5. In Metric, select the specific metric you want to test from the drop-down list.
  6. In Time range, enter the time range to be included in the formula calculation.

    Note: You can select the dates from the calendar by clicking Open Calendar.

    Click Version Dates to automatically enter the start and end dates for the selected contract version.

  7. In Time unit, select which time interval instance to calculate: Hour, Day, Week, Month, Quarter, Year, or the Tracking Period (default).
  8. In Ignore, select the relevant check boxes to exclude corrections and/or exceptions from the calculation, if required.

    For more information, on corrections to raw data and exceptions see Exceptions.

  9. In Run business logic with, select which version of included Business Logic modules to use (preliminary or effective).

    Note: It is not required to select a version if Business Logic formula does not have any included modules.

  10. Click Run. The results are displayed in the Results tab.
  11. Click the Messages & Errors tab to view informational and error messages about the results of the test, if any.
  12. Click the Received Events tab to view a list of events received from other metrics.

    Note: This tab shows the You are not authorized to view this page message if the Raw Data Management's View check box in Administration, User Management, Roles, Add new is not checked.

  13. Click the Sent Events tab to view a list of events sent by the current SLO to other metrics.

    Notes:

    This tab shows the You are not authorized to view this page message if the Raw Data Management's View check box in Administration, User Management, Roles, Add new is not checked.

    Event lists are read-only and are sorted by the event’s timestamp. The displayed fields are: Metric (source/destination), Resource, Event type, Event type fields (all), Event’s time stamp, Event’s create date or Event annotation