You can create an assertion for the expected run time of the rule. The expected run time assertion is less than or equal to a number of time that you specify, in seconds.
By default, after you create an automated test case for a data page, the system generates the expected run time assertion. The default value of the expected run time is the time taken by the rule to fetch results when the test was first run. The system compares that time against the run time future tests.
You can change this value and configure expected run time assertions for all rule types by completing the following actions:
If you have not saved the automated test case, click Cancel or Done to open the Definition tab.
Open the automated test case if it is not already open and then click the Definition tab.
If the automated test case is open, click the Definition tab.
Complete one of the following actions:
To add a new assertion, Add expected result at the bottom of the page.
Modify an existing assertion in the pane.
From the Assertion type list, select Expected run time.
In the Value field, enter a value, in seconds, that specifies the amount of time within which the execution of the rule should complete.
Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.
Click Save in the rule form.
The assertion does not fail even if the rule is not run within the specified time.