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/RecordingServlet
component in the ATG Control Center.If the
RecordingServlet
component is not running, start it by clicking the Start button.Change the live value of the
recording
property totrue
.Perform the actions you wish to record (for example, page requests and submitting forms).
Change the live value of the
recording
property tofalse
.Copy the
<ATG2006.5dir>/home/logs/record.log
file 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
recording
property.Set the value to
true
and click theChange Value
button.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
recording
property.Set the
recording
value tofalse
and click the Change Value button.Copy the
<ATG2006.5dir>/home/logs/record.log
file to another filename to save its contents.
See also Using the Recording Servlet in the Monitoring Site Performance chapter.