Performance Tester records sessions with an HTTP application and generates tests from the recordings.
At the conclusion of recording, the generated test automatically opens
in the test editor and is listed in the Test Navigator so that you can subsequently
reopen or run the test. For example, the following figure shows a test named visitIBM that
was generated from the URL http://www.ibm.com.
For detailed recording instructions, see Recording a test.
The behavior of the recorder and test generator are controlled by preference settings. To inspect or change the settings, on the menu bar, click Window > Preferences and expand Test. Click HTTP Proxy Recorder to see recorder preferences and Performance Test Generator to see generator preferences.
On Windows computers, the default browser (named in the preference settings) is Internet Explorer. The test creation wizard starts Internet Explorer for you, configures it for test recording, and resets the configuration for browsing when you stop the recorder, which you can do simply by stopping Internet Explorer.
On Linux computers, the browser setting in the preferences is none. You manually start your browser, configure it for test recording, and stop the recorder from the Recorder Control viewer. Configuring Mozilla or Netscape for recording and resetting it for browsing are explained in Configuring Mozilla or Netscape for test recording. If you use a different browser, consult its documentation on proxy configuration.
Performance tests are stored in Performance Test projects. A Performance Test project is a Java project created with a source folder. You can store performance tests in standard Java projects that include source folders.
Your Eclipse workspace might include projects of other types (for example,
Resource and Simple). The test creation wizard allows you to store tests in
any type of project. However, only tests that are stored in Java or Performance
Test projects can be run. The folder icon for Java and Performance Test projects
includes a J: .
Store performance tests only in these projects.
Parent topic: Creating tests