Previous Topic: Generate a Web ServiceNext Topic: Configure Proxy Settings


Record a Website

DevTest Workstation provides an HTTP recorder to test a website test case using a proxy recorder.

This helps track your path through the website and automatically creates test steps for each HTTP request that is generated while recording.

Note: Before recording, disable caching or flush the cache in your browser so that the web recorder can get the client request parameter encoding from some server response packets for multibyte encoding systems. If the web recorder cannot capture the response packets, it decodes or encodes the parameter with ISO-8859-1 as the default and the captured parameters may get garbled.

To start the recording:

  1. Click Recording Image of VSE Recorder icon (yellow lightning bolt).
  2. Click Record Test Case for User Interface, Web Recorder (HTTP Proxy).

    You can also select Actions, Record Test Case for User Interface, Web Recorder (HTTP Proxy) from the main menu.

    This lets you start the browser that is used to record and play back HTTP tests.

  3. Enter the URL for the web page to test.

    Note: Entering "localhost," for example: http://localhost:8080/lisabank/, does not work with HTTP Proxy recording. For the URL, use the host name or IP address instead of "localhost."

  4. Select your preferences from the following:

 

Port Usage

By default, the DevTest Proxy recorder uses port 8010 for recording.

If you do not want to use this port, you can override the setting in the lisa.properties file with the following property: lisa.editor.http.recorderPort=8010.

To start the recording, click Start Recording to start the Web recorder, or click Proxy Settings to configure the proxy.

The following topics are available.