Test Bench

The Test Bench allows you to evaluate the rules created in the rule designer. By entering input data and clicking the Run button, you can simulate rule execution and view the results in real time. Test Bench helps ensure that the rules are functioning as intended before applying them in a live environment.

Test Bench works consistently across all rule types, ensuring a uniform testing experience. It comes in two variants. A user-friendly variant and the more technical JSON Bench. See the Decision Table Test Bench bellow as an example.

Used in Rule

To access the Test Bench, click the button in the bottom bar.

Test Bench in bottom bar
Open Test Bench
JSON Bench

Test Bench resizing

Drag the purple line up to resize the test bench.

Resizing of the Test Bench

Filling input

The reason for having to put text with comma inside quote marks is that if you write 1,2,3 as input in the simple test bench, it will be interpreted as an array(list) on the backend.

E.g. 1,2,3 would be converted to [1,2,3]

Date Input

You can input by clicking on the three dots .

Then click on the date icon .

A pop-up will be shown.

Choose the date, time and time zone (only the time zone is required) and click save.

If you decide to change the date, you can simply click on the input that will change color on hover.

To clear the input simply click on the mentioned three dots and then click on clear.

If you're using the Valid Values functionality in your Decision Table, it is also available in the Test Bench

Switching between benches

Click on JSON Bench button to switch between the simple and JSON test bench.

Was this helpful?