The Report Generator Service processes the log data created while a test is running and computes the totals for each test group. The reports are displayed in the Results tab of a project that contains a completed test. For more information on viewing the reports, see the Viewing Test Results section of this guide.

Note: While any number of ATG instances can run this service, it is recommended that a single ATG instance generate the reports.

Every time the service is run, log data written since the previous run is incorporated into the reports for all running tests. There are two ways to run the Report Generator Service:

  • Run the service on a schedule by editing the /atg/abtest/reporting/ReportGeneratorService component in the ACC and set the schedule property to the schedule you want to run on. By default, the schedule is set to run once an hour.

  • Run the service manually by invoking the generateReports() method of the /atg/abtest/reporting/ReportGeneratorService component.

To disable the scheduled execution of the Report Generator Service, edit the /atg/abtest/reporting/ReportGeneratorService component in the ACC and set the enabled property to false. The property is set to true by default.

Important: By default, when the Report Generator Service is run, it processes all outstanding log records in a single transaction. For optimal performance, you can configure it to process the records in batches. To do so, set the logQueryInterval property of the /atg/abtest/reporting/ReportGeneratorService component to a positive integer. The value represents a number of minutes. When the service is run (at startup, on schedule, or manually), it processes log records for the specified number of minutes, creating a single batch, and then repeats the activity, creating more batches until all outstanding records have been processed.