Running the Rating Trial Run tool

Before running the Rating Trial Run tool, make sure that you have correctly verified the price plan that you want to test; otherwise, the Rating Trial Run tool displays an error message.

Once you have set up the Rating Trial Run tool, you can run it by selecting the mode in which you want to do the test. You can choose one the main modes to perform a trial run:

The following table shows the different operating modes of the Rating Trial Run tool:

Button

Mode

Description

Start

This mode performs the trial run of the rate component that you select in the Rating of field. When the trial run is complete, you can verify the values of the Rating Context properties and the expected results in the Line Items area.

Note: If the rating tree contains some breakpoints, you must click , , or to continue the trial run.

Stop

This mode stops the trial run permanently. You must click , , or to start a new trial run.

Note: This button is available when selecting the Step by Step mode or the Run to mode.

Set Breakpoint

This mode allows you to set or remove breakpoints that are used to stop the trial run temporarily. You can continue the trial run by clicking , , or .

To set a breakpoint, click a component in the Rating Tree Structure area, and then click . The component label appears in red.

To remove a breakpoint, click a component in the Rating Tree Structure area, and then click . The component label appears in black.

Note: You can use this mode in combination with the Start mode, the Step by Step mode, or the Run to mode.

Step by Step

This mode performs the trial run of the rate component that you select in the Rating of field but performs one component at a time. You must click to perform the next component. This mode allows you to verify the values of the Rating Context properties and the calculation results in the Line Items area at each step.

Note: This button is available when selecting the component just below the rate component of the tree.

Run to

This mode performs the trial run of the rate component that you select in the Rating of field only if you have set at least one breakpoint. Once you have set a breakpoint, click . The trial run stops at the breakpoint. To continue the trial run, click . The breakpoint is automatically removed, but the Run to mode is not available any more.

Results

Once you have performed a rating trial run, the results are displayed in the Line Items area:

For example, you test the Usage Rate "Call fee" of your price plan. This Usage Rate is made up of two branches: Call duration x 0.02 USD and Call duration x 0.01 USD, which are triggered depending on the number of calls. If the number of calls is smaller than 10, the price is calculated according to Call duration x 0.02 USD; otherwise, the price is calculated in the second branch according to Call duration x 0.01 USD.

Before running the Rating Trial Run tool, you set the property Call duration to 100 and the property Number of calls to 10 in the Input Properties area.

You start the Rating Trial Run tool. Once the trial run is complete, the Line Items area displays the following:

Line Item

Value

Call fee

USD 1.00

Call duration x 0.01 USD

USD 1.00

The first line of the Line Items area displays the final price of the usage rate "Call fee". The second line displays the result of the branch "Call duration x 0.01 USD". In this example, the results are the same, but the results and the number of line items depend on the complexity of your price plan.