In order to use a metric in a test, you need to define where data gathered by the test will be stored. There are two kinds of data generated by tests: raw log data produced by the recorders in the tests and report data that result when log data is evaluated. To support your metric, you need to add or modify the item descriptors for the logging and reporting repositories so that they map to new tables and columns in the database that you create to hold test data.

You need to make adjustments to two repository definitions:

When you add properties to a repository, either by adding properties to an existing item descriptor or creating a new item descriptor, you save your additions in an XML file. This file specifies the XML-combine tag and is added to the CONFIGPATH so that it is appended to the parent repository definition file. For information about repositories, see the ATG Repository Guide. To learn about XML-combine, see the XML File Combination section of the ATG Platform Programming Guide.

You can find a list of all ATG Campaign Optimizer database tables in Appendix B, ATG Campaign Optimizer Database Tables. For instructions on modifying your database configuration, see the documentation provided from your database vendor.