Record an HTTP test

 

+

Search Tips   |   Advanced Search

 

Overview

The test creation wizard starts when you record a test. This wizard...

You can record a test from Internet Explorer (the default on Windows) or from another browser.


Record a test

  1. Click...

      File | New | Test from Recording

  2. In the Create New Test from Recording window, select...

    • Create Test from New Recording
    • RPT HTTP Recording

    ......

  3. In the list of projects, click the one in which to store this test and related files. The icon identifies projects that are suitable for containing tests. Tests stored in other projects will not run.

    In the Test file name field, type a name for the test, and click Next.

    The default name is testproj. The standard Navigator and the Java Package Explorer use this name, with extensions. You will also see this name in the Test Navigator.

  4. In the Enter Client Digital Certificate window you can enable the use of digital certificates.

    To enable downloading for certificates, for FireFox profile, check "Use an alternate Firefox profile", then in drop-down, set "Use a temporary Firefox profile".

  5. Click Finish. A progress window opens while browser starts.

  6. In the address box for browser, type the address of the Web-based application to test and activate the link.

    If you enter the address of a secure Web site (one that starts with https:), browser might display a security alert. Depending on the security certificate for the site, you might be required to accept a security risk to proceed with the recording.

  7. Perform the user tasks to test.

    While you are recording...

    • Wait for each page to load completely. This waiting will not affect performance results, because you can remove extra "waiting time" (think time) when you play back the test.

    • Do not change browser preferences.

  8. After finishing performing the user tasks, stop recording by closing the browser or click on the right side of the Recorder Control view bar.

  9. Be patient. Watch the Kbytes Recorded count in the Recorder Control panel. The Test Generation progress panel will appear after incrementing has completed.

  10. On completion, the Recorder Control view displays the message Test generation completed, and you are asked to edit now...

    If you get error: "response length nnn exceed 2048K", increase the content size that RPT will save.

  11. The test opens for you to inspect or edit.

  12. Go ahead and verify new Test is working by right-clicking test name, and selecting...

      Run As | Test


Typical web application tests incude "browse" and "order" tests.


Next

Create a datapool associated with a test


Related

  1. Record a successful test
  2. Configure Internet Explorer for recording from a secure Web site
  3. Annotate a test during recording
  4. Split a test during recording
  5. Record with IP addresses
  6. Record with Internet Protocol v6
  7. Return a browser to its initial state if recording is interrupted
  8. Change HTTP recording preferences
  9. Change HTTP test generation preferences