You can create an assertion for the expected run time of a rule. The expected run-time assertion is less than or equal to a amount of time that you specify, in seconds.
An actual run time that is significantly longer than the expected run time can indicate an issue. For example, if you are using a report definition to obtain initial values for a data page from a database, there may be a connectivity issue between the application and the database.
After you create an PegaUnit test case for data pages, the system generates the expected run-time assertion. The default value is the time taken by the rule to retrieve the results when the test was first run. The system compares that time against the run time of future tests. You can change this value or create additional assertions. You can also configure expected run-time assertions on all other rules supported by PegaUnit testing.