Performance Testing
WebObjects comes with a set of tools that allows you to record a session and then play it back. Using these tools, you can test your application setup to determine whether you have the appropriate number of instances running, the appropriate amount of memory allocated, and so on. The performance tools include:
- The default application adaptor that, when the -WORecordingPath flag is set to YES, enables the recording of sessions
- A command-line Java tool that plays back recorded sessions
- A Playback Manager application that can play back sets of sessions ( NEXT_ROOT /Library/WebObjects/Applications/PlaybackManager.woa )
These tools are not designed to handle automated functional testing, only performance testing. They simply save requests and play them back after substituting the appropriate session and context identifiers. This means that the playback tools expect the application to return the same page and content as when it was recorded.
This section focuses on recording and playing back sessions from the command line. For information on the Playback Manager application, consult the application's online help.
Recording a Session
Playing Back a Session
© 1999 Apple Computer, Inc. (Last Updated 25 August 99)