You can use the ATG Recording Servlet facility as an aid in constructing a test script. This is particularly helpful in tests of form submission (such as requests with the POST method) because the script must supply the data for the form. Follow these steps to record a test script:
Open the
/atg/dynamo/servlet/pipeline/RecordingServletcomponent in the ATG Control Center.If the
RecordingServletcomponent is not running, start it by clicking the Start button.Change the live value of the
recordingproperty totrue.Perform the actions you wish to record (for example, page requests and submitting forms).
Change the live value of the
recordingproperty tofalse.Copy the
<ATG2006.5dir>/home/logs/record.logfile to another filename to save its contents.
You can also use the Recording Servlet with the Dynamo administration page:
Browse the Recording Servlet in the Dynamo administration page:
http://hostname:port/nucleus/atg/dynamo/servlet/pipeline/RecordingServletClick on the name of the
recordingproperty.Set the value to
trueand click theChange Valuebutton.Perform the actions you wish to record (for example, page requests and submitting forms).
Return to the Recording Servlet page in the Dynamo administration interface.
Click on the name of the
recordingproperty.Set the
recordingvalue tofalseand click the Change Value button.Copy the
<ATG2006.5dir>/home/logs/record.logfile to another filename to save its contents.
See also Using the Recording Servlet in the Monitoring Site Performance chapter.

