Вы находитесь на странице: 1из 5

Recording Options - QALoad

Sravan Tadakamalla
WWW Recording Options

(WWW only) If you are running your application on Windows XP SP2, Compuware recommends you
turn the 'pop-up blocker' feature off before recording a transaction. The feature can be disabled via
the browser window's Tools menu in Internet Options>Privacy.

Application Startup
Automatic Startup of Internet Explorer: Select this option to have QALoad automatically launch
Internet Explorer, and configure the proxy and port entries for the browser and the QALoad Script
Development Workbench. If you do not select this option, you must manually configure your proxy
options before recording.

User Started Application: Select this option to configure the application manually, and then set
the appropriate options from those that follow.

Direct Connection: Select this option if you have a direct connection to the host from which you
are recording.

Manual Proxy Configuration: Select this option to specify a proxy through which to connect to the
host. Then set the following proxy options:

HTTP: Type the address of the HTTP proxy server. This field has a 255 character limit. Then enter
the port number in the Port field. QALoad accepts numbers from 0-65535.

Secure: Type the address of the secure proxy server. This field is only available if you are licensed
to use EasyScript for Secure WWW. This field has a 255 character limit. Then enter the port number
in the Port field. QALoad accepts numbers from 0-65535.

Exceptions: Type the addresses of any hosts for which QALoad should not use the specified proxies.

Proxy Automatic Configuration Script: Select this option if your proxy should use an automatic
configuration script located on your local area network. Then type the script's URL in the URL field.
Recording Options - QALoad

Restore defaults for this page: Click this link to restore all control values on this page to
their default values.

WWW Advanced Recording Options

Ports Recording WWW Transactions

HTTP Port: Specify port from which the Script Development Workbench should record HTTP
requests.

Secure Port: Specify port from which the Script Development Workbench should record secure
requests

Default Content Type Settings


Specify a Non-Standard Default Content-Type: Select this check box to set a default content
type if the Web server does not send a content type header. Setting the type to “text/html” allows
replies to be treated as HTML documents.

Selecting this check box inserts the command DO_SetAssumedContentType() in the script.

Authentication Settings
Use Specified Integrated Windows Authorization (NTML): Select this check box to enable IIS
Integrated Windows authentication support, if you are recording from a site requiring NTLM
authentication. Then, click the Set Authorization button to enter a valid user name, password, and
domain for QALoad to use to access the NTLM site during recording.

SSL Certificate Settings


Use a Client Certificate with Secure Requests: Select this check box to specify a client
certificate to use while recording SSL transactions that require client digital certificates. This field is
only available if you are licensed to use EasyScript for Secure WWW. Use the Client certificates field
to import (from existing client digital certificates) or create Client certificates using QALoad's
Maintain Certificates option from the Tools menu.

Post Data Settings


Split POST body from request header: Select this option to specify a delay time that QALoad
waits after sending a request header and before sending the subsequent body data during a POST.
Use this option only if a web server does not accept a POST request header and body when they are
sent together.

Delay: Delay time in milliseconds. Use only valid positive integers. Minimum value is 10 ms,
maximum value is 1000 ms. Default value is 10 ms.

Restore defaults for this page: Click this link to restore all control values on this page to their
default values.

General and Database Middleware Conversion Options

General conversion options are available for all middleware sessions. Database middleware options
are available for Oracle and ODBC.
Recording Options - QALoad

General Conversion Options


Split Script Lines after Column: Some SQL statements can be very large, extending into
thousands of characters. QALoad splits these statements into multiple source lines for easier
modification. Enter a parameter to specify the minimum line width before QALoad splits the line.
Within a statement, QALoad only splits the line at a logical point (for example, spaces and commas).
Field names and constants are not broken across multiple lines.

Sleep Threshold: Use this field to establish the threshold for sleeps in the script that are caused by
pauses while recording. When QALoad converts a capture file to a script and encounters a pause (or
SLEEP command) with a value equal to or greater than the threshold, it inserts a Sleep() statement
into the script using the SLEEP value from the capture file. At replay, the script pauses for that
amount of time. Any SLEEP value that is less than the value specified in this field is disregarded.

Note: The units of time for sleep thresholds vary by middleware.

Include Default Checkpoint Statements: Select this option to add default checkpoints to the
script at conversion, and the following lines will be added to the script:

/* Checkpoints have been included by the convert process */


DefaultCheckpointsOn();

Note: The Include Default Checkpoint Statements option is not available for the Java, Oracle Forms
Server, Citrix, Winsock, and WWW middlewares.

Database Middleware Options


The following general conversion options only apply to Oracle, and ODBC:

Remove Double Quotes from SQL Statements: Select this option to remove unnecessary
quotation marks in SQL statements.

Create Variables for SQL Statement Constants: When you select this option, SQL constants are
parsed to replace database object names with numeric placeholders in the form {XX} (for example,
{02}). This permits the Convert facility to handle very long SQL statements by reducing their string
size, while improving readability. The meaning of the SQL statement is not changed. Placeholders
are associated with their object names in a list of DO_substr commands that immediately follows the
SQL statement.

Convert Tabs to Spaces: Select this option to convert tabs imbedded within a SQL statement into
spaces. This option improves the readability of the script.

WWW Script Conversion Mode Selection Dialog Box

HTML Mode: Converts and replays scripts using full Document Object Model (DOM) and JavaScript
engine. Documents are fully parsed in HTML mode. JavaScript can be executed at different levels,
including NONE, LIMITED, and FULL. Uses more processor cycles and memory during test execution
than HTTP mode, but requires less scripting. See Using HTML Mode.

HTTP Mode: Converts and replays scripts using a simplified HTML parser and limited JavaScript
engine. You can control the level of HTML document parsing, and whether JavaScript should be
Recording Options - QALoad

executed. May require more parameterization than HTML mode, but does less processing during
replay and uses less memory. See Using HTTP Mode.

Use my selection as the default and don't show this dialog again: Select to always convert using the
mode you selected.

Parsing Options

Parsing options are selected in the WWW Convert Options dialog box. In the Visual Navigator, you
can view the parsing options by selecting Playback Options in the Visual Navigator tree. In the
Playback Options, the only parsing selection you can modify is the Javascript Loop Timeout field.

Page Parsing (HTTP Mode only)

Parse Pages: Enables parsing of HTML responses. By default, this checkbox is selected.

Allow Javascript execution: Allows QALoad to execute JavaScript during replay in HTTP mode. By
default, this checkbox is selected. See Allow Javascript Execution for more information.

Automatically process sub-requests: Specifies that sub-requests (such as .jpg, .gif, .css, and .js) are
not included in the script during conversion and the QALoad replay engine makes the sub-requests
automatically during replay. By default, this checkbox is selected.

Redirect Handling (HTTP Mode only)

Handle dynamic redirects: Enables the QALoad replay engine to dynamically handle redirects. The
redirects handled when this option is selected include: 3XX redirects. By default, this checkbox is
selected.

Cookie Handling (HTTP Mode only)

Handle dynamic cookies: Enables the QALoad replay engine to handle dynamic cookies during
replay. Enabling this option means that dynamic cookies are not inserted into the script.

Javascript Execution Level (HTML Mode only)

Selected level: Allows you to specify the types of JavaScript that are executed by the
QALoad replay engine during replay. The options provided are FULL, LIMITED, and NONE.
When you select LIMITED, you may need to do further parameterization and edit the
script. See JavaScript Execution Level for more information.

Javascript (HTTP and HTML Modes)

Javascript loop timeout xx seconds: Allows you to specify the length of time (in seconds) that a
JavaScript is allowed to run before the QALoad replay engine terminates the script. Use this option to
avoid endless loops in JavaScript execution. Use only valid integers in this field. See Javascript Loop
Timeout for more information.

Sub-Requests (HTTP and HTML Modes)

Manually select sub-requests to be made during playback: When selected, specifies that you would
like to manually select only specific sub-requests from those captured to be made during playback.
Recording Options - QALoad

All sub-requests selected at end of convert: Selects all sub-requests from the capture for
insertion into the script to be requested during replay.

All sub-requests unselected at end of convert: Selects none of the sub-requests from the
capture for insertion into the script to be requested during replay.

Restore defaults for this page: (Convert only) Click this link to restore all control values on this page
to their default values. This function is available only for the Parsing page in Convert Options.

Вам также может понравиться