Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring batch case runs

Updated on July 5, 2022

Use a batch case run to test the performance of your strategy and identify which components need optimization. Run your strategy on a data set or a subset of records to identify the most popular propositions, check whether customers are receiving offers, and make sure that your strategy is executed as intended.

  1. Search for and open a Strategy rule.
  2. On the right side of the strategy canvas, expand the Test run panel.
  3. In the Test run panel, click the Batch tab.
  4. Click Settings.
  5. In the Analyze section, select an option, and then configure the necessary settings:
    ChoicesConfiguration
    DecisionsSelect the simulation test that you want to run from the following options:
    • Select An existing simulation test, and then select the simulation ID.
      Tip: To check the configuration of the simulation test, click Open.
    • Select A new simulation test and specify the data flow, data set, or report definition that you want to use as the input data of the simulation test.
    Performance
    1. Select the source and the subject of the test that you want to run from the following options:
      • Select Data set and specify a data set instance that you want to use as the source of the test run.
      • Select Data flow and specify a data flow instance that you want to use as the source of the test run.
    2. Specify the number of records on which you want to run the test by selecting one of the following options:
      • To test the strategy on all available records in the specified data source, select All records.
      • To test the strategy on a specific number of records, select A limited number of records and specify the number of records to use in the test run. The system uses that number of records from the top of the data set or data flow that you selected as the source.
    3. If you want to test your strategy using external input from another strategy, configure additional settings:
      • In the For external inputs use strategy field, select a strategy from which you want to source input data.
        Note: To see this option, ensure that your strategy contains an external input component and save the strategy. For more information, see Troubleshooting the strategy test run panel.
      • To use a specific component within that strategy, select the Specify a single component within the strategy check box, and then in the Component field, select the component.
  6. Click Run.
  7. Analyze the results.
    Decision simulation tests do not support all components. This includes adaptive and predictive models, scorecards, decision trees, decision tables, and others. If a decision simulation test does not include a component, the canvas does not display results for that component.
  8. Optional: To see if a component is optimized, at the top of the strategy canvas, click Show optimization.
    Result: The following symbols appear on strategy components:
    • A check mark for optimization
    • A warning sign for a lack of optimization
  9. Optional: To see the results for a specific non-optimized strategy component, click that component.
    The Test run panel displays different performance results for components depending on optimization. Non-optimized components display values for all performance statistics. For example, if you click a non-optimized component, the results display such information as processing speed and throughput. Optimized components do not display any performance statistics in the results.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us