Skip Headers
Oracle® Load Testing Load Testing User's Guide
Version 9.20

Part Number E15484-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

3 Basics

This chapter explains how to get started using Oracle Load Testing. It explains how to install and start the program, and the features of the main window.

3.1 Installing Oracle Load Testing

The installation for Oracle Load Testing depends upon how you plan the virtual user test configuration. At a minimum, you need to install Oracle Load Testing on a single system that can access the Web application. If you are performing distributed testing in a networked environment, you need to install at least one station with Oracle Load Testing to use as a "Master" station and install the Oracle Load Testing Agent (or another seat of Oracle Load Testing) on the client machines to use as virtual user Agent stations.

The following sections explain the procedures for installing Oracle Load Testing and the Oracle Load Testing Agent.

3.1.1 Installing Oracle Load Testing

The Oracle Load Testing setup procedure installs both Oracle Load Testing Server and Oracle Load Testing Agent. You should not install Oracle Load Testing Agent separately on the same system. To install Oracle Load Testing:

  1. Go to: http://www.oracle.com/technology/software/products/app-testing/index.html.

  2. Download the Oracle Application Testing Suite product from the Oracle Web site and save it to a temporary directory on your hard disk. See the Oracle Application Testing Suite Release Notes for additional information about the product zip files.

  3. Unzip the download file and then run setup.bat.

  4. Follow the setup instructions to install the Oracle Application Testing Suite.

    Note:

    A product establishes its Default Repository in $installDir/OFT, where $installDir is the directory where Oracle Application Testing Suite is installed or, if Oracle Application Testing Suite is not installed, where OpenScript is installed.

    During the Oracle Application Testing Suite installation, you will be required to enter a master password to be used with Oracle Application Testing Suite products. Remember this password. It will be required to log in to the Administrator, Oracle Load Testing, and Oracle Test Manager.

  5. Select Oracle Load Testing from the Oracle Application Testing Suite start menu to start the Oracle Load Testing user interface.

    Oracle Load Testing starts in an existing browser if one is available. To set Oracle Load Testing to always start in a new browser window, change the Reuse windows for launching shortcuts setting in Internet Explorer to be deselected. In IE, select Internet Options from the Tools menu then click the Advanced tab to change the setting under Browsing from the Advanced tab to access this setting.

3.1.2 Popup Blockers

Popup blockers must be turned off for Oracle Load Testing to operate. To turn off popup blockers:

Firefox - Select Options from the Tools menu. Uncheck Block Popup Windows.

Internet Explorer - Select Pop-up Blocker from the Tools menu. If the pop-up blocker is on, select Turn Off Pop-up Blocker.

3.1.3 Port Configuration

If you are using a firewall between the Oracle Load Testing Server machine and the agent machines, port 9001 must be open in your firewall software itself and on the agent machines. To change this port on the agent machine, change the wrapper.app.parameter.2 setting in the <installdir>\agentmanager\bin\AgentManagerService.conf file. In addition, change the port in the system configuration in Oracle Load Testing by selecting Systems from the Manage menu then selecting VU Agent Systems. Select the agent machine that is running on a different port, click Edit, and change the default port 9001 to the port that you set in the AgentManagerService.conf file.

To run Oracle Load Testing, it is recommended that you have the following general communication ports open before starting the Oracle Load Testing Application Service.

http=8088

agent=9001

dataCollector=7073

webservice=8083

https=8089

To change the ports:

  1. Go to http://localhost:8088/console to start the WebLogic Console.

  2. Log in as administrator using the password you defined during the Oracle Application Testing suite installation procedure.

  3. In the Domain Structure, select Environment under "oats" and then select Servers.

  4. Select AdminServer(Admin).

  5. Change the port and release the config.

See the Oracle WebLogic Server documentation for additional information about using the Console application.

The following ports are used between the Oracle Load Testing Server and the Agent Machine itself:

  • 9001

  • 7073 - Data Collector

  • 8088 for running OpenScript scripts only

3.1.4 Installing Oracle Load Testing Agent

The Oracle Load Testing Agent is a subset of the full Oracle Load Testing installation. You should not install the Oracle Load Testing Agent if you have Oracle Load Testing installed on the system. You install Oracle Load Testing Agent on the agent systems (which should be Windows 2000/2003 machines) when you want to run distributed load tests in a network environment and you want the agent systems to have more system resources available for running virtual users. To install the Oracle Load Testing Agent:

  1. Run the downloaded setup.bat installation program from the download zip file.

  2. Follow the setup procedure to the Select Components and Installation Directory screen.

  3. Clear all check boxes except the Remote Agent check box.

  4. Click Next as necessary to complete the installation.

  5. Verify network access from Oracle Load Testing system to the Agent systems and configure the Agent Systems as explained in the next sections.

  6. Configure the agent system.

  7. Define the system in Oracle Load Testing by selecting Systems from the Manage menu.

Once the Oracle Load Testing Agent is installed and the Agent systems are configured, you do not need to start or run an application. When you define your Oracle Load Testing testing scenarios, you specify which Agent machine to use to run the virtual users in the System field of the Build Scenarios tab. Oracle Load Testing automatically accesses and starts the Agent when you start the Autopilot.

3.1.4.1 Verify Network Access to Agent Systems

Once you have the Oracle Load Testing and Agent software installed on the individual systems, you should verify network access between the Oracle Load Testing system and each Agent system. This section provides basic tips and techniques to make sure that Oracle Load Testing can successfully communicate with each Agent system.

  1. Make sure that you have the Oracle Load Testing Agent software loaded on the Agent system(s) and that it is the same version as the Oracle Application Testing Suite software that is loaded on the Oracle Load Testing system. The systems you plan to use as agents must have either the Oracle Load Testing Agent software or the full Oracle Application Testing Suite installed to work as agents. Do not install both the Oracle Load Testing Agent software and the Oracle Application Testing Suite software on the same system. Otherwise, resource conflicts between the two programs may occur.

  2. Make sure you can successfully Ping all of the Agent systems from the Oracle Load Testing system. The names you use to Ping the systems are the same names that you will specify for the Agent systems in the Oracle Load Testing system. If you cannot successfully Ping the Agent systems, contact your network administrator to resolve the issue. If you cannot Ping the agent systems from the Oracle Load Testing system, you will not be able to run the agents from the Oracle Load Testing system.

  3. In the Oracle Load Testing system, add a script to the Configure Parameters of the Scenario list. Enter the machine name or IP address of the Agent system where you want to run the script into the System field on the Build Scenarios tab of Oracle Load Testing.

3.1.4.2 Configuring Oracle Load Testing Agents

If you need to change the account that the agent service, and thus the agent itself uses, you must specify the login information. You may need to do this:

  • When testing with client side certificates. They are typically installed on agent machines and may only be accessible when logged in as that user.

  • When the system account has a proxy server configuration setup for use by the machine's local Internet Explorer.

To configure Oracle Load Testing agents:

  1. Open Administrative Tools in the Control Panel then open Services. The Services dialog box displays.

  2. Select Oracle Load Testing Agent Service.

  3. Select Properties from the Action menu.

  4. Click the Log On tab.

  5. Select This account to specify the login information:

    • This Account - specify the account or use the Browse button to navigate to the account.

    • Password - specify the login password.

    • Confirm Password - confirm the login password.

  6. Click OK.

If the password for this account changes, you must change the password using this procedure.

3.2 Installing the Linux Agent

The Linux agent is not part of the standard Oracle Application Testing Suite product download Zip file. To install the Linux agent:.

  1. Go to: http://www.oracle.com/technology/software/products/app-testing/index.html

  2. Download the oats-linux-agent-x.xx.xxxx.zip from the Web site.

  3. Copy oats-linux-agent-x.xx.xxxx.zip to your Linux machine.

  4. Enter the following commands. <installdir> should be the location where you want to install the agent.

    unzip oats-linux-agent-x.xx.xxxx.zip -d <installdir>
    
    cd <installdir>/agentmanager/bin
    chmod +x install.sh
    
  5. Start the AgentManager with the following command:

    ./install.sh [existing-username]
    

Once the Linux agent is installed, define the remote agent system in the Oracle Load Testing Systems Manager.

When you define your Oracle Load Testing testing scenarios, you specify which Agent machine to use to run the virtual users in the System field of the Build Scenarios tab. Oracle Load Testing automatically accesses and starts the Agent when you start the Autopilot.

3.3 Adding Repositories

Repositories specify the location to use to store scripts and related asset files. Repositories also provide a way to share files between OpenScript and Oracle Load Testing. Oracle Load Testing requires that all assets live inside of a named Repository. Oracle Load Testing will not be able to find an asset located in the local file system outside of a repository. Any shared directory can be used as a repository. However, all repositories shared between Oracle Load Testing, Oracle Test Manager, OpenScript, and team members must share the same repository name. For example, if one member of a team calls a shared repository SharedRepo1, but another member of a team calls the same shared repository Shared_Repository_1, it is possible that some script assets may not be found when the team members share scripts.

To reduce the chance of local repository name conflicts, it is recommended that you create a new local repository named something unique to the user, such as <machineName>.<windowsUserName>.MyRepository. Store in this folder all scripts that are not intended to be shared among team members.

Best Practices:

To add a repository:

  1. Select Options from the Tools menu.

  2. Select Repositories in the left pane.

  3. Click New. A new entry is made in the table.

  4. Enter the name of the repository.

    Note:

    When using OpenScript scripts with Oracle Load Testing, the repository names you specify should match the repository name specified in OpenScript (including case).
  5. Enter the location of the repository.

3.4 Setting Up Servers for ServerStats

Before ServerStats can monitor server-side statistics, the server(s) that you plan to monitor must be configured so that the ServerStats client has remote access to the server(s).

This section explains the server-side requirements for ServerStats remote access.

3.4.1 Solaris SNMP Server

The ServerStats Solaris SNMP client gathers performance statistics from a Solaris SNMP agent. ServerStats uses Sun Microsystems' proprietary SNMP extensions to report on the overall status of a machine and its individual processes.

The Solaris SNMP agent is installed and enabled by default on versions 2.6 and above of Solaris and is officially part of the Solstice Enterprise Agents suite:

http://www.sun.com/software/entagents/.

3.4.1.1 Starting the SNMP Agent on Solaris 2.6/2.7

To start the SNMP agent on Solaris:

  1. Verify the Solaris SNMP agent is installed and that you have the following files and directories.

    Files and Directories Description
    /usr/lib/snmp/snmpdx Sun Solstice Enterprise Master Agent
    /usr/lib/snmp/mibiisa Sun SNMP Agent
    /etc/init.d/init.snmpdx Initialization script
    /etc/snmp/conf configuration files directory
    /var/snmp/mib/snmpdx.mib Master agent MIB file
    /var/snmp/mib/sun.mib Sun agent MIB file

    The above directory and file locations apply to the default installation of Solaris and SNMP. Refer to the Solaris installation documentation for additional information about installing Solstice Enterprise Agents suite.

  2. Start the Solaris SNMP agent.

    If the snmpdx process is not already running, execute the following command to start the Solaris SNMP agent:

    /etc/init.d/init.snmpdx start

    Verify that snmpdx and mibiisa are in the process list.

3.4.1.2 Stopping the SNMP Agent

To stop the SNMP server at any time, execute the following command:

/etc/init.d/init.snmpdx stop

3.4.1.3 Enabling SNMP Agent on Startup

To enable SNMP at startup, make a new entry in the /etc/rc*.d directories, or run the startup command from your local initialization script.

Refer to the Solaris documentation for more information on installing, configuring and running the SNMP agent. Online information can be found at:

http://www.sun.com/software/entagents/docs.html

3.4.2 Oracle SNMP Server

The ServerStats Oracle SNMP client gathers performance statistics from the Oracle Enterprise Manager Intelligent Agent. The Oracle Intelligent Agent uses the Simple Network Management Protocol (SNMP). The agent exposes an extensive set of statistics through SNMP. The ServerStats Oracle SNMP client reports on statistics relating to I/O, load, and query activity.

You must configure Oracle SNMP support before starting the Intelligent Agent. Note that all configuration files for the following steps are located in the $ORACLE_HOME/network/snmp/peer directory.

This section provides basic instructions for configuring Oracle SNMP access. Additional documentation for the Oracle Enterprise Manager Intelligent Agent is located on the Oracle Documentation CD in the Server section (see section 4-19 of the Oracle8 Installation Guide). The installation documentation for the specific platforms describe how to start the agent on Windows and Linux.

3.4.2.1 Configure Master Agent

In the CONFIG.master file, make the following change:

Search for the line beginning with MANAGER.

Change the ipaddr field, coded as 130.35.10.210, to the hostname or IP address of the Oracle server to monitor using ServerStats.

You can also make other changes to the CONFIG.master file, as documented within the file.

3.4.2.2 Configure the Encapsulator

Add the following line to the snmpd.conf file:

trap hostname_or_IP_address

where hostname_or_IP_address represents the hostname or IP address of the Oracle server to monitor using ServerStats.

In the CONFIG.encap file, you can optionally modify the port number, which is set to 161 in the default file. If you modify the port number, you must also modify the port number for NEW_SNMPD_PORT in the start_peer script.

NEW_SNMPD_PORT is the port on which the snmpd agent (the native Solaris 2.x SNMP agent) listens. Make sure this is the same port as specified in the CONFIG.encap file. NEW_TRAPD_PORT is the PEER encapsulator port to which the snmpd agent sends traps.

NEW_SNMPD_PORT and NEW_TRAPD_PORT in the start_peer script must have different port numbers. You may also modify the NEW_TRAPD_PORT port number.

3.4.2.3 Verify the start_peer Script

The start_peer script contains a line like the following:

SNMPD = snmpd_executable_path

If the snmpd executable on your system is not in the location indicated by the start_peer script, edit snmpd_executable_path to indicate the correct location of the snmpd executable.

3.4.2.4 Start the SNMP Components

Perform the following steps to start the SNMP components:

Verify that the SNMP components, master_peer, encap_peer, and snmpd, are not running:

$ ps -aef | grep peer

$ ps -aef | grep snmp

If any of the components are running, log in as the root user and use the kill command to terminate the processes before proceeding.

As the root user, run the start_peer script to start the PEER master agent, PEER encapsulator, and native Solaris 2.x SNMP agent:

# cd $ORACLE_HOME/network/snmp/peer

# ./start_peer -a

Warning:

If you do not have the native Solaris 2.x SNMP agent on your system, you must not use the PEER encapsulator. To start the master agent only, run start_peer -m.

3.5 Installing Remote Data Collectors

You can use remote data collectors for collecting ServerStats data. To install a remote data collector:

  1. Run setup.bat installation program from the download zip file.

  2. Follow the setup procedure to the Select Components and Installation Directory screen.

  3. On the Select Components and Installation Directory dialog box, deselect all options except for Oracle Load Testing DataCollector.

  4. Follow the setup instructions to install the remote data collector.

  5. In Oracle Load Testing, select Systems from the Manage menu to display the System Manager.

  6. Select ServerStats Data Collectors and click New. The Add ServerStats Data Collector Dialog Box is displayed.

  7. Enter the name, host name or IP address, and port number to use for the remote data collector.

  8. Click OK.

  9. Click Close.

  10. The remote data collector will be available to use when adding or editing monitors in a ServerStats configuration. Select the remote data collector in the Data Collector section of the Edit Monitor and Add Monitor: Step 2 of 3 dialog boxes.

3.6 Changing the Web Server Port

The default Oracle Load Testing web server port is 8088. You can change this to another port. The port number must be changed in the WebLogic Console and the Oracle Application Testing Suite configuration.

To change the port in the WebLogic Console:

  1. Go to http://localhost:8088/console to start the Oracle WebLogic Server Administration Console.

  2. Log in as an administrator (the default username is "oats") using the password you defined during the Oracle Application Testing Suite installation procedure.

  3. In the Domain Structure, select Environment under "oats" and then select Servers.

  4. Select AdminServer(Admin).

  5. Change the port and release the configuration.

    See the Oracle WebLogic Server Administration Console documentation for additional information about using the Console application.

To change the port in the Oracle Application Testing Suite configuration:

  1. Open the file <installdir>\config\oats-config.xml in a text editor.

  2. Change the port number from 8088 to the new value in all property keys where the port number is used.

  3. Save the file.

  4. Open the Control Panel and then open Services in the Administrative Tools.

  5. Restart the "Oracle Application Testing Suite Application Service" service.

  6. Login to Oracle Load Testing and select Systems from the Manage menu and then select ServerStats Data Collectors.

  7. Select your Oracle Load Testing server system, click Edit, enter the changed port number, and click Save.

    If you are using remote data-collectors (non-localhost), Steps 11 and 12 should not be performed.

3.7 Using SSL

You can set up Oracle Load Testing to use SSL (Secure Sockets Layer). The procedure is comprised of the following steps:

  1. Go to http://localhost:8088/console to start the WebLogic Console.

  2. Log in as "oats" using the password you defined during the Oracle Application Testing suite installation procedure.

  3. In the Domain Structure, select Environment under "oats" and then select Servers.

  4. Select AdminServer(Admin).

  5. Select the SSL tab.

See the Oracle WebLogic Server documentation for additional information about using the Console application.

3.8 Oracle Application Testing Suite Tools Menu

The Oracle Application Testing Suite tools menu has options for viewing version information, restarting and stopping the Oracle Application Testing Suite Application service, and creating support files for troubleshooting. Select Tools from the Oracle Application Testing Suite start menu. This menu has the following options:

About Oracle Application Testing Suite - displays the About Oracle Application Testing Suite dialog box that shows copyright and version information. It also has information about your system.

Create Support File - for troubleshooting purposes, creates the OATSSupport.zip file and places it on your desktop. From there you can email it to your support representative. This file contains the log files used for troubleshooting.

Oracle Application Testing Data Migration Tool - opens the Data Migration Utility for migrating data from Oracle Test Manager or Oracle Load Testing in MS Access or SQL Server databases to Oracle Database 11g.

Oracle Application Testing Database Configuration - opens the database configuration utility for adding or removing database connections for Oracle Load Testing and Oracle Test Manger.

Oracle Load Testing Agent Authentication Manager - opens the Agent Authentication Manager for defining authentication profiles for multiple load testing agent machines.

Oracle Test Manager - Win32 Client - opens the Oracle Test Manager Windows 32-bit client application. The Windows 32-bit client application contains a subset of the features in the Oracle Test Manager Web application.

Restart Oracle Application Testing Suite Application Service - stops and restarts the Oracle Application Testing Suite Application service.

Stop Oracle Application Testing Suite Application Service - stops the Oracle Application Testing Suite Application Service.

3.9 Administrator

Using the Administrator you create user accounts, assign them user names and passwords, and assign the type of access that they have in Oracle Load Testing, none, full control, or view only. When Oracle Load Testing login is enabled, users must login to access Oracle Load Testing.

A default administrator account is created at installation. The username and password are specified during the installation process. You can change the password after logging in to the Administrator.

To start the Administrator:

  1. Enter http://<machine>:8088/admin in your browser where machine is where the Oracle Application Testing Suite is installed or select the Administrator from the Oracle Application Testing Suite start menu.

  2. Enter your password.

  3. Select the load testing database that you want to access.

  4. If you want to change the administrator password, click the User tab, select the Administrator user, and click Edit.

  5. Enter the new password, verify it, and click OK.

3.9.1 Menu Options

This section describes the menus and options available in the Administrator.

3.9.1.1 Tools Menu

Unlock Locked Records - unlocks locked records in the database. This is an emergency feature to be used to clear out locks in the database when the product fails and leaves entries locked for editing.

Purge Deleted Records - physically removes all deleted data from the database. Deleted items are marked as such and are not shown in the user interface; however, they are kept in the database until the database is purged.

Setup E-mail Config - displays the Setup E-mail Configuration dialog box for configuring the mail server to use for e-mail notifications.

Manage Default Reports - displays the Manage Default Reports dialog box for selecting which default reports will be visible to individual users.

3.9.1.2 Help Menu

Contents - displays the online help table of contents.

About Admin - displays version and copyright information.

3.9.1.3 Logout

Exits the Administrator.

3.9.2 Users Tab

The Users tab is where you add, edit, and delete users and specify what Oracle Load Testing features they can access.

Add - displays the Add User dialog box for adding new users.

Edit - displays the Edit User dialog box for the selected user.

Delete - deletes the selected user.

Username - displays the user name for logging in to Oracle Load Testing.

First Name - displays the user's first name.

Last Name - displays the user's last name.

E-Mail - displays the user's e-mail address.

Access - displays the type of access the user has in Oracle Load Testing.

Administrator Access - displays whether the user can access the Administrator.

3.9.3 Usage Audit Tab

The Usage Audit tab is where you review and audit the load testing sessions stored in the Oracle Load Testing database.

OLT Databases - lists the installed Oracle Load Testing Databases available for auditing.

User Name - shows the name of the user who ran the load test. "Anonymous" indicates the login feature was disabled for the instance of Oracle Load Testing that ran the test and there is no username associated with the test. "Command Line" indicates the load test ran from the command line interface.

Session Name - shows the name of the load testing session.

Start Time - shows the start date and time for the load testing session.

End Time - shows the end date and time for the load testing session.

Duration (HH:MM:SS) - shows the duration of the load testing session in hours, minutes, and seconds.

Machine Name - shows the name of the machine on which the load testing session was run.

Max VU Count - shows the maximum count of Virtual Users that were run for the load testing session.

3.9.4 Adding Users

To add a user:

  1. Click Add.

    First Name - enter the user's first name.

    Last Name - enter the user's last name.

    E-Mail - enter the user's e-mail address.

    Username - enter the user's username.

    Password - enter the user's password.

    Confirm Password - re-enter the user's password.

    Enable E-mail notification - select this option to enable email notification when new issues are created and when the owner or assigned to fields are changed for issues.

    Enable Administrator Access - gives this user the ability to log on to the Oracle Test Manager Administrator for managing the database.

  2. Enter the user's information.

  3. Select or clear the E-Mail notification and Administrator access options.

  4. Click OK.

3.9.5 Editing Users

To edit a user:

  1. Select the user whose information you want to change.

  2. Click Edit.

    First Name - enter the user's first name.

    Last Name - enter the user's last name.

    E-Mail - enter the user's e-mail address.

    Username - enter the user's username.

    Password - enter the user's password.

    Confirm Password - re-enter the user's password.

    Enable E-mail notification - select this option to enable email notification when new issues are created and when the owner or assigned to fields are changed for issues.

    Enable Administrator Access - gives this user the ability to log on to the Oracle Test Manager Administrator for managing the database.

  3. Make any changes.

  4. Click OK.

3.9.6 Deleting Users

To delete a user:

  1. Select the user you want to delete.

  2. Click Delete.

  3. Click Yes when asked to confirm the deletion.

3.9.7 Auditing Usage

To audit usage:

  1. Click the Usage Audit tab.

  2. Select the database. The session information appears in the right pane of the Usage Audit tab. See Section 3.9.3, "Usage Audit Tab" for additional information.

3.10 Main Window Features

The Oracle Load Testing main window is where you perform the majority of your load/performance testing activities. The main window consists of the menu bar, toolbar, and five dialog tabs.

3.10.1 Overview of the Menu Options

The Oracle Load Testing main menu has the following options:

  • Scenario

  • Session

  • ServerStats

  • Tools

  • Manage

  • Help

  • Logout

The following sections explain each of the menu options.

3.10.1.1 Scenario Menu

These menu options let you work with scenario files. The following options are available:

New- creates a new Oracle Load Testing scenario.

Open- opens an existing Oracle Load Testing scenario to run or modify.

Save- saves any changes to the currently open Oracle Load Testing scenario. If the scenario has not been saved before, Oracle Load Testing asks for a filename.

Save As - saves the currently open Oracle Load Testing scenario using a different filename.

3.10.1.2 Session Menu

The Sessions Menu options let you manage sessions. The following options are available:

Attach - opens a dialog box for selecting another running session that you want to view.

Detach - detaches from the current session.

Stop - stops the current session.

Terminate Idle Agents - stops all idle agent processes running on your agent systems.

3.10.1.3 ServerStats Menu

The ServerStats Menu options let you configure ServerStats configurations, metric profiles, and metrics, as well as start the virtual user display.

Configurations - opens a dialog box for managing ServerStats configurations.

Metric Profiles - opens a dialog box for configuring ServerStats metric profiles.

Metrics - opens a dialog box for configuring ServerStats metrics.

ServerStats Display - opens the ServerStats Status dialog box that shows the results and status of ServerStats monitors.

3.10.1.4 Tools Menu

The following options are available:

Options - opens a dialog box for setting the Oracle Load Testing preferences.

VU Display - starts the virtual user display, which lets you monitor the progress of virtual users and view any errors virtual users may run into during playback.

Sync Point Status - opens a dialog box that displays the status of all sync points and lets you release individual sync points or all sync points.

Upload File - opens a dialog box for uploading a file to the repository.

Download File - opens a dialog box for downloading a file to the local system.

3.10.1.5 Manage Menu

The following options are available:

Systems- opens a dialog box for adding, editing, and deleting systems that can be configured as VU Agents, Data Collectors, or Monitored Systems.

Databases - opens a dialog box for adding, editing, and deleting databases.

Sessions- opens a dialog box for editing and deleting sessions from the database.

Scenarios - displays a dialog box for editing and deleting scenarios.

Graphs - displays the Graph Query Manager for editing and deleting saved graph queries.

3.10.1.6 Help Menu

The following options are available.

Contents - opens the help system contents.

About - provides version, licensing, and serial number information.

3.10.1.7 Logout

Exits Oracle Load Testing.

3.10.2 Toolbar

The toolbar has the following buttons:

New Scenario - Creates a new Oracle Load Testing scenario.

Open Scenario - Opens an existing Oracle Load Testing scenario to run or modify.

Save Scenario - Saves any changes to the currently open Oracle Load Testing scenario. If the scenario has not been saved before, Oracle Load Testing asks for a filename.

Start Load Test - Submits the current scenario to the Autopilot and automatically starts the scenario.

Stop All Virtual Users - Stops all virtual users that are running in the current scenario.

Abort All Virtual Users - Aborts all virtual users that are running in the current scenario.

Pause Autopilot - Pauses the autopilot.

3.10.3 Build Scenarios Tab

The Build Scenarios tab is where you specify which scripts and user-defined profiles to include in the scenario.

The Select scripts list shows the Oracle OpenScript scripts in the current repository/workspace.

The Configure parameters of the scenario list shows the scripts and user-defined profiles selected for the current Oracle Load Testing scenario. You can configure each using the options provided here.

You can change the fields that are displayed and the default values for each field by selecting Options from the Tools menu then selecting Scenario Defaults and checking or unchecking the Show field.

Path - shows the directory path of the selected repository. The default repository is the OFT folder in your installation directory. New repositories can be created by selecting Options from the Tools menu then selecting Repositories.

<Script list> - a list of Oracle OpenScript scripts that are available to include in virtual user scenarios.

Configure parameters of the scenario - a list of scripts selected to be in the load scenario. The fields displayed here can be customized by selecting Options from the Tools menu then selecting Scenario Defaults. Select the fields you want to display by checking the field's corresponding checkbox in the Show column.

# VUs - specifies the number of virtual users to run for the selected profile. For each virtual user, Oracle Load Testing runs a separate instance of the script(s) specified in the virtual user profile.

System - specifies the machine on which the virtual users will run. When running virtual users across systems on a LAN/WAN, select the system name of a system running either Oracle Load Testing Server or Oracle Load Testing Agent from the option dropdown. Systems are defined using the VU Agents option in the System Manager. Initially, you must define the machine names or IP addresses of the system(s). Once the name(s) or IP addresses have been specified, you can select the system name from the drop-down list for future load tests.

When determining the number of virtual users to run per process or system, you need to include the Client overhead in the resource allocation. Each VU requires approximately 350 KB-500 KB of memory to run. When calculating the available memory to run VUs on an agent system, you must account for a 20-30% client system overhead. Therefore, you only have 70-80% of the physical memory (RAM) available to run VUs.

Iteration Delay - specifies the amount of time (in seconds) to wait between iterations of virtual user runs. You specify the number of iterations using the Autopilot.

VUs Pacing - specifies the script playback delay between pages for each virtual user. This is the amount of time the user looks at a page before making the next request and is commonly referred to as "think time." There are four options:

  • Recorded - uses the delay times that were recorded in the Oracle OpenScript script. You can set minimum and maximum delay times (in seconds) that override the script delay times in the Minimum and Maximum edit boxes.

  • Recorded/Random - uses random delay times based upon the recorded user delay. Oracle Load Testing sets the low end of the random range as the actual recorded user delay minus the Lower percentage setting. Oracle Load Testing sets the high end of the random range as the actual recorded user delay plus the Upper percentage setting. For example, if the actual recorded delay time was 100 seconds and the Lower and Upper settings are 10% and 25% respectively, Oracle Load Testing uses random delay times between 90 and 125 seconds.

  • Random - uses random times for Virtual User pacing. You can set minimum and maximum delay times for random delay in the Minimum and Maximum fields.

  • No Delay - plays back the scripts at the fastest possible speed with no time between page requests.

Each line also includes the following buttons:

Edit Scenario Details - Displays the Edit Scenario Details dialog box for configuring the parameters script in the scenario.

Data Bank Control - Displays the Data Bank Control dialog box for configuring the Data Bank options for individual scripts.

Delete - Deletes the selected profile from the scenario.

Configure Sync Point - Displays the Sync Point Status dialog box for configuring the Synchronization point parameters for the scripts in the scenario.

For information about the Selected VU Profile settings see Chapter 4, "Defining Virtual User Scenarios".

3.10.4 Set Up Autopilot Tab

The Set up Autopilot tab is where the information needed to control the running of the scenario is specified. The Autopilot controls the starting and stopping of the scenario, the frequency with which new virtual users are started and the number of virtual users that are started from among the profiles submitted to it.

You specify the start and stop times, and the virtual user rampup specifications for the Submitted Scenario Profile. The Set up Autopilot tab also shows the list of virtual user profiles submitted in the Oracle Load Testing scenario and the available ServerStats Configurations for monitoring back-end systems during a load test.

The Timing and event controls section is where you specify when the Scenario profiles should start and when they should end and the rate at which the virtual users within the Scenario profile list should start.

The ServerStats Configuration section is where you specify an Oracle Load Testing ServerStats configuration to run during the load test. Each ServerStats configuration contains a collection of monitors for monitoring performance of back-end systems during a load test to identify bottlenecks.

The Submitted Scenario Profiles list shows the virtual user profiles submitted to the Autopilot as part of the Oracle Load Testing scenario. The list also shows the number of virtual users specified for each profile, the number of virtual users remaining to be started, and other details of the Scenario run.

For information about using the Autopilot, see Chapter 5, "Using the Autopilot".

3.10.5 Watch VU Grid Tab

The virtual user grid lists the currently running virtual users and the profile and playback details associated with each.

For information about using the virtual users grid, see Chapter 5, "Using the Autopilot".

3.10.6 View Run Graphs Tab

The View Run Graphs tab is where you can view runtime graphs and reports. These graphs are only available for the running load test session. Use the Create Reports tab to view reports and graphs after the load test has finished running.

The View Run Graphs tab is refreshed according to what is set in the Graph refresh interval setting in the reporting options (select Options from the Tools menu).

To stop the display from being refreshed click the Pause button.

To resume refreshing the display, click the Resume button. Note that exiting the tab and returning to the tab will also resume refreshing the display.

The Overview tab shows a thumbnail view of each graph. Click on a thumbnail to see a full view of that graphs or reports.

Click the New Graph tab to create a custom run time graph.

For information about reports and graphs, see Chapter 6, "Using Graphs and Reports".

3.10.7 Create Reports Tab

The Create Reports tab is where you can view reports and graphs for sessions for which you have saved data for reporting.

For information about reports and graphs, see Chapter 6, "Using Graphs and Reports".

3.11 Systems Manager

The System Manager, accessed by selecting Systems from the Manage menu, lets you add and remove Systems and create System groups.

The Systems Manager lets you configure four types of systems and groups and has the following options for each:

VU Agent Systems - these are systems that you want to use as remote virtual user agents for running virtual users during a load test. These systems appear in the Systems option of the Build Scenario tab.

VU Agent System Groups - system groups let you distribute virtual users across multiple VU Agent systems that have been grouped.

ServerStats Data Collectors - these are systems that you want to use as remote data collectors for gathering ServerStats data.

Monitored Systems - these are systems that you want to monitor with ServerStats.

Note:

Systems and system groups appear in the System list on the Build Scenarios tab.

For more information about using the System Manager, see Section 3.12, "Defining Systems".

3.12 Defining Systems

Before you can select systems in Oracle Load Testing Scenarios, you must define the machines that are Oracle Load Testing agent systems. The Oracle Load Testing System Manager lets you define system names or IP addresses and create system groups that the Oracle Load Testing scenarios can use as agents.

Note:

See the installation section at the beginning of this chapter for more information about installing the Oracle Load Testing Agent software on each system and verifying network access between the Oracle Load Testing system and each agent system.

In addition, if you are using Oracle Load Testing ServerStats you must define the data collector systems and systems being monitored.

3.12.1 Adding New VU Agent Systems

To add a new VU Agent system:

  1. Select Systems from the Manage menu to display the Systems Manager.

  2. Select VU Agent System.

  3. Click New to display the Add VU Agent System dialog box.

    General - enter the system information.

    • Name - enter the system name.

    • Host Name or IP - enter the host name or IP address of the system.

    Start - enter the system information.

    • Port - enter the port number to use.

    • Username - enter the username to use for authentication.

    • Password - enter the password to use for authentication.

    Test - checks to see whether the Oracle Load Testing server can contact the system and displays an informational message indicating if the system is available.

  4. Enter the name of the system in the Name field, and enter the name or IP address of the system in the Host Name or IP field.

  5. Enter the port and authentication settings.

  6. Click OK.

  7. Click Close.

Note:

Systems and system groups appear in the Systems list on the Build Scenarios tab.

3.12.2 Adding New System Groups

To add a new system group:

  1. Select Systems from the Manage menu.

  2. Select VU Agent System Groups.

  3. Click New to display the Add System dialog box.

    Name - enter the name of the system group.

    Systems - lists the systems that are available to add to the group. Select the systems that you want to add and deselect the systems you want to remove.

  4. Enter the name of the group in the Name field.

  5. Select the systems you want to add from the Systems list.

  6. Click OK.

Note:

Systems and system groups appear in the Systems list on the Build Scenarios tab.

3.12.3 Adding Systems to Groups

To add systems to groups:

  1. Select Systems from the Manage menu.

  2. Select VU Agent System Groups.

  3. Either select the group you want to change and click Edit or click New to create a new group.

  4. Select the systems you want to add from the Systems list.

  5. Click OK.

  6. Click Close.

Note:

Systems and system groups appear in the Systems list on the Build Scenarios tab.

3.12.4 Adding New ServerStats Data Collectors

To add a new ServerStats Data Collector:

  1. Select Systems from the Manage menu to display the Systems Manager.

  2. Select ServerStats Data Collector.

  3. Click New to display the Add ServerStats Data Collector dialog box.

    General - enter the system information.

    • Name - enter the name of the data collector.

    • Host Name or IP - enter the host name or IP address of the data collector.

    Remote Data Collector - - enter the port information.

    • Port - enter the port number to use.

    Test - checks to see whether the Oracle Load Testing server can contact the system and displays an informational message indicating if the system is available.

  4. Enter the name of the system in the Name field, and enter the name or IP address of the system in the Host Name or IP field.

  5. Click OK.

  6. Click Close.

Note:

Systems and system groups appear in the Systems list on the Build Scenarios tab.

3.12.5 Adding New Monitored Systems

Monitored systems are those systems that will be monitored using ServerStats. In addition to defining the system, you can have Oracle Load Testing discover the components that are available for monitoring, manually add new component types and components, and configure the data sources to use. Information that is configured here will be available when you configure ServerStats.

3.12.5.1 Configuring JMX Monitors

A data collector can only monitor one type of JMX monitor at a time. To monitor more than one type of JMX monitor at the same time, you must use a separate data collector for each. All JMX monitors require some set up. Following are the broad steps followed by the specific procedures:

WebLogic 9.0

  1. Copy configuration jar files to the data collector machines

WebSphere 6.0, 5.1, 5.0

  1. Copy configuration jar files to the data collector machines

  2. Update the properties file

WebSphere 6.1, 7.0

  1. Copy configuration jar files to the data collector machines

  2. Copy keystore/trust store files

    The following are the default values for the monitored system:

    Port: 8880 (default)

    Username: admin (check with the JMX system administrator for changes to the username)

    Password: password (check with the JMX system administrator for changes to the password)

    Trust Store File: C:\keys\DummyClientTrustFile.jks

    Trust Store Password: WebAS

    Key Store File: C:\keys\DummyClientKeyFile.jks

    Key Store Password: WebAS

WebLogic 8.0, 8.1

  1. Copy configuration jar files to the data collector machines

  2. Create jar files

  3. For WebLogic 8.1, update the properties file

Copying the JMX Server Installation Jar Files

Before these server types can be used, the JMX agent needs one or more specific configuration jar files to be copied from the JMX server installation to the <installdir>\DataCollector\classes directory on all machines that will be used as data collectors for sampling from that server. The default <installdir> is C:\OracleATS. The file(s) can be obtained from your application server installation and copied to the appropriate directory as listed in the following table.

Note:

Versions prior to 9.20 included the version number in the directory names for the Jar files. If you are upgrading from a previous version of Oracle Application Testing Suite and have JMX monitors configured, you will need to move the Jar files to the directories specified below. If the Jar files are in the previous version locations, you may receive an error message similar to the following message: Error loading websphereXX JMX classes--check classpath setting in data collectors OSDC.properties.
Application Name Files to Copy Default Directory
Redhat JBoss 4.x jbossall-client.jar <installdir>\DataCollector\classes\jboss
Redhat JBoss 5.x jbossall-client.jar <installdir>\DataCollector\classes\jboss
Oracle WebLogic 9.0 weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic
Oracle WebLogic 9.1 weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic
Oracle WebLogic 10.x weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic
IBM WebSphere 6.0 admin.jar, bootstrap.jar, bsf.jar, classloader.jar, client.jar, commons-el.jar, configmanager.jar, db2j.jar, deployutils.jar, emf.jar, ffdc.jar, filetransfer.jar, ibmcertpathprovider.jar, ibmjceprovider.jar, ibmjsse.jar, idl.jar, iwsorb.jar, j2ee.jar, jacl.jar, js.jar, jspcore.jar, jspruntime.jar, jsptranslation.jar, jspvisitor.jar, mail-impl.jar, mail.jar, management.jar, pluginconfig.jar, ras.jar, runtime.jar, runtimefw.jar, sas.jar, security.jar, soap.jar, tcljava.jar, uddi4j.jar, utils.jar, validationmgr.jar, wasjmx.jar, wasproduct.jar, wccm_base.jar, webcontainer.jar, webservices.jar, wjmxapp.jar, wlmserver.jar, workspace.jar, wsdl4j.jar, wsexception.jar, wsprofile.jar, wssec.jar <installdir>\DataCollector\classes\weblsphere
IBM WebSphere 6.1, 7.0 Both versions java\jre\lib\*.jar java\jre\lib\ext\*.jar

WebSphere 6.1 runtimes\com.ibm.ws.admin.client_6.1.0.jar plugins\com.ibm.ws.security.crypto_6.1.0.jar

WebSphere 7.0 runtimes\com.ibm.ws.admin.client_7.0.0.jar plugins\com.ibm.ws.security.crypto.jar

Trust Files DummyClientKeyFile.jks DummyClientTrustFile.jks

<installdir>\DataCollector\classes\weblsphere

3.12.5.2 Adding a Monitored System

To add a new monitored system:

  1. Select Systems from the Manage menu to display the Systems Manager.

  2. Select Monitored System.

  3. Click New to display the Add Monitored System dialog box.

    This dialog box lets you configure systems that are going to be monitored using ServerStats. You can manually add system components and component types, discover components, and configure data sources.

    New - displays the Add Component dialog box for manually adding components and component types.

    Delete - deletes the selected component.

    Discover Components - displays the System Discovery dialog box for specifying the components to discover and the data source to use.

    Note:

    Discover Components is not used with the Enterprise Manager data source. The Enterprise Manager data source does not use the Oracle Load Testing data collector. Session metrics for Enterprise Manager are retrieved using the query string parameters specified in the ServerStats metric profile. For Enterprise Manager monitored systems, select the Enterprise Manager data source and specify the base URL. See the Enterprise Manager data source in this section for additional details.

    General

    • Name - enter the name of the monitored system.

    • Host Name or IP - enter the host name or IP address of the monitored system.

    Components - lists the component types and components that are configured for this system.

    Data Sources

    Following are the options for each type of monitored system. You only need to specify the settings for the type of monitored system you are adding. For example, if the monitored system is a database, then you need to specify the database settings. You can also configure this information from ServerStats when you configure the monitor.

    Enterprise Manager - specifies the Enterprise Manager instance from which to retrieve session metrics. The Enterprise Manager data source is a special case in that it does not use the Oracle Load Testing data collector. Session metrics are accessed directly from an Enterprise Manager instance. Specify the base URL as follows:

    • Enterprise Manager URL - enter the base URL of the Enterprise Manager instance from which to retrieve Weblogic Domain Metrics or Weblogic JVM Metrics. For example, https://<machine name or IP>.us.oracle.com:7799/em. The metrics specified for each ServerStats Enterprise Manager metric profile will be used as query string parameters for this URL when accessing Enterprise Manager Diagnostic metrics from the Oracle Load Testing reports. See the Oracle Load Testing ServerStats User's Guide for information about configuring Enterprise Manager metrics and configurations.

    Database - refer to the JDBC-ODBC documentation for information on configuring your database data source, or refer to:

    http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/bridge.html.

    Oracle Load Testing uses a JDBC driver to connect to your database. When you select any driver other than Custom, the appropriate settings for that driver are automatically provided. Use these guidelines to select and configure the appropriate driver for your database.

    For monitoring enterprise level databases, the native drivers (Oracle Thin JDBC driver) is recommended over the JDBC:ODBC Bridge option. The following are the driver options:

    • Oracle Thin JDBC Driver - This driver option applies to Oracle databases. This driver is installed automatically as part of Oracle Load Testing Data collectors.

    • Sun JDBC:ODBC Bridge Driver - This driver option is available as an option for SQL and Oracle databases and any other database for which you have an ODBC driver. This bridge driver is installed automatically as part of Oracle Load Testing.

      • SQL Database - The SQL Server ODBC driver is installed with MSDE and Microsoft SQL Server. If you do not have either of these on the Oracle Load Testing server and you are using a remotely installed SQL database for Oracle Load Testing, you need to install the SQL Server ODBC driver on the Oracle Load Testing machine and set up an ODBC DSN. The ODBC driver is included with the SQL Server Client utilities.

      • Oracle Database - You must set up an Oracle ODBC on the Oracle Load Testing machine in order to use this driver.

    • Driver - Select a driver type from the list: Oracle Thin JDBC driver, Sun JDBC:ODBC Bridge, or Custom. You must have the appropriate driver installed on the Oracle Load Testing machine to set up a Database monitor.

    • Driver String - This information will vary depending on the type of database that you are monitoring. If you selected any option other than Custom, the appropriate string is automatically displayed. For example, this is the string for the Oracle Thin JDBC driver:

      oracle.jdbc.driver.OracleDriver

      If you selected a Custom driver type, you can type in the Driver String yourself.

    • Connect String - For most drivers, this string is constructed from the information you supplied in the previous fields. The structure of the Connect String is different for each driver type, but Oracle Load Testing builds this string for all driver types except a Custom driver type. For a Custom driver setting, type in the Connect String.

    • Host - Specify the host name of the machine running the database. This is not required for a JDBC:ODBC or Custom driver setting.

    • Instance - Specify the SQL server named instance that you want to use. If nothing is specified, Oracle Load Testing uses the default instance as set up on your server. Refer to your database administrator for details.

    • Port - Oracle Load Testing displays the default port for the driver you selected. For example, the default port for an Oracle Thin JDBC driver is 1521. Modify the port number if necessary. This is not required for a JDBC:ODBC or Custom driver setting.

    • Database Name or Database SID - For the Oracle Thin JDBC driver, provide the database or server ID.

    • Username - enter the username for connecting to the database, if required.

    • Password - enter the password for connecting to the database, if required.

    IBM WebSphere PMI

    • Port - enter the port number for the connection.

    JMX

    • Server Type - select the JMX server type you are using. The following is a list of supported types. Other types may be supportable. Contact support for more information.

      • Oracle WebLogic 10.x

      • Oracle WebLogic 9.1

      • Oracle WebLogic 9.0

      • IBM WebSphere 7.0

      • IBM WebSphere 6.1

      • IBM WebSphere 6.0

      • IBM WebSphere 5.1

      • IBM WebSphere 5.0

      • Redhat JBoss 4.x

      • Redhat JBoss 5.x

    • Port - enter the port number for the connection.

    • Username - enter the username for logging on to the server.

    • Password - enter the password for logging on to the server.

    • Trust Store File Name - enter the client-side trust store path and file name.

    • Trust Store Password - enter the trust store file password.

    • Key Store File Name - enter the client-side key store path and file name.

    • Key Store Password - enter the key store file password.

    Note:

    Refer to your system administrator for information on configuring your server.

    Perfmon (Windows Performance Monitor) - authentication can be left blank if the system being monitored has a data collector running on it. Authentication is required when the system being monitored is remote to the data collector.

    • Username - enter the username for logging on to the system.

    • Password - enter the password for logging on to the system.

    • Domain Name - enter the domain or machine name of the user name account.

    SNMP

    • Port - enter the port number for the connection.

    • Community String - the access key required for remote access. The Community String is typically "public" unless otherwise configured by the System Administrator. Contact the Administrator to find out the Community String required for remote access to the system.

    • SNMP Version - enter the SNMP version.

    Url

    • System Homepage - enter the URL of the page you want to monitor.

    Virtual Agent

    • Remote Port - Specifies the port number. The default port for Telnet is 23, and the default port for SSH is 22.

    • Remote Protocol - Specifies the protocol to use to execute the command, Local Machine, Telnet, or SSH. You can use the Local protocol to monitor a remote machine if you have a Data Collector installed on that machine. Plink must be installed in the datacollector\bin directory on the machine on which you are running the Data Collector. This is only required if you intend to use the SSH connection method.

    • Remote Username - Specify a user name to log into an account on the host system.

    • Remote Password - Specify the password required to log into the User Name account on the system.

    • Command Prompt - Specify the prompt for the host machine. If you do not specify a prompt, Oracle Load Testing will attempt to infer the prompt by parsing the screen output. The default command prompt for the root user is #. For other users that have not configured a custom prompt, the default is $.

    • Operating System - Specifies the operating system of the host machine.

    Test - checks to see whether the Oracle Load Testing server can contact the system and displays an informational message indicating if the system is available.

  4. Enter the name of the system in the Name field, and enter the name or IP address of the system in the Host Name or IP field.

  5. Enter data source information for the type of system you are adding.

  6. Click Discover Components to find the components available on this system. Components that are found will be available in ServerStats. If you do not discover components when setting up the monitored system, you can discover them later when you set up your ServerStats monitor. The System Discovery dialog box is displayed.

    Select Data Sources - select the data sources you want to use for discovery. When you select a data source, the components that it can discover are selected in the Select Component Types to Discover list.

    Select Component Types to Discover - deselect component types that you do not want to discover.

  7. Select the data sources you want to use for discovery. The components types that this data source can discover are automatically selected in the Select Component Types to Discover list.

  8. Deselect and component types that you do not want to discover and click OK. The Discovery Setup dialog box for the data sources you selected is displayed. For example, if you selected Perfmon, the following dialog box is displayed.

    This dialog box has the following options based on the selected data sources.

    Database - refer to the JDBC-ODBC documentation for information on configuring your database data source, or refer to:

    http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/bridge.html.

    Oracle Load Testing uses a JDBC driver to connect to your database. When you select any driver other than Custom, the appropriate settings for that driver are automatically provided. Use these guidelines to select and configure the appropriate driver for your database.

    For monitoring enterprise level databases, the native drivers (Oracle Thin JDBC driver) is recommended over the JDBC:ODBC Bridge option. The following are the driver options:

    • Oracle Thin JDBC Driver - This driver option applies to Oracle databases. This driver is installed automatically as part of Oracle Load Testing Data collectors.

    • Sun JDBC:ODBC Bridge Driver - This driver option is available as an option for SQL and Oracle databases and any other database for which you have an ODBC driver. This bridge driver is installed automatically as part of Oracle Load Testing.

      • SQL Database - The SQL Server ODBC driver is installed with MSDE and Microsoft SQL Server. If you do not have either of these on the Oracle Load Testing server and you are using a remotely installed SQL database for Oracle Load Testing, you need to install the SQL Server ODBC driver on the Oracle Load Testing machine and set up an ODBC DSN. The ODBC driver is included with the SQL Server Client utilities.

      • Oracle Database - You must set up an Oracle ODBC on the Oracle Load Testing machine in order to use this driver.

    • Driver - Select a driver type from the list: Oracle Thin JDBC driver, Sun JDBC:ODBC Bridge, or Custom. You must have the appropriate driver installed on the Oracle Load Testing machine to set up a Database monitor.

    • Driver String - This information will vary depending on the type of database that you are monitoring. If you selected any option other than Custom, the appropriate string is automatically displayed. For example, this is the string for the Oracle Thin JDBC driver:

      oracle.jdbc.driver.OracleDriver

      If you selected a Custom driver type, you can type in the Driver String yourself.

    • Connect String - For most drivers, this string is constructed from the information you supplied in the previous fields. The structure of the Connect String is different for each driver type, but Oracle Load Testing builds this string for all driver types except a Custom driver type. For a Custom driver setting, type in the Connect String.

    • Host - Specify the host name of the machine running the database. This is not required for a JDBC:ODBC or Custom driver setting.

    • Instance - Specify the SQL server named instance that you want to use. If nothing is specified, Oracle Load Testing uses the default instance as set up on your server. Refer to your database administrator for details.

    • Port - Oracle Load Testing displays the default port for the driver you selected. For example, the default port for an Oracle Thin JDBC driver is 1521. Modify the port number if necessary. This is not required for a JDBC:ODBC or Custom driver setting.

    • Database Name or Database SID - For the Oracle Thin JDBC driver, provide the database or server ID.

    • Username - enter the username for connecting to the database, if required.

    • Password - enter the password for connecting to the database, if required.

    Perfmon (Windows Performance Monitor) - authentication can be left blank if the system being monitored has a data collector running on it. Authentication is required when the system being monitored is remote to the data collector.

    • Username - enter the username for logging on to the system.

    • Password - enter the password for logging on to the system.

    • Domain Name - enter the domain or machine name of the user name account.

    SNMP

    • Port - enter the port number for the connection.

    • Community String - the access key required for remote access. The Community String is typically "public" unless otherwise configured by the System Administrator. Contact the Administrator to find out the Community String required for remote access to the system.

    • SNMP Version - enter the SNMP version.

  9. Enter the discovery information and click OK. The Discovery Status dialog box is displayed showing the progress of the discovery process.

    This dialog box displays the progress of the discovery process. It also displays any errors encountered. The message, "Discovery Done," is displayed when discovery is complete.

  10. When Discovery Done is displayed, click OK. If previously configured components could not be found, the Confirm Remove Components dialog box is displayed. If the configuration of previously configured components has changed, the Confirm Replace Components dialog box is displayed.

    Check All - checks all of the listed components. Checked components will be removed or replaced.

    Uncheck All - unchecks all of the listed components.

    <components> - lists the previously configured components that either were not found or whose configuration has changed.

  11. Deselect any components that you do not want to remove or replace and click OK.

  12. The discovered components are added to the Components tree. Click on a component to view it's data source configuration. Click Delete to remove the data source. Click Add to add an available data source.

  13. Click New to manually add component types and components. The Add Component dialog box is displayed.

    Add Type

    • Component Type - select this option to add a new component type. This is the only option available from the system node.

    • Component - select this option to add components for the selected component type.

    Definition

    • Component Type - when adding a new component type, enter a meaningful name for the component type. When adding a new component, this field defaults to the component type that was selected when you clicked the Add button.

    • Component - enter a meaningful name that allows you to identify the specific component you are adding.

    Data Sources to Add to Component - select the data sources to add to this component.

  14. Select whether you are adding a component or component type.

  15. Specify the component type, if necessary, and the component. Select the data sources to apply to this component and click OK.

  16. The data sources available for this component are displayed on the right. Enter the appropriate information. Click Delete to remove a data source. Click Add to add an available data source.

  17. Click OK.

  18. Click Close.

Note:

Systems and system groups appear in the Systems list on the Build Scenarios tab.

3.12.6 Renaming Systems

To rename a system:

  1. Select Systems from the Manage menu.

  2. Click the type of system that you are renaming.

  3. Select the system you want to rename.

  4. Click Edit.

  5. Enter the new name in the Name field. All instances of the system (within groups) are also renamed automatically.

  6. Click OK.

  7. Click Close.

3.12.7 Editing Systems

To edit a system:

  1. Select Systems from the Manage menu.

  2. Select the system you want to edit.

  3. Click Edit to display the Edit System dialog box for that type of system.

  4. Make any changes.

  5. Click OK.

  6. Click Close.

3.12.8 Deleting Systems

To delete a system:

  1. Select Systems from the Manage menu.

  2. Click the type of system you want to delete.

  3. Select the systems you want to delete. To select more than one system, hold down the CTRL key.

  4. Click Delete. All instances of the system (within groups) are also deleted automatically.

  5. Click OK.

3.13 Setting Options

You can set Oracle Load Testing options for custom browsers, repositories, scenario defaults, session start and stop, session profile, and reporting options using Options from the Tools menu. Selecting this option opens the Options dialog box.

3.13.1 Custom Browser Options

The following custom browser options are available:

New - displays a new line in the table.

Delete - deletes the selected browser.

Name - any name for the customized browser emulator. This name will appear in the Browser Emulation list in the Edit Scenario Details dialog box.

User Agent String - specifies the string to send to the server as the User Agent header string for the customized browser emulator.

3.13.2 Repository Options

Repositories give you the ability to share files. Any shared network directory can be used as a repository. Since the Oracle Application Testing Suite Application Service runs as the local SYSTEM user, there may be a policy restricting access to your network share. You can fix this by doing one of the following:

  • Ensure that both sharing permissions and security permission on the remote network directory allows for other SYSTEM users to gain access. The least restrictive setting is to allow the windows user "Everyone" to be given permission.

  • Configure the Oracle Application Testing Suite Application Service to run under a specific user account rather than the local System user account. Refer to "Configuring Oracle Load Testing Agents" earlier in this chapter.

New - adds a new entry to the table.

Delete - deletes the selected repository.

Name - enter the name of the repository.

Path - enter the path of the repository. If the path you specify is a shared network drive, the Oracle Load Testing Server must have access to that drive. By default, the Oracle Load Testing Server runs under the "Local System" account. You may need to change this to a user account in the Services panel.

To add a repository:

  1. Select Options from the Tools menu.

  2. Click Repositories.

  3. Click New. A new entry is made in the table.

  4. Enter the name of the repository.

    Note:

    If you plan to use OpenScript scripts with Oracle Load Testing, the repository names you specify should match the repository name specified in OpenScript (including case).
  5. Enter the location of the repository.

3.13.3 Setting Scenario Defaults

You can change the default settings for profiles using the Scenario Defaults dialog box. Changes made are applied to profiles as they are added to the scenario. Note that changes are not applied to profiles that are already in the scenario. To apply changes to profiles already in the scenario, remove them from the scenario on the Build Scenarios tab, then add them back.

Each setting in the right panel has two columns:

Show - when checked, this field is displayed on the Build Scenarios tab.

Default Value - shows the value to which the option is set when a new script or user-defined profile is added to a scenario.

Main - the main settings are as follows:

  • # VUs - specifies the number of virtual users to run for the selected profile. For each virtual user, Oracle Load Testing runs a separate instance of the script(s) specified in the virtual user profile.

  • System - specifies the machine on which the virtual users will run. When running virtual users across systems on a LAN/WAN, enter the machine name of a system running either Oracle Load Testing or Oracle Load Testing Agent. Systems are defined using the Systems Manager. Initially, you must define the machine names or IP addresses of the system(s) in the Systems Manager. Once the name(s) or IP addresses have been specified, you can select the system name from the drop-down list for future load tests.

    When determining the number of virtual users to run per process or system, you need to include the Client overhead in the resource allocation. Each VU in Thin or Java Client requires approximately 350 KB-500 KB of memory to run. When calculating the available memory to run VUs on an agent system, you must account for a 20-30% client system overhead. Therefore, you only have 70-80% of the physical memory (RAM) available to run VUs.

  • Iteration Delay - specifies the amount of time (in seconds) to wait between iterations of virtual user runs. You specify the number of iterations using the Autopilot.

  • VU Pacing (Think Time) - specifies the script playback delay for each virtual user. There are four options:

    • Recorded - uses the delay times that were recorded in the Oracle OpenScript script. You can set minimum and maximum delay times (in seconds) that override the script delay times in the Minimum and Maximum edit boxes.

    • Recorded/Random - uses random delay times based upon the recorded user delay. Oracle Load Testing sets the low end of the random range as the actual user delay minus the Lower percentage setting. Oracle Load Testing sets the high end of the random range as the actual user delay plus the Upper percentage setting. For example, if the actual recorded delay time was 100 seconds and the Lower and Upper settings are 10% and 25% respectively, Oracle Load Testing uses random delay times between 90 and 125 seconds.

    • Random - uses random times for Virtual User pacing. You can set minimum and maximum delay times for random delay in the Minimum and Maximum edit boxes.

    • No Delay - plays back the scripts at the fastest possible speed.

    Note:

    For OpenScript scripts, the VU Pacing overrides the times specified in think() and beginStep() methods.
  • Use Data Bank - when true, scripts that have Oracle OpenScript Data Banks will use the Data Banks as part of the virtual user playback. When false, scripts playback using the recorded data rather than the Data Bank.

Browser Settings - the browser settings are as follows:

  • Browser Emulation - specifies the type of browser to emulate. Default is the browser used to record the script.

  • Connection Speed Emulation - specifies the line speed to simulate for the virtual user's Internet connection. Set the speed to a specific number if you want the virtual user to simulate a dial-up connection using a modem, DSL, or other speed. Set the speed to True Line Speed if you want the virtual user to run using the actual connection speed.

  • Cache Emulation - specifies the type of user to simulate. This is useful for simulating different profiles of virtual users. A first time user places more of a load on the Web server because pages and image are not yet cached. A repeat user places less of a load on the server as only newer pages are requested and brought down from the Web server. There are three options:

    • Do Not Cache - cache is not used.

    • 1st Time - the virtual users are considered to be using the Web site or application for the first time for each iteration so no cache is used. The cache is used during the iteration.

    • Repeat - the virtual users are considered to have visited or used the Web site or application previously. Pages and images are retrieved from the cache.

  • Maximum In-Memory Cache Size - specifies the maximum amount of in-memory storage to allocate for cached document contents. This setting applies to all virtual users in the process, even though each virtual user keeps its own cached documents. After the in-memory cache is exhausted, document contents will be cached to a temporary folder on disk in <installDir>\agent\cache. There is no upper bound on how much disk storage may be used to store cached documents. The disk cache is cleared every time the agent process starts. The default value is 128MB.

  • Use IP Spoofing - when true, Oracle Load Testing uses different IP addresses for Virtual User agents. Each virtual user must get a defined IP address. You must define the IP addresses available for use by Oracle Load Testing Agents in the TCP/IP network protocols of the system. All IP addresses must be added to each Agent system. See Section 4.2, "Using IP Spoofing" for additional information.

  • Enable Cookies - when true, the virtual user profiles will use cookies. Use this setting if your Web application uses cookies to manage session and other context information.

Extensibility - the extensibility settings are as follows:

  • Execute User Defined Tests - when true, Oracle Load Testing runs Oracle OpenScript Text Matching and Server Response tests.

VU Display - the VU Display settings are as follows:

  • View All Responses - select when you want to display all responses, on error, always, never.

  • Show Request Headers - select when you want to display request headers, on error, always, or never. When displayed, request header information for Web page resources requested by the selected Virtual User appear in the Virtual User Display history list.

  • Show Response Headers - select when you want to display response headers, on error, always, or never. When displayed, the Response header information for Web page resources requested by the selected Virtual User appear in the Virtual User Display history list.

Reporting - the Reporting settings are as follows:

  • Auto Generate Timers For All Pages - when true, Oracle Load Testing automatically adds timers for each OpenScript script page for reporting. The timers are used in Oracle Load Testing to provide performance monitoring and timing information for each page of the script(s) played back by a scenario.

  • Auto Generate Timers For All Step Groups - when true, Oracle Load Testing automatically adds timers for each OpenScript Step Group for reporting. The timers are used in Oracle Load Testing to provide performance monitoring and timing information for each Step Group the script(s) played back by a scenario.

  • Auto Generate Timers For All Resources - when true, Oracle Load Testing automatically adds timers for all resources for monitoring and reporting purposes. Resources include images and other objects downloaded from the server as specified by the OpenScript Download Manager section of the Scenario Defaults.

Error Handling - the Error Handling settings are as follows:

  • Object Download Errors Are Fatal - when true, a Web page object download error is considered a fatal error that ends the current iteration.

  • Zero Length Download Errors Are Fatal - when true, a server response that indicates zero bytes length is considered a fatal error. Set this setting to false if your scripts are recorded as Siebel scripts.

  • On Error Stop Virtual User - when true, all virtual users are stopped if an error is encountered.

  • Stop Remaining Iterations on Failure - when true, all remaining iterations for a virtual user are stopped if an error is encountered.

  • Socket Timeout - specifies the maximum amount of time a virtual user waits for a socket connection before timing out.

  • Request Timeout - specifies the maximum amount of time a virtual user waits to access a page before timing out.

Advanced - the Error Handling settings are as follows:

  • Maximum Users Per Process - sets the maximum number of virtual users per single agent process. When running virtual users as threads in a single process, Maximum Users Per Process sets the maximum number of virtual user threads in a single process. Oracle Load Testing spawns new processes if the number of virtual users exceeds the maximum number in any single process and runs the additional virtual uses as threads in the new process.

    The default setting is unlimited virtual users per agent process.

  • Maximum HTTP Connections Per User - specifies the maximum number of server connections per process per server. Each VU makes multiple connections to request additional resources for images and additional frames for example. Setting this option specifies a limit on the total number of connections that the VU s can make to the server. The default setting is "Default," which means use the default connection limits as configured on the agent machine. (See Microsoft KBase article Q183110 for more information.)

  • Ignore HTTP Proxy Settings - specifies whether to ignore the agent machine's default proxy setting as defined in Internet Explorer.

Java Client Preferences - When a setting is set to the default value, this means that the value that will be used is what is set in the OracleATS\OFT\jagent\ JavaAgent.properties file, unless a value is not set in the JavaAgent.properties file. In this case, the Java Agent uses the internal default value.

  • Persist Raw Data - when true, Oracle Load Testing saves every single measured data point in a set of CSV files. The files are saved locally on the agent machines in directories specified as follows:

    <oats_install>/agent/rawdata/<controller-identifier>/<session_name>/<agent-id>/<YYYY-MM-DD HH:mm:ss>
    

    See Section 6.9, "Using Raw Data" for additional information about the counter files and how to use the raw data.

  • Report Counters - when true, Oracle Load Testing counters are reported.

  • Maximum Bytes of VU Display - when you select other, enter the number of bytes to send to the VU display per item, that is, a request is one item, a response is an item, and content is an item. The default in the JavaAgent.properties file is-1, which returns everything. The value entered roughly equates to the number of characters.

  • Report Sender Interval - when you select other, enter the time in milliseconds for how frequently the agent reports its status and accrued counters. The default in the JavaAgent.properties file is 5000.

  • Maximum JVM Heap Size (MB) - specifies the maximum size of the JVM heap. The default is 256MB. This value cannot be more than 90% of the total memory size.

  • Proxy Host - select other to enter the proxy host and override the system-specified proxy host.

  • Proxy Port - select other to enter the proxy port and override the system-specified proxy port.

  • Non Proxy Hosts - select other to enter non-proxy hosts. Delimit multiple hosts with a bar (|).

  • Enable GZIP - when true, support for gzip compression is enabled. The browser Request includes the Accept-Encoding: gzip header indicating a gzip compressed page response will be accepted. If the server uses gzip compression, the response includes the Content-Encoding: gzip header indicating the returned page is in gzip compressed format. The browser unzips the compressed file before rendering the HTML page. Gzip compression is typically used to provide faster transfer of large HTML pages between the browser and the server.

  • Enable Deflate - when true, support for deflate compression is enabled. The browser Request includes the Accept-Encoding: deflate header indicating a deflate compressed page response will be accepted. If the server uses deflate compression, the response includes the Content-Encoding: deflate header indicating the returned page is in deflate compressed format. The browser inflates the compressed file before rendering the HTML page. Deflate compression is typically used to provide faster transfer of large HTML pages between the browser and the server.

  • Language - specifies which language to use for script playback. When you select Other, enter the language to override the Accept-Language header. The default is the locale assigned by the JVM.

  • HTTP Version - select the HTTP protocol version to specify in the GET or POST request/response between client and server. The HTTP/1.0 protocol is an early implementation of the Hypertext Transfer Protocol. HTTP/1.1 is a standards-based enhancement to the HTTP/1.0 protocol. See the Key Differences between HTTP/1.0 and HTTP/1.1 at http://www8.org/w8-papers/5c-protocols/key/key.html

  • Accept String - this setting specifies what the Accept: HTTP header value looks like. When you select other, enter the string. The default in the JavaAgent.properties file is: text/html, image/gif, image/jpeg, */*. If you modify a navigation in a script by adding a custom Accept: header, the custom header value from the script is used instead.

  • Enable Keep Alive - when true, the Connection: Keep-Alive header is set to indicate requests should use a persistent connection. The "Keep-Alive" keyword indicates that the request should keep the connection open for multiple requests. For HTTP/1.0, the socket connection is kept open until either the client or the server drops the connection. For HTTP/1.1 all connections are kept alive unless a Connection: close header is specified.

  • Preserve Connections Between Iterations - used to preserve connections between Virtual User agents and the browser between successive iterations of the script. Set to True if the browser should attempt to reuse any open browser connections if possible between iterations. Each virtual user maintains its own set of connections that it never shares with other virtual users. The default value is True, preserve connections between iterations.

  • Preserve Variables Between Iterations - used to preserve or automatically clear variables added in the Run section of OpenScript scripts between successive iterations of the Run section.

  • Preserve Cookies Between Iterations - used to preserve or automatically clear cookies added in the Run section of OpenScript scripts between successive iterations of the Run section.

  • Max Number of Keep Alive Requests - select other to specify the maximum number of requests to make on a keep alive connection before closing it.

  • Download Local Files - when true, the Java Agent retrieves the requested local file contents.

  • Max Content Download Size - specifies the maximum size for downloads. You can specify Unlimited or Other. If you select Other, specify the maximum size in kilobytes.

  • SSL Version - select the Secure Socket Layer version to use for the proxy server. When recording a secure site in the browser, the user only sees the Proxy Recorder's certificate not the secure web site's certificate. The Browser, Proxy Recorder, and Secure Server each have their own private and public keys which are used to encrypt/decrypt data.

    • SSL: Use Secure Socket Layer protocol with the proxy server. OpenScript uses Sun Java Secure Socket Extension (JSSE). Sun JSSE by default supports SSLv2, ASSLv3, ASSL, ATLSv1, ATLS, and SSL_TLS.

    • SSL without TLS: Use Secure Socket Layer without Transport Layer Security. In some cases, a JSSE issue may cause a TLS Protocol connect failure. Use this option if a protocol connect failure occurs when using the SSL option.

  • Ignored Url - specify the Urls, separated by commas, that should not be requested. This setting only applies to certain OpenScript scripts.

  • Additional Arguments - specifies custom OpenScript script.java code arguments. You can create your own settings in OpenScript scripts. For example, you can create custom settings in OpenScript script.java code, as follows:

    if (getSettings().get("MyCustomSetting").equals("abc")) {
    
      info("We're running in ABC mode.");
    
    }
    

    You can then set the additional arguments in the Additional Arguments field as follows:

    -MyCustomSetting abc
    
  • Global Headers - specifies any custom "Global Headers" string to use in the Request header for script playback. The format is in the form: name1:value1;name2:value2;name3:value3. For example: x-oracle-slm-message-id: bcn=<beacon_name>; svc=<service_name>.

  • Replace URLs - specifies the URL replacement string in the form: originalURL1=replacementURL1,originalURL2=replacementURL2,[...]. During playback, anytime the agent makes a request to a URL starting with a segment, originalURL, the agent replaces the original URL segment with replacementURL. This feature is only supported for Load Test scripts.

    • originalURL - Specify the starting segment of the URL:port that appears in the script that should be replaced. This value is case-sensitive.

    • replacementURL - Specify the new starting segment URL:port that the agent requests instead of originalURL.

    For both parameters, if the protocol is omitted, HTTP protocol is assumed. If no port is specified after the host, port 80 is assumed for HTTP protocol, and port 443 is assumed for HTTPS protocol. URLs are replaced after all correlations are applied. One or more URL replacement pairs may be specified, separating each replacement pair with a comma. The following examples show the format of Replace URLs strings:

    test_server:7789=production_server:7789
    
    test:7789=prod:7789,https://stage.oracle.com/main=https://prod.oracle.com/home
    

OpenScript Error Recovery - General - the General Error Recovery settings are as follows:

  • File Not Found - specifies the error recovery action if a file is not found.

  • Segment Parser Error - specifies the error recovery action if the XPath Segment Parser cannot verify the correctness of an XPath.

  • Create Variable Fail - specifies the error recovery action if a script fails to create a variable.

  • Encryption Service not Initialized - specifies the error recovery action when the password encryption service was not initialized.

  • Binary Decoding Error - specifies the error recovery action if a binary post data parameter error occurs.

  • Variable Not Found - specifies the error recovery action if a variable cannot be found when parsing transformed strings.

  • Child Script Failed - specifies the error recovery action if an error occurs in a script that is a child of another script.

  • Unexpected Script Error - specifies the error recovery action if any unexpected script error occurs.

  • Call Function Failed - specifies the error recovery action if an error occurs in a script that calls a function of another script.

OpenScript Error Recovery - HTTP - the HTTP Module Error Recovery settings are as follows:

  • HTML Parsing Error - specifies the error recovery action if an HTML parsing error occurs.

  • Text Match Fail - specifies the error recovery action if a text matching test fails.

  • Solve Variable Fail - specifies the error recovery action if the value of any variable cannot be solved.

  • Response Time Error - specifies the error recovery action if a Server Response Time test fails.

  • Invalid HTTP Response - specifies the error recovery action if the sever returns an invalid HTTP response.

  • Invalid URL - specifies the error recovery action if the server returns an Invalid URL response code.

  • Zero Downloads Fatal - specifies the error recovery action if a server response indicates zero bytes length.

  • Client Certificate Keystore Error - specifies the error recovery action if the Client Certificate Keystore indicates an error.

OpenScript Error Recovery - Oracle Forms Load - the Oracle Forms Load Test Module Error Recovery settings are as follows:

  • Forms Connect Error - specifies the error recovery action if a server connection error occurs.

  • Forms I/O Communication Error - specifies the error recovery action if a read/write or communication error occurs with an Oracle Forms message.

  • Forms Playback Error - specifies the error recovery action if an error occurs during forms playback.

  • Forms Component not Found - specifies the error recovery action if a component of a form is not found.

  • Forms Content Match Failed - specifies the error recovery action if a content matching test fails.

OpenScript Download Manager - the OpenScript Download Manager settings are as follows:

  • Use OpenScript Download Manager - when true, the Download Manager is enabled during playback. When false, the Download Manager is not enabled during playback.

  • Ignored Urls (Using Regex): Specifies the Regular Expression(s) string to use to ignore specific resources. For example, the expression Login_Banner(.+?) would not download resources such as Login_Banner1.gif and Login_Banner2.gif. Multiple Regular Expressions can be separated using a comma (,).

  • CSS Resource - when true, css resources in <Link> tags are downloaded during playback. When false, css resources are not downloaded during playback.

  • Image Resource - when true, image resources in <Img> tags, in the "background" attribute of a tag, or in <style> tags with "background:url" patterns are downloaded during playback. When false, image resources are not downloaded during playback.

  • Embeded Object Resource - when true, object resources in <Embed> tags or in <Object> tags are downloaded during playback. When false, object resources are not downloaded during playback.

  • Script Resource - when true, script resources in <Script> tags are downloaded during playback. When false, script resources are not downloaded during playback.

  • Applet Resource - when true, applet resources in <Applet> tags are downloaded during playback. When false, applet resources are not downloaded during playback.

Forms LT Playback - the Oracle EBS/Forms load testing playback settings are as follows:

  • Capture Message Details: Specifies if forms message details are captured during playback. When selected, OpenScript captures and stores Forms message requests, responses, and information about all loaded Forms components during playback. This information is useful to have when debugging the script.

    OpenScript displays captured details in the "Messages" and "Object Details" tabs of the Details view. Oracle Load Testing displays this information in the Virtual User Display based on the "Virtual User Display" settings.

    Capturing message details is a memory-intensive operation. During heavy load testing, it is recommended to clear this setting to reduce the amount of heap space required by the agent.

Databank Configuration - the Databank Configuration load testing playback settings are as follows:

  • Databank Setup Timeout: Specifies how much time to spend preparing a databank for use before timing out. The value is in seconds. This setting includes the total time to do all of the following activities:

    If using a Database-backed databank:

    • Connect to the database

    • Query

    • Read records, write into the file

    • Create the index simultaneously

    • Disconnect

    If using a CSV-backed databank:

    • Time required to parse the CSV file and create the index

    If using Random Unique:

    • Time to shuffle the index

  • Read Timeout - specifies the amount of time to wait for a databank read or get operation for a script at run-time before timing out.

3.13.4 Setting Autopilot Defaults

The Autopilot Defaults options let you specify the default settings for the Set up Autopilot tab. Refer to Chapter 6 for a description of these options.

3.13.5 Setting Session Start and Stop Options

Sessions specify the scope for Oracle Load Testing data collection and reporting. The data collected while the Autopilot is running virtual users is shown in the virtual user grid, runtime performance statistics and load graphs, and can be saved to a database for post-testing analysis in the Analyze Results tab.

You can specify default settings for how sessions start and end data collection by selecting Options from the Tools menu then selecting Start and Stop. See Chapter 5 for a description of these options.

3.13.6 Setting Session Profile Options

These options specify the default characteristics for graphing and reporting. Unique session profiles are created for multiple instances of a script if the selected settings have different values.

For example, if you are running two profiles emulating different browsers, check the Cache Emulation attribute to view separate plot lines in the graphs for each browser.

3.13.7 Setting Reporting Options

Use these options to specify the parameters for refresh intervals and for creating profile timer names when generating timers for all resources. See Chapter 8 for a description of these fields.

3.13.8 Setting Data Bank Defaults

These options set the Data Bank control defaults that will be displayed when you click the Configure Data Bank button for a script or profile on the Build Scenarios tab.

Record buffer size - specifies the number of Data Bank records allocated to each Oracle Load Testing agent.

Data Usage - lets you select which records to use.

  • Sequential - Use Starting Record Only - specifies that each virtual user takes the starting record in the Data Bank and keeps on using that same record for each iteration. Use this setting if you want each virtual user to keep the same data for each iteration.

  • Sequential - Loop Records Continuously - specifies that the virtual users cycle through the Data Bank records until the load test finishes.

  • Unique - Stop After All Records Used - specifies that the virtual users use all of the records in the Data Bank and then stop. For example, if the virtual users start at record 50 of 100, they run from 50 to 100, then loop back and run from record 1 to 49 and then stop.

  • Unique - Stop After Last Record Used - specifies that the virtual users stop when the end of the Data Bank has been reached regardless of the starting point in the Data Bank. For example, if the virtual users start at record 50 of 100 records, they run from record 50 to record 100 and then stop.

3.13.9 Setting General Options

These options specify the general settings for validation, restarts, and timeouts.

Validate hostname/ip when user adds a system - checks to see if the Oracle Load Testing server can connect to the specified system. If it cannot, Oracle Load Testing displays a dialog box asking you if you want to proceed anyway.

Validate monitors when user adds or modifies a monitor - checks to see if the monitor can be applied to the target system when you create a monitor.

When Oracle Load Testing Server IP address changes - specifies the action to take if the Oracle Load Testing Application Server IP address changes, as follows:

  • Restart Application Service - restarts the Oracle Load Testing Application Service when the server IP address changes.

  • Stop Application Service - stops the Oracle Load Testing Application Service when the server IP address changes.

Polling interval for network status check - specifies the interval, in seconds, for checking the network status.

Databank timeout - specifies the time, in seconds, to wait for databanking operations before timing out.