Olt Load Testing Users Guide
Olt Load Testing Users Guide
July 2014
Oracle Load Testing Load Testing User's Guide, Release 12.4.0.2
E15484-13
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved.
Contributor:
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it
on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and
license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of
the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software
License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management
applications. It is not developed or intended for use in any inherently dangerous applications, including
applications that may create a risk of personal injury. If you use this software or hardware in dangerous
applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other
measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages
caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks
are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,
Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced
Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle
Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your
access to or use of third-party content, products, or services.
Contents
Preface ................................................................................................................................................................. xi
Audience....................................................................................................................................................... xi
Documentation Accessibility .................................................................................................................... xii
Related Documents .................................................................................................................................... xii
Conventions ................................................................................................................................................ xii
1 Introduction
1.1 Feature Highlights ...................................................................................................................... 1-1
1.2 Advantages of Oracle Load Testing ......................................................................................... 1-2
1.2.1 Web-Based Interface............................................................................................................ 1-2
1.2.2 Infrastructure Performance Monitors ............................................................................... 1-2
1.2.3 Oracle Load Testing Helps You Ensure Application Performance.............................. 1-3
3 Basics
3.1 Installing Oracle Load Testing .................................................................................................. 3-1
iii
3.1.1 Installing Oracle Load Testing........................................................................................... 3-1
3.1.2 Preconditions for Using Functional Testing Scripts ....................................................... 3-2
3.1.3 Popup Blockers .................................................................................................................... 3-3
3.1.4 Port Configuration............................................................................................................... 3-3
3.1.5 Installing Oracle Load Testing Agent ............................................................................... 3-4
3.1.5.1 Verify Network Access to Agent Systems ................................................................ 3-5
3.1.5.2 Configuring Oracle Load Testing Agents ................................................................. 3-5
3.2 Installing the Linux Agent ......................................................................................................... 3-6
3.3 Moving an Existing Installation to a New Machine .............................................................. 3-6
3.3.1 Transfer Database Schemas................................................................................................ 3-7
3.3.2 Install Oracle Application Testing Suite and Configure Database Connections........ 3-7
3.3.3 Copy Repositories and Files .............................................................................................. 3-9
3.3.4 Restart the Service and Verify the Setup .......................................................................... 3-9
3.4 Adding Repositories ................................................................................................................... 3-9
3.5 Setting Up Servers for ServerStats......................................................................................... 3-10
3.5.1 Solaris SNMP Server ........................................................................................................ 3-10
3.5.1.1 Starting the SNMP Agent on Solaris 2.6/2.7 ......................................................... 3-11
3.5.1.2 Stopping the SNMP Agent ....................................................................................... 3-11
3.5.1.3 Enabling SNMP Agent on Startup .......................................................................... 3-11
3.5.2 Oracle SNMP Server......................................................................................................... 3-11
3.5.2.1 Configure Master Agent ........................................................................................... 3-12
3.5.2.2 Configure the Encapsulator ..................................................................................... 3-12
3.5.2.3 Verify the start_peer Script ...................................................................................... 3-12
3.5.2.4 Start the SNMP Components ................................................................................... 3-12
3.6 Changing the Web Server Port............................................................................................... 3-13
3.7 Using SSL .................................................................................................................................. 3-13
3.8 Changing the OLT Controller Heap Settings....................................................................... 3-14
3.8.1 Basic Guidelines for the Controller Heap Settings ..................................................... 3-14
3.8.2 Modifying the JVM Heap Settings On Windows Machines....................................... 3-14
3.8.3 Modifying the JVM Heap Settings On Linux Machines ............................................. 3-15
3.8.4 Limitations ......................................................................................................................... 3-15
3.9 Oracle Application Testing Suite Tools Menu..................................................................... 3-16
3.10 Administrator ........................................................................................................................... 3-16
3.10.1 Menu Options.................................................................................................................... 3-17
3.10.1.1 Tools Menu ................................................................................................................. 3-17
3.10.1.2 Help Menu.................................................................................................................. 3-17
3.10.1.3 Logout ......................................................................................................................... 3-17
3.10.2 Users Tab............................................................................................................................ 3-17
3.10.3 Usage Audit Tab ............................................................................................................... 3-18
3.10.4 Adding Users..................................................................................................................... 3-18
3.10.5 Editing Users ..................................................................................................................... 3-18
3.10.6 Deleting Users ................................................................................................................... 3-19
3.10.7 Restoring Users ................................................................................................................. 3-19
3.10.8 Auditing Usage ................................................................................................................. 3-19
3.11 Main Window Features........................................................................................................... 3-19
3.11.1 Overview of the Menu Options ...................................................................................... 3-19
3.11.1.1 Scenario Menu............................................................................................................ 3-20
iv
3.11.1.2 Session Menu.............................................................................................................. 3-20
3.11.1.3 ServerStats Menu....................................................................................................... 3-20
3.11.1.4 Tools Menu ................................................................................................................. 3-20
3.11.1.5 Manage Menu ............................................................................................................ 3-21
3.11.1.6 Help Menu.................................................................................................................. 3-21
3.11.1.7 Logout ......................................................................................................................... 3-21
3.11.2 Toolbar ............................................................................................................................... 3-21
3.11.3 Build Scenarios Tab ......................................................................................................... 3-21
3.11.4 Set Up Autopilot Tab ....................................................................................................... 3-23
3.11.5 Watch VU Grid Tab ......................................................................................................... 3-23
3.11.6 View Run Graphs Tab ..................................................................................................... 3-24
3.11.7 Create Reports Tab ........................................................................................................... 3-24
3.12 Systems Manager ..................................................................................................................... 3-24
3.13 Defining Systems ..................................................................................................................... 3-25
3.13.1 Adding New VU Agent Systems.................................................................................... 3-26
3.13.2 Adding New System Groups .......................................................................................... 3-27
3.13.3 Adding Systems to Groups ............................................................................................. 3-27
3.13.4 Adding New ServerStats Data Collectors ..................................................................... 3-27
3.13.5 Adding New Monitored Systems................................................................................... 3-28
3.13.5.1 Configuring JMX Monitors ...................................................................................... 3-28
3.13.5.2 Adding a Monitored System.................................................................................... 3-31
3.13.6 Adding Cloud Service Configurations .......................................................................... 3-38
3.13.6.1 Importing the Enterprise Manager Certificate ...................................................... 3-38
3.13.6.2 Adding the Cloud Service Configuration ............................................................. 3-38
3.13.7 Renaming Systems............................................................................................................ 3-40
3.13.8 Editing Systems................................................................................................................. 3-41
3.13.9 Deleting Systems............................................................................................................... 3-41
3.14 Setting Options ......................................................................................................................... 3-41
3.14.1 Custom Browser Options ................................................................................................ 3-41
3.14.2 Repository Options........................................................................................................... 3-41
3.14.3 Setting Scenario Defaults ................................................................................................. 3-42
3.14.4 Setting Autopilot Defaults............................................................................................... 3-52
3.14.5 Setting Session Start and Stop Options.......................................................................... 3-53
3.14.6 Setting Session Profile Options....................................................................................... 3-53
3.14.7 Setting Reporting Options ............................................................................................... 3-53
3.14.8 Setting General Options................................................................................................... 3-53
v
4.2 Using IP Spoofing .................................................................................................................... 4-22
4.3 Working with Scenario Files .................................................................................................. 4-23
4.3.1 Saving Scenarios ............................................................................................................... 4-23
4.3.2 Opening Existing Scenarios............................................................................................. 4-24
4.3.3 Renaming Scenarios ......................................................................................................... 4-24
4.3.4 Deleting Scenarios ............................................................................................................ 4-24
4.3.5 Removing Profiles From a Scenario ............................................................................... 4-25
4.3.6 Running Scenarios from the Command Line ............................................................... 4-25
4.3.7 Estimating Hardware ....................................................................................................... 4-25
4.3.7.1 Estimate for an Oracle Load Testing Scenario ...................................................... 4-25
4.3.7.2 Generating Hardware Estimation Reports ............................................................ 4-26
4.4 Submitting Scenarios to Autopilot ........................................................................................ 4-26
4.4.1 Submit without Starting the Scenario ............................................................................ 4-26
4.4.2 Submit and Start Scenario in Autopilot......................................................................... 4-27
vi
6.4.5 Errors Vs. Time Graph ..................................................................................................... 6-10
6.4.6 Users Vs. Time Graph ...................................................................................................... 6-10
6.4.7 Users Vs. Time Graph ...................................................................................................... 6-10
6.5 Using Data Counters ............................................................................................................... 6-10
6.5.1 Using Data Counters ........................................................................................................ 6-10
6.6 Create Reports Tab .................................................................................................................. 6-11
6.6.1 Viewing Reports ............................................................................................................... 6-13
6.6.2 Exporting Graphs and Data ............................................................................................ 6-13
6.6.3 Exporting CSV Data ......................................................................................................... 6-14
6.6.4 Exporting to Excel............................................................................................................. 6-15
6.6.5 Exporting to PNG ............................................................................................................. 6-15
6.6.6 Exporting to JPG ............................................................................................................... 6-15
6.6.7 Working With Graph Queries......................................................................................... 6-15
6.6.7.1 Saving Graph Queries............................................................................................... 6-16
6.6.7.2 Running a Saved Query............................................................................................ 6-16
6.6.7.3 Editing Queries .......................................................................................................... 6-16
6.6.7.4 Deleting Queries ........................................................................................................ 6-17
6.6.8 Creating Report Templates ............................................................................................. 6-17
6.6.8.1 Creating a Custom Graph and Session List ........................................................... 6-18
6.7 Generating Summary Reports................................................................................................ 6-19
6.7.1 Scenario Reports ............................................................................................................... 6-19
6.7.2 Session Reports ................................................................................................................. 6-19
6.7.3 Hardware Estimation Reports ........................................................................................ 6-19
6.7.4 Running Automatic Database Diagnostic Monitor (ADDM) Reports...................... 6-20
6.7.5 Running Automatic Workload Repository (AWR) Reports....................................... 6-20
6.7.6 Using Time Range Filters ................................................................................................ 6-21
6.8 Managing Session Data ........................................................................................................... 6-22
6.9 Using Raw Data........................................................................................................................ 6-23
6.9.1 Enabling Raw Data Collection ........................................................................................ 6-23
6.9.2 Working with Raw Data Files......................................................................................... 6-23
6.9.3 Creating Tables in an Oracle Database.......................................................................... 6-25
6.9.4 Importing Raw Data CSV Files ...................................................................................... 6-25
6.9.5 Example SQL Command File.......................................................................................... 6-25
6.9.6 Example Counter Definition Control File ..................................................................... 6-26
6.9.7 Example Counter Data Control File............................................................................... 6-26
vii
8 Database and File Management
8.1 Database Management ............................................................................................................... 8-1
8.1.1 Adding an Oracle Database ............................................................................................... 8-1
8.1.2 Selecting the Database to Use ............................................................................................ 8-2
8.1.3 Removing Databases ........................................................................................................... 8-2
8.1.4 Updating Databases ............................................................................................................ 8-3
8.1.5 Exporting and Importing Databases................................................................................. 8-3
8.1.5.1 Exporting Databases Using Export Utility................................................................ 8-3
8.1.5.2 Importing Databases Using Import Utility............................................................... 8-4
8.1.5.3 Importing Databases Using Data Pump Import Utility.......................................... 8-4
8.2 Importing Files ............................................................................................................................ 8-5
8.3 Exporting Files............................................................................................................................. 8-5
B Error Messages
B.1 Viewing Error Codes ................................................................................................................. B-1
B.2 Error Messages ........................................................................................................................... B-1
B.3 RSWISERV Errors ...................................................................................................................... B-3
B.4 Obtaining Support Files ............................................................................................................ B-4
B.5 Oracle Application Testing Suite Application Service Messages ....................................... B-4
B.5.1 Agents are Orphaned ......................................................................................................... B-4
B.5.2 Server is Not Initialized ..................................................................................................... B-4
B.5.3 Unable to Start Session....................................................................................................... B-5
B.6 Problems During Load Testing................................................................................................ B-6
B.6.1 Cannot Open Scenario ....................................................................................................... B-6
B.6.2 Unable to Start Agent Session........................................................................................... B-6
viii
B.6.3 Performance Problems During the Load Test ................................................................ B-7
B.6.4 Unexpected Agent Exit in the VU Grid ........................................................................... B-8
B.7 Data Collector Startup Errors................................................................................................... B-9
ix
x
Preface
Welcome to the Oracle Load Testing User's Guide. This guide explains how to get
started using the features and options of Oracle Load Testing for load testing of
Web-based applications.
Audience
This guide is intended for Web test engineers who will be conducting load and
scalability testing of a Web site or application. The guide does require an
understanding of software or Web application testing concepts. Test engineers using
Oracle Load Testing should be familiar with Oracle OpenScript scripts and the
concepts of Web application testing, load testing, scalability testing, and reporting.
Prerequisites
Oracle Load Testing does not require any programming experience to develop load
scenarios. However, test engineers performing distributed load testing in a network
environment should be familiar with networking concepts and how to verify
communication between workstations in a network.
xi
Chapter 8, "Database and File Management" explains how to manage databases for use
in Oracle Load Testing and how to import and export files to and from the Oracle Load
Testing Server.
Chapter 9, "Working With Sessions" explains how to attach and detach from running
sessions.
Appendix A, "Internet Status Codes" lists the status codes and Internet error codes that
can be returned from a server.
Appendix B, "Error Messages" provides a reference for error messages and codes
generated by Oracle Load Testing.
Appendix C, "Command Line Reference" provides a reference for the parameters for
running Oracle Load Testing scenarios from the command line. .
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Related Documents
For more information, see the following documents in the Oracle Application Testing
Suite documentation set:
■ Oracle Application Testing Suite Release Notes
■ Oracle Application Testing Suite Installation Guide
■ Oracle Application Testing Suite Getting Started Guide
■ Oracle Functional Testing OpenScript User’s Guide
■ Oracle Functional Testing OpenScript Programmer’s Reference
■ Oracle Load Testing Load Testing User’s Guide
■ Oracle Load Testing Load Testing ServerStats Guide
■ Oracle Test Manager Test Manager User’s Guide
Conventions
The following text conventions are used in this document:
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
xii
Convention Meaning
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
xiii
xiv
1
Introduction
1
Oracle Load Testing allows you to easily and accurately test the performance and
scalability of your Web applications, Oracle packaged applications and Web services.
Oracle Load Testing not only stresses your application to simulate the impact of
end-user workloads, but also enables rigorous validation that protocol-based legacy
client server testing tools cannot provide. Its integrated scripting platform cuts
scripting time in half, eliminating weeks from a project’s testing schedule. Oracle Load
Testing is a component of Oracle Application Testing Suite, the centerpiece of the
Oracle Enterprise Manager solution for comprehensive testing of packaged, Web and
service-oriented architecture–based applications.
Oracle Load Testing is the easiest way to validate the performance and scalability of
your Web applications, Oracle packaged applications and Web services. It can simulate
thousands of virtual users accessing the application simultaneously and measures the
effect of the load on application performance, without requiring a substantial
hardware investment.
The realistic usage scenarios that you can configure in Oracle Load Testing can handle
even the most complex applications. By enabling virtual users to simulate many
different end user parameters (including configurable browser types, connection
speeds, and think times), testers can stress their Web application just like real users
will to understand exactly how the application will scale under peak load conditions.
Oracle Load Testing’s virtual users can generate multithreaded browser requests while
performing rigorous functional validation under load conditions—validation that
protocol-based, legacy client server testing tools cannot provide.
Oracle Load Testing can also be used to test the performance of Web service interfaces
by simulating thousands of concurrent clients accessing SOA-based applications,
through its integrated load testing accelerator for Web Services. In addition, integrated
load testing accelerators for Oracle E-Business Suite, Siebel and ADF applications
provide more efficient and optimized performance testing for your Oracle
applications.
Introduction 1-1
Advantages of Oracle Load Testing
Introduction 1-3
Advantages of Oracle Load Testing
This chapter provides a basic methodology for testing the scalability and performance
of Web applications throughout the life cycle. It outlines the process for selecting the
appropriate tools and the recommended steps to perform effective scalability testing.
This chapter is broadly divided into the following sections:
■ Goals and Requirements of Scalability Testing: What should you aim to
accomplish as a result of scalability testing for each phase of your Web application
development.
■ Methodology: The process and the steps that are required to ensure performance
and scalability throughout the application life cycle.
■ Test Planning and Execution: How you should plan and execute scalability testing
during each phase of development.
scalability of the application. Oracle Load Testing defines the number and types of
virtual users and which script(s) different virtual users run. It also provides real-time
reports and graphs for evaluating the progress of the tests and post-analysis reports
and graphs for post-run analysis of test results.
Oracle Load Testing ServerStats - provides real time system monitoring for a variety
of data sources for monitoring the impact of the load test on the individual servers
(Web server, database server, application server, and system counters). For example,
the load test many require monitoring software for a Netscape Web server, a
ColdFusion application server, a Tuxedo server, and a mainframe data base server.
In addition to Oracle Application Testing Suite, you may need additional software
tools for other specialized monitoring or reporting.
Other System Monitoring Tools - You should determine what other software tools
may be necessary for monitoring the load test.
Logging Tools - You should determine what software tools will be used for logging
transaction and performance data or logging errors.
In addition, you will also need to gather data from other tools that monitor the state of
different components in the application architecture. This will allow you to correlate
the client-side degradation noticed during the scalability tests to one or more
scalability problems with specific components of the application.
■ To determine the number of virtual users that can be run on a machine, you can
estimate based on the amount of memory each virtual user would consume. If the
virtual users are running as threads within a process, on an average they consume
300-500 KB of memory. If the virtual users are running as separate processes
within a process, on an average they consume 1024 - 2048 KB of memory.
■ A hardware configuration document is usually available from each test vendor
that explains the hardware requirements for a particular load testing setup.
4. Determine and configure the hardware and environment needed to execute the
scalability tests.
5. Plan the scalability tests.
6. Plan the test scenarios.
7. Create and verify the scripts.
8. Create and verify the load test scenarios.
9. Execute the tests.
10. Evaluate the results against the defined criteria.
The details for the above steps are explained in the following sections.
■ number of virtual users or the desired throughput for the application as a whole
(Transactions per second);
■ maximum or acceptable duration for each business transaction;
■ maximum or acceptable duration for delay between business transactions.
■ With or without images - Will virtual users run with images or without images?
Images constitute an additional load on the Web server. In many cases, you may
want to perform load testing both with and without images for comparison.
Overall Transactions-Per-Second Throughput Required - What is the overall
transactions per second (TPS) throughput required for the load test? This can be
computed based on the number of simultaneous business transactions and the
duration of typical transactions.
Type of Error Handling - What type of error handling is required when executing the
load test? Does the load test need to be stopped on encountering certain types of error
or just log the error and continue? What types of error logging do we need to enable
for each concurrent user and for the different components in the application
architecture?
Type of Transaction and Performance Data Logging - What type of transaction and
performance data needs to be logged for the various scripts?
registration, then the user profile for first-time users should include a registration
script.
Number of Users - How many virtual users with this user profile will run over the
same time interval? Oracle Load Testing lets you specify the number of virtual users
for each test scenario.
Which System - Which specific computer(s) will be used to generate the load for this
user group? Oracle Load Testing can run virtual users on a single system or on
multiple, distributed systems running Oracle Load Testing agents. Oracle Load Testing
can specify which virtual user scenarios run on which workstations.
Which Browser - Which browser will this user group emulate? Oracle Load Testing
can specify virtual user scenarios emulate either Internet Explorer or Netscape.
Pacing mode - What pacing mode will be used for the user group? Will the testing be
performed using recorded think times, a range of times, or as fast as possible? Oracle
Load Testing virtual user scenarios let you specify recorded, random, or no pacing.
Delay Between Business Transaction Runs - What delay time will be included
between business transactions, if any? Oracle Load Testing lets you specify the amount
of delay time between transaction runs.
With or Without Images - Will the user group run with images or without images?
You may want to create different user groups that perform load testing both with and
without images for comparison. Oracle Load Testing provides this capability.
Verify distributed test execution on multiple machines - You should verify the load
test tool's ability to execute the individual scripts properly in a distributed
environment if you plan to use multiple CPU's for load generation. This usually
involves a master system controlling the virtual user execution on multiple
workstations on the network. This can help you isolate any installation or
networking-related issues.
Verify real-life scenarios that include one of each user group - Before executing the
full load test you should create and verify a scenario that includes one virtual user of
each user group you wish to run at the same time. That is, before you run a test with
20 VU's of group A, and 20 VU's of group B, and 60 VU's of group C, you should first
run one VU of group A, one VU of group B, and one VU of group C, and make sure
that the results are as expected.
Create real-life scenarios - This process should be defined in the test plans for each
scenario. When creating the individual scenarios, you specify the following
information as defined in the test plan:
■ type of user
■ pacing mode
■ navigation/transactions to perform
■ delay between transaction runs
■ number of users of each type
■ with or without images
■ system used for load generation
■ error log settings
■ browser emulation
2.9 Summary
Load testing throughout the development cycle has become an essential part of the
process of designing scalable, reliable Web applications. Developers and QA
professionals now rely on load testing tools as a means to validate system
architectures, tune applications for maximum performance, and assess the impact of
hardware upgrades. Consequently, it is critical that the load test results can be used
with confidence as the basis for key decisions about application readiness and
potential changes to the system's hardware and software. Using the methodology
embodied in this guide along with accurate load testing tools such as Oracle Load
Testing, you now have a systematic approach to ensure the performance of your Web
applications. With load testing established as a routine part of the application lifecycle
you can be sure to avoid costly "scalability surprises" when your application goes live
for the first time or after any subsequent release.
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.
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.
Basics 3-1
Installing Oracle Load Testing
5. For Windows installations, select Oracle Load Testing from the Oracle Application
Testing Suite Start menu or enter http://<machine>:8088/olt or
http://localhost:8088/olt in your browser where <machine> is the name of the
machine where the Oracle Application Testing Suite is installed.
For Linux installations, enter http://<machine>:8088/olt or
http://localhost:8088/olt in your browser where <machine> is the name of the
machine where the Oracle Application Testing Suite is installed.
Two default administrator accounts are created at installation. The usernames for
the default accounts are administrator and default. The default password for both
the administrator and default accounts is the master password specified during
the Oracle Application Testing Suite installation process. Use the Oracle
Application Testing Suite Administrator to customize the Oracle Load Testing
database by creating user accounts, assigning user names and passwords, and
assigning the type of access that they have in Oracle Load Testing. See Section 3.10,
"Administrator" for additional information about using the Oracle Application
Testing Suite Administrator.
Use the Oracle Application Testing Suite Database Configuration utility to
configure database connections to Oracle Load Testing databases. On Windows
machines, you can access the Database Configuration utility from the Tools sub
menu of the Oracle Application Testing Suite Start menu. On Linux machines, you
can access the Database Configuration utility from <oats_
install>/bin/DbConfig.sh.
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. Select the Log On tab, then select Local System account and select the Allow
service to interact with desktop checkbox.
4. Click OK.
5. Click 'Restart the service' to restart the service.
Enabling the Allow service to interact with desktop checkbox is a one time
requirement. After enabling this option and playing back Functional Test scripts
one time on the agent, this setting can be disabled if you do not want to see the
RDP session (which contains the browser playback within the session).
■ Windows: The agent system must have the required privileges to create windows
accounts with 'remote desktop user group' privileges.
■ Windows: The User Account Control (UAC) level that controls Windows
notifications on the agent system must be set to "Never Notify" - the least secure
setting. This is not the default setting for Windows.
■ Windows: Internet Explorer Enhanced Security Configuration on the agent system
must be disabled for the Administrators group (which includes all of the user
accounts for the OLT functional test support). This is not the default setting for
Windows.
The Oracle Application Testing Suite setup, installation, configuration and other
scripts do not make these changes and security settings are not modified as part of the
account creation for playback. These requirements must be manually configured by
functional test users.
Encrypted Script Requirements:
You will need the password(s) for Oracle OpenScript scripts that use password
protected encryption. When you add a password protected script to configure
parameters in the Build Scenarios tab, the Import Script Password dialog box opens
for specifying the script password.
Basics 3-3
Installing Oracle Load Testing
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.
Basics 3-5
Installing the Linux Agent
2. Execute the following from the server\BIN directory of Oracle database (e.g.
C:\OracleATS\oxe\app\oracle\product\10.2.0\server\BIN) where x.x is the
version number of Oracle Application Testing Suite installation:
expdp system/<passwd>@xe schemas=OATS directory=bkp_dir
dumpfile=oatsbkp_x.x.dmp logfile=oatsbkpexp_x.x.log
3.3.2 Install Oracle Application Testing Suite and Configure Database Connections
This section explains the installation and database configuration steps for using an
existing database.
1. Install the Oracle Application Testing Suite on the new machine. When the Oracle
Database installation screen appears, select "Configure an existing Oracle XE or EE
Database" and manually enter system password which was used for DB
installation.
During database configuration, the installation will prompt the following message:
"Warning: The database you have configured already contains the OLT and OTM
schemas. You will need to run the Database Configuration Utility to
re-configure these schemas after installation completes"
Basics 3-7
Moving an Existing Installation to a New Machine
12. Select Use existing schema and specify the Connection details for the existing
database.
■ Name - OTM (can be anything).
■ Description - enter any description for the existing database.
■ Hostname, port, service of database instance.
■ Username - otm (must be "otm").
■ Password - the otm user password.
13. Optionally, select Insert sample data.
17. Select Use existing schema and specify the Connection details for the existing
database.
■ Name - OATS (can be anything).
■ Description - enter any description for the existing database.
■ Hostname, port, service of database instance.
■ Username - oats (must be "oats").
■ Password - the otm user password.
18. Click Save.
Basics 3-9
Setting Up Servers for ServerStats
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:
■ Always store scripts and assets (i.e. databanks, .jar files, etc.) inside named
repositories.
■ Avoid selecting the Save path relative to current script option in OpenScript when
saving scripts.
■ Establish a consistent repository naming scheme across all Oracle Load Testing,
Oracle Test Manger, and OpenScript installations.
■ Avoid using the repository named "Default" for storing local scripts. Use
"machineName.Default" instead.
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).
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.
Basics 3-11
Setting Up Servers for ServerStats
Oracle8 Installation Guide). The installation documentation for the specific platforms
describe how to start the agent on Windows and Linux.
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.
5. Change the Port value to the new Port number and close the Registry Editor.
6. Open the Control Panel and then open Services in the Administrative Tools.
7. Restart the "Oracle Application Testing Suite Application Service" service.
8. Login to Oracle Load Testing and select Systems from the Manage menu and then
select ServerStats Data Collectors.
9. 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 6 and 7 should not be
performed.
Basics 3-13
Changing the OLT Controller Heap Settings
3.8.4 Limitations
Users of 32-bit Windows Systems should leave the current default settings unchanged.
However, you can enable the 4GT feature in your 32-bit edition of Windows to request
a larger heap from the Operating system. Once you have enabled this feature you can
then change the maximum Heap size setting to 2GB(-Xmx2g). To enable the 4GT
feature see:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb613473(v=vs.85).
aspx.
The Oracle Load Testing Controller also requires the Windows Weblogic patch in order
to use the 4GT tuning feature. If you are running large load tests using Oracle
Application Testing Suite version 9.31 on Windows 32-bit systems, you should upgrade
to version 9.31.044 or later and set Windows 4GT tuning. Only version 9.31.044 and
higher will allow the heap to be set to the recommended -Xmx2g, and only when the
Windows 32-bit system has 4GT tuning applied.
On 32-bit Linux Systems, change the maximum Heap size setting to 2GB (-Xmx2g).
On 64-bit Systems, the recommend maximum Heap size setting is 3GB(-Xmx3g).
Basics 3-15
Oracle Application Testing Suite Tools Menu
3.10 Administrator
The Administrator allows you to 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. The Administrator also lets you optionally enable
authentication for Oracle Load Testing. When Oracle Load Testing login is enabled,
users must login to access Oracle Load Testing.
Two default administrator accounts are created at installation. The usernames for the
default accounts are administrator and default. The default password for both the
administrator and default accounts is the master password specified during the
Oracle Application Testing Suite installation process. You can change the password
after logging in to the Administrator. It is recommended that you change the default
password as soon as you log in.
To start the Administrator:
1. For Windows installations, select Administrator from the Oracle Application
Testing Suite Start menu or enter http://<machine>:8088/admin or
http://localhost:8088/admin in your browser where <machine> is the name of
the machine where the Oracle Application Testing Suite is installed.
3.10.1.3 Logout
Exits the Administrator.
Basics 3-17
Administrator
Access - displays the type of access the user has in Oracle Load Testing.
Administrator Access - displays whether the user can access the Administrator.
Basics 3-19
Main Window Features
■ Scenario
■ Session
■ ServerStats
■ Tools
■ Manage
■ Help
■ Logout
The following sections explain each of the menu options.
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.
View Cloud Agents - opens a dialog box that displays the agent and status
information for cloud agents.
Import - opens a dialog box for importing a file to the repository.
Export - opens a dialog box for exporting a file to the local system.
Hardware Estimation - opens a dialog box for selecting a scenario for a hardware
estimation session. A background session and local agent will start and run one
Virtual User for the selected scenario.
3.11.1.7 Logout
Exits Oracle Load Testing.
3.11.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.
Basics 3-21
Main Window Features
The Select scripts list shows the Oracle OpenScript scripts in the current
repository/workspace.
The Configure parameters of the scenario list shows the scripts 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. Scripts can be both load testing-type scripts and functional testing-type
scripts. See the preconditions for functional testing-type scripts in Section 3.1.2,
"Preconditions for Using Functional Testing Scripts".
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.
Scripts - lists the names of the scripts added to the scenario.
# 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. For functional testing-type scripts, a warning indicator appears
if you specify more VUs than the maximum allowed for the Oracle Load Testing Agent
machine.
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 Agent Systems 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. For functional testing-type scripts, the number of VUs may be limited by
the number of accounts available on the Oracle Load Testing Agent machine (Remote
Desktop for Windows, VNC for Linux).
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:
Configure all paramters - Displays the Edit Scenario Details dialog box for
configuring the parameters script in the scenario.
Configure Data Bank - 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".
Basics 3-23
Systems Manager
For information about using the virtual users grid, see Chapter 5, "Using the
Autopilot".
■ Delete - deletes the selected system groups. To select more than one system group,
hold down the CTRL key.
■ Name - lists the system groups that are available.
ServerStats Data Collectors - these are systems that you want to use as remote data
collectors for gathering ServerStats data.
■ New - displays the Add System dialog box for adding a new ServerStats data
collector.
■ Edit - displays the Edit System dialog box for editing the selected data collector.
■ Delete - deletes the selected data collectors. To select more than one data collector,
hold down the CTRL key.
■ Name - lists the available data collectors.
Monitored Systems - these are systems that you want to monitor with ServerStats.
■ New - displays the Add System dialog box for adding a new system that you want
to monitor using ServerStats.
■ Edit - displays the Edit System dialog box for editing the selected system.
■ Delete - deletes the selected systems. To select more than one system, hold down
the CTRL key.
■ Name - lists the available systems.
Cloud Services - these are cloud service configurations that you use to run Virtual
User agents on a cloud. Configured cloud services are available on the Build
Scenarios tab as a System choice.
■ New - displays the Add Cloud Service dialog box for adding a new cloud
configuration that you want to use to run Virtual User agents on a cloud.
■ Edit - displays the Edit System dialog box for editing the selected cloud
configuration.
■ Delete - deletes the selected cloud configurations. To select more than one cloud
configuration, hold down the CTRL key.
■ Name - lists the available cloud configuration.
For more information about using the System Manager, see Section 3.13, "Defining
Systems".
Basics 3-25
Defining Systems
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.
4. Enter the name of the system in the Name field, enter the name or IP address of
the system in the Host Name or IP field, and specify the operating system type.
Note: Systems and system groups appear in the Systems list on the
Build Scenarios tab.
Note: Systems and system groups appear in the Systems list on the
Build Scenarios tab.
Note: Systems and system groups appear in the Systems list on the
Build Scenarios tab.
Basics 3-27
Defining Systems
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.
■ Username - enter the user name for the data collector. The Username is the
user name specified for the agent Authentication Profile in the Oracle Load
Testing Agent Authentication Manager. The username for the default agent
Authentication Profile is JMSAdmin. To view other defined agent
Authentication Profile Usernames, select Oracle Application Testing Suite
from the Programs Start menu, then select Oracle Load Testing Agent
Authentication Manager from the Tools submenu. Select an agent
Authentication Profile to view the details. On Linux machines, use:
<instdir>/jdk/jre/bin/java -jar <instdir>/agentmanager/AMAuthManager.jar
Note: Systems and system groups appear in the Systems list on the
Build Scenarios tab.
Basics 3-29
Defining Systems
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
Basics 3-31
Defining Systems
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
Basics 3-33
Defining Systems
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.
Basics 3-35
Defining Systems
■ 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.
Basics 3-37
Defining Systems
Note: The Oracle Load Test controller machine must have a static IP
address for the DNS lookup from the deployed agent to the controller
to function correctly.
agent systems. The Oracle Load Testing System Manager lets you define the number of
agents per session, agent system policies, and the cloud configuration details. You
must also have access to an Oracle Cloud managed by Enterprise Manager as a source
of agent machines for a load test, have the details of the assembly, and have the
Enterprise Manager host information.
To add a new cloud service configuration:
1. Select Systems from the Manage menu.
2. Select Cloud Services.
3. Click New to display the Add Cloud Services dialog box.
Name - enter the name of the cloud service.
Agents per Session - specifies the initial size of the agent pool to create and the
behavior of agent pool reallocation.
■ Initial - specifies the initial size of the agent pool.
■ Minimum - specifies the low threshold of available machines.
■ Increment - specifies the number of instances to allocate when the low
threshold is triggered.
■ Maximum - specifies the maximum number of instances per session.
Agent System Policies - specifies the agent resource thresholds and behavior.
■ Metric Type - specifies the metric to monitor to determine agent pool
reallocation.
– System CPU Used - monitors agent process CPU usage. Specify the
maximum process CPU usage percentage to trigger adding new agent
machines.
– System Memory Available - monitors system memory usage. Specify the
minimum system memory to trigger adding new agent machines.
■ <operator> - specifies the operator to use to test the metric against the
threshold value.
■ Value - specifies the value to use as the threshold for the specified metric type.
■ Action - specifies the action to perform if the metric reaches the specified
threshold value.
■ New Policy - adds a new Agent System policy row to the configuration.
Setting an added policy Metric Type to (none) will remove the new policy
when the cloud service configuration is saved.
Cloud Configuration - specifies the Oracle Enterprise Manager instance
connection information and Assembly instance creation details.
■ EM Host - specifies the Oracle Enterprise Manager instance to use for the
cloud.
■ Port - specifies the port number ti use for the connection.
■ Username - specifies the user name used to connect to the Oracle Enterprise
Manager instance. The credentials for the cloud must refer to a repositories
user not an SSO user in Enterprise Manager. The user account must have the
correct roles and privileges in Enterprise Manager to access the cloud. For
example:
– Roles: EM_SSA_USER, EM_USER
Basics 3-39
Defining Systems
– Privileges: View_Any_Infrastructure_Cloud
The user account must also have access to the required Assemblies needed
from the software library.
■ Password - specifies the password used to connect to the Oracle Enterprise
Manager instance.
■ Connect - connects to the specified Oracle Enterprise Manager instance and
retrieves Assembly details.
■ Assembly - specifies the Assembly on the Oracle Enterprise Manager
machine, which is part of the software library.
■ Zone - specifies the deployment Zone in the Assembly.
■ Network Profile - specifies the network profile to use.
■ Assembly Prefix - specifies the Assembly prefix to use.
4. Enter the name of the cloud service in the Name field.
5. Specify the Agent cloud services rampup by entering the Initial, Minimum,
Increment, and Maximum values.
6. Specify the Agent System Policies by selecting the Metric Type, operator, Value,
and Action to perform if the metric values meets the specified operator criteria.
7. If necessary, click New Policy to add additional Agent System Policies. Setting an
added policy Metric Type to (none) will remove the new policy when the cloud
service configuration is saved.
8. Specify the EM Host, Port, Username, and Password credentials for the Oracle
Enterprise Manager instance to use for the cloud.
9. Click Connect to access the connection to the cloud service and retrieve assembly
data.
10. Select the Assembly, Zone, and Network Profile.
7. Click Close.
Basics 3-41
Setting Options
■ 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).
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.
■ 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.
■ Browser Type - specifies the type of browser to use for functional test scripts:
Internet Explorer or Firefox. The default is Internet Explorer on Windows. The
default is Firefox on Linux.
■ Browser Path Override - specifies tan alternative path to use when launching the
specified browser type. Explorer and Firefox browser processes physically exist in
the file system. In case the path to one of these browsers is incorrect, specify an
alternative path to use when launching the specified browser type. This setting is
not intended to be used to specify the path to an unsupported browser.
■ Browser Additional Arguments - specifies any additional startup arguments that
should be used when launching the browser process on playback. The default is
no additional arguments other than what may be required internally.
Basics 3-43
Setting Options
■ 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.
■ Resolution Size - specifies the screen resolution of the playback agent machine.
Functional test scripts with mouse-click actions and screenshot capturing are
dependent upon this setting.
■ Automatically dismiss Javascript alert dialogs - specifies if JavaScript alert dialog
boxes are automatically dismissed if they appear during playback. The default is
false; do not automatically dismiss alert dialogs.
■ Cache Download Pages - when true, downloaded pages are stored in a local cache
and caching options are enabled. Caching places less of a load on the server as
only newer pages are requested and brought down from the Web server. When
false, caching is not used. No caching places more of a load on the Web server
because pages and images are brought down from the Web server for every
request.
■ 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.
Virtual User Logs - the VU Logs settings are as follows:
■ Enable Logging - turns VU logging on and off. The default is on. When On, the
Message Delivery and Logged Messages settings are also enabled.
■ Message Delivery - specifies when messages are delivered to the Virtual User log,
as follows:
On Error - enables delivery of messages only when an error occurs. Using this a
user can debug what happened on a particular step or transaction when an error
occurred. All messages, as specified by the Logged Messages settings, for steps or
transactions are cached an error occurs.
Always - all messages generated by Virtual Users will be logged.
■ Logged Messages - specifies the type of logged messages, as follows:
Standard - The standard messages consist of basic level messages which provide
an overview of the chronological flow of a Virtual User. The types of messages
included in this are as follows:
– BeginPage -Logs the step-group (page) name, when VU starts a page.
– FoundResource - Logs the resources' urls when download manager is turned
on and discovers resources from pages.
– ScriptError [Without stack trace] - Logs the script exception type and
messages, when an OATS defined exception happens. It does not matter if the
Basics 3-45
Setting Options
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.
■ 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.
Basics 3-47
Setting Options
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
You can then set the additional arguments in the Additional Arguments field as
follows:
-MyCustomSetting abc
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.
■ Unexpected Script Error - specifies the error recovery action if any unexpected
script error occurs.
■ Child Script Failed - specifies the error recovery action if an error occurs in a
script that is a child of another script.
■ Call Function Failed - specifies the error recovery action if an error occurs in a
script that calls a function of another script.
■ Encrypting/Decrypting Failed - specifies the error recovery action if an error
occurs encrypting or decrypting a 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.
Basics 3-49
Setting Options
■ 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 Error Recovery - Functional Test - the Functional Test Module Error
Recovery settings are as follows:
■ Text Matching Failed - specifies the error recovery action if a text matching test
error occurs.
■ Object Test Failed - specifies the error recovery action if an Object test error
occurs.
■ Table Test Failed - specifies the error recovery action if a Table test error occurs.
■ XML Test Failed - specifies the error recovery action if an XML test error occurs.
OpenScript Error Recovery - Web Functional Test - the Web Functional Test Module
Error Recovery settings are as follows:
■ Response Time Error - specifies the error recovery action if a Response time error
occurs.
■ Solve Variable Failed - specifies the error recovery action if a Solve Variable error
occurs.
■ Wait for Page Timeout - specifies the error recovery action if a Wait for Page
Timeout occurs.
■ Object Not Found - specifies the error recovery action if an Object Not Found
error occurs.
■ Playback Failed - specifies the error recovery action if a Playback Failed error
occurs.
■ Title Test Failed - specifies the error recovery action if a Title Test Failed error
occurs.
■ HTML Test Failed - specifies the error recovery action if a Title Test Failed error
occurs.
OpenScript Error Recovery - Oracle Forms Functional Test - the Oracle Forms
Functional Test Module Error Recovery settings are as follows:
■ Oracle Forms Error - specifies the error recovery action if an Oracle Forms error
occurs.
■ Status Bar Test Error - specifies the error recovery action if a Status Bar Test error
occurs.
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.
■ 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
logs based on the "virtual user logs" 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.
■ Heart Beat Interval (sec): Specifies how often to notify the forms server that the
forms client is still alive when there is no user activitiy in the forms client. This
value is used to override the timeout configured for the EBS Application that
indicates how long the client has no activities. The default "0" value means no
heart beat is sent to the server.
Databank Configuration - the Databank Configuration load testing playback settings
are as follows:
Basics 3-51
Setting Options
Basics 3-53
Setting Options
This chapter explains how to define virtual user scenarios based upon the virtual user
profiles.
5. Click the Add to Scenario button or double-click the script name in the Select
Script list.
6. If you add a password protected script to configure parameters in the Build
Scenarios tab, the Import Script Password dialog box opens for specifying the
script password. Enter the script password and click Validate to verify the
password is correct.
5. Select the script or user defined profile that you want to edit from the list. See the
preconditions for functional testing-type scripts in Section 3.1.2, "Preconditions for
Using Functional Testing Scripts".
6. Set the attributes.
7. Repeat steps 5 and 6 for each script and user defined profile or use the copy and
paste functions on the right click menu to copy settings from one script or user
defined profile to another.
8. Click OK.
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 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.
■ 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.
■ 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 Download Pages - when true, downloaded pages are stored in a local cache
and caching options are enabled. Caching places less of a load on the server as
only newer pages are requested and brought down from the Web server. When
false, caching is not used. No caching places more of a load on the Web server
because pages and images are brought down from the Web server for every
request.
■ Clear Cache After Iteration - when true, each Virtual User will clear its own cache
after each iteration (after the script completes each iteration of its run()section).
■ Automatically (when page is out of date): when true, the web server is checked
for newer versions if the page is out of date. The Web server is not checked for
newer versions of unexpired cached pages. This setting behaves like the
"Automatically" cache setting in Internet Explorer.
■ Every visit to the page: when true, the Web server is always checked for newer
versions of all cached pages. This setting behaves like the "Every time I visit the
web page" cache setting in Internet Explorer.
■ 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.
Virtual User Logs - the VU Logs settings are as follows:
■ Enable Logging - turns VU logging on and off. The default is on. When On, the
Message Delivery and Logged Messages settings are also enabled.
■ Message Delivery - specifies when messages are delivered to the Virtual User log,
as follows:
On Error - enables delivery of messages only when an error occurs. Using this a
user can debug what happened on a particular step or transaction when an error
occurred. All messages, as specified by the Logged Messages settings, for steps or
transactions are cached an error occurs.
Always - all messages generated by Virtual Users will be logged.
■ Logged Messages - specifies the type of logged messages, as follows:
Standard - The standard messages consist of basic level messages which provide
an overview of the chronological flow of a Virtual User. The types of messages
included in this are as follows:
– BeginPage -Logs the step-group (page) name, when VU starts a page.
– FoundResource - Logs the resources' urls when download manager is turned
on and discovers resources from pages.
– ScriptError [Without stack trace] - Logs the script exception type and
messages, when an OATS defined exception happens. It does not matter if the
'Error Recovery' settings handles it as 'warn' or 'ignore'. The name of the
exception class is appended to "ScriptError" as a whole message type, for
example, ScriptError<SolveException>
– CachedData - Logs the cached resources' urls, when a VU requests on a cached
resource (304 NOT MODIFIED or Found In Cache).
– ThinkTime - Logs a message with the think time in seconds when a VU is in
iteration delay, step delay, or manual delay.
– SyncPoint - Logs whether a VU is suspended by a Sync Point or continues
from a Sync Point.
– Action - Logs the details of an action when a VU is navigating to a page (http),
or executing a sql statement (util).
Extended - The extended messages consist of all the message types included in
Standard plus selective inclusion of extended message types, which can have a
substantial overhead. Selecting this option enables the selection of the previously
excluded message types. All these message types or their groups are turned off by
default. The extended message types or their groups are as follows:
– Server Communication Content - Enables logging of all contents that are
communicated with the server. For example, for an HTTP script it will consist
of RequestHeader, ResponseHeader and ResponseContent.
– Parameter Substitution - Enables logging of the variables name/value being
substituted when parameters are transformed (messages of type
ParameterSubstitution).
– Error Stack Trace -Enables logging of messages of type ScriptError to be
reported with the stack trace in the content.
– User Defined Messages - Enables logging of the messages if API 'info()' ,
'warn()', 'fail()', 'reportFailure()' methods are used (messages of type
CustomizedLog).
– Verification Notifications - Enables logging of the test type, test name, and test
result of all types of verifications/tests (messages of type Verification).
Reporting- the Reporting settings are as follows:
■ 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:
■ On Error Stop Virtual User - when true, a virtual user is 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.
■ Connection Idle Timeout - specifies the socket 'idle timeout' and uses a new
connection when reusing an idle-timeout socket. This is used to specify the
timeout for a socket that gets closed by the server side after a long idle period.
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.
■ 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.
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 - 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 controls 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 request header is set to
Connection: Keep-Alive. 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 - ignores requests in the script that end with the extensions specified
in this field. Specify the file extensions, separated by commas, that should not be
requested. For example, .png,.ico,.gif,.jpg,.jpeg,.css,.js. This setting only
applies to only to OpenScript load test 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 - The OpenScript Error Recovery categories lets you
specify error recovery actions for exceptions that occur during playback. You can set
the error recovery action for individual playback exceptions. You can set the action as
Fail, Warn, or Ignore, as follows:
■ Fail: Report the error as failure and stop script execution.
■ Warn: Report the error as a warning and continue script execution.
■ Ignore: Ignore the error and continue script execution.
Error Recovery playback preferences specified in the OpenScript Preferences are
stored on the local machine and only apply when the script is played back from inside
OpenScript on that machine. If you import your script to Oracle Load Testing on
another server and your script depends on an error recovery setting being a certain
way in order for it to work, then you can set the error recovery setting in the
OpenScript script Java code.
In OpenScript scripts, error settings can be turned on and off at any time, overriding
the default Oracle Load testing and OpenScript Preferences using script Java code. For
example:
getSettings().setErrorRecovery("http.zeroLengthDownloads", "IGNORE");
// user code executed in script, such as http.get(), http.post(), ...
getSettings().setErrorRecovery("http.zeroLengthDownloads", "FAIL");
■ 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.
■ 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
logs based on the "virtual user logs" 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.
■ Heart Beat Interval (sec): Specifies how often to check the connection to the
EBS/Forms server.
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.
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 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.
■ 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 Type - specifies the type of browser to use for functional test scripts:
Internet Explorer or Firefox. The default is Internet Explorer on Windows. The
default is Firefox on Linux. This setting is specific to functional test scripts.
■ Browser Path Override - specifies tan alternative path to use when launching the
specified browser type. Explorer and Firefox browser processes physically exist in
the file system. In case the path to one of these browsers is incorrect, specify an
alternative path to use when launching the specified browser type. This setting is
not intended to be used to specify the path to an unsupported browser. This
setting is specific to functional test scripts.
■ Browser Additional Arguments - specifies any additional startup arguments that
should be used when launching the browser process on playback. The default is
no additional arguments other than what may be required internally. This setting
is specific to functional test scripts.
■ Resolution Size - specifies the screen resolution of the playback agent machine.
Functional test scripts with mouse-click actions and screenshot capturing are
dependent upon this setting. This setting is specific to functional test scripts.
■ Automatically dismiss Javascript alert dialogs - specifies if JavaScript alert dialog
boxes are automatically dismissed if they appear during playback. The default is
false; do not automatically dismiss alert dialogs.
Virtual User Logs - the VU Logs settings are as follows:
■ Enable Logging - turns VU logging on and off. The default is on. When On, the
Message Delivery and Logged Messages settings are also enabled.
■ Message Delivery - specifies when messages are delivered to the Virtual User log,
as follows:
On Error - enables delivery of messages only when an error occurs. Using this a
user can debug what happened on a particular step or transaction when an error
occurred. All messages, as specified by the Logged Messages settings, for steps or
transactions are cached an error occurs.
Always - all messages generated by Virtual Users will be logged.
■ Logged Messages - specifies the type of logged messages, as follows:
Standard - The standard messages consist of basic level messages which provide
an overview of the chronological flow of a Virtual User. The types of messages
included in this are as follows:
– BeginPage -Logs the step-group (page) name, when VU starts a page.
– FoundResource - Logs the resources' urls when download manager is turned
on and discovers resources from pages.
– ScriptError [Without stack trace] - Logs the script exception type and
messages, when an OATS defined exception happens. It does not matter if the
'Error Recovery' settings handles it as 'warn' or 'ignore'. The name of the
exception class is appended to "ScriptError" as a whole message type, for
example, ScriptError<SolveException>
– CachedData - Logs the cached resources' urls, when a VU requests on a cached
resource (304 NOT MODIFIED or Found In Cache).
– ThinkTime - Logs a message with the think time in seconds when a VU is in
iteration delay, step delay, or manual delay.
– SyncPoint - Logs whether a VU is suspended by a Sync Point or continues
from a Sync Point.
– Action - Logs the details of an action when a VU is navigating to a page (http),
or executing a sql statement (util).
Extended - The extended messages consist of all the message types included in
Standard plus selective inclusion of extended message types, which can have a
substantial overhead. Selecting this option enables the selection of the previously
excluded message types. All these message types or their groups are turned off by
default. The extended message types or their groups are as follows:
– Server Communication Content - Enables logging of all contents that are
communicated with the server. For example, for an HTTP script it will consist
of RequestHeader, ResponseHeader and ResponseContent.
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.
■ 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.
This value cannot be more than 90% of the total memory size.
■ 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.
■ 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
You can then set the additional arguments in the Additional Arguments field as
follows:
-MyCustomSetting abc
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.
■ Unexpected Script Error - specifies the error recovery action if any unexpected
script error occurs.
■ Child Script Failed - specifies the error recovery action if an error occurs in a
script that is a child of another script.
■ Call Function Failed - specifies the error recovery action if an error occurs in a
script that calls a function of another script.
■ Encrypting/Decrypting Failed - specifies the error recovery action if an error
occurs encrypting or decrypting a script.
OpenScript Error Recovery - Functional Test - the Functional Test Module Error
Recovery settings are as follows:
■ Text Matching Failed - specifies the error recovery action if a text matching test
error occurs.
■ Object Test Failed - specifies the error recovery action if an Object test error
occurs.
■ Table Test Failed - specifies the error recovery action if a Table test error occurs.
■ XML Test Failed - specifies the error recovery action if an XML test error occurs.
OpenScript Error Recovery - Web Functional Test - the Web Functional Test Module
Error Recovery settings are as follows:
■ Response Time Error - specifies the error recovery action if a Response time error
occurs.
■ Solve Variable Failed - specifies the error recovery action if a Solve Variable error
occurs.
■ Wait for Page Timeout - specifies the error recovery action if a Wait for Page
Timeout occurs.
■ Object Not Found - specifies the error recovery action if an Object Not Found
error occurs.
■ Playback Failed - specifies the error recovery action if a Playback Failed error
occurs.
■ Title Test Failed - specifies the error recovery action if a Title Test Failed error
occurs.
■ HTML Test Failed - specifies the error recovery action if a Title Test Failed error
occurs.
OpenScript Error Recovery - Oracle Forms Functional Test - the Oracle Forms
Functional Test Module Error Recovery settings are as follows:
■ Oracle Forms Error - specifies the error recovery action if an Oracle Forms error
occurs.
■ Status Bar Test Error - specifies the error recovery action if a Status Bar Test error
occurs.
■ Keep CPU usage below 90% for each system in the load test, including the Oracle
Load Testing system and each agent system.
■ Keep memory consumption for each workstation in the load test below 70-75% of
the physical amount of memory in each workstation. That is, keep the number of
virtual users below where page swapping of memory takes place.
■ If you need to run more virtual users for your load test than CPU usage or
memory limits provide for, you should add more physical memory to a system, or
add additional agent systems.
You can use system performance monitoring tools, such as Performance Monitor or
Task Manager in Windows 2000/2003, to determine system resource usage. See
Section 4.3.7, "Estimating Hardware" for additional information about using the Oracle
Load Testing Hardware Estimation tool.
■ Drop failed agents from session - when selected, the autopilot stops submitting
new users to the agent machine that had the failure if a virtual users fails to start
or is set to orphaned for any reason.
Note: If you have added the same profile to the scenario multiple
times, the databank settings for the first instance of the profile in the
scenario will apply to all instances of the profile in the scenario.
Databank Settings - this section specifies the settings to use for the selected
databank:
■ Advance to Next Record - specifies when the virtual user should advance to
the next databank record during script playback. The following options are
available:
– When Script Requests a Record - the databank record advances every
time a script explicitly requests a record during script playback. A record
request corresponds to the script Java code calling the
getDatabank(alias).getNextRecord() method. This is the default
behavior.
– Each Iteration of Script - the databank record advances before a script
containing the databank starts another playback iteration.
– Each Occurrence - the databank record advances when a script refers to a
databank column (i.e. databank field) in the script. A record request
corresponds to the script Java code evaluating a parameterized value such
as {{db.fmstocks_data.ticker}}. For example, if you have an employee
databank with a firstName field and the firstName column is specified as
the Column value in the OpenScript script, the databank record advances
only when the {{db.employees.firstName}} value in the script Java code
is evaluated on script playback.
– Keep the First Record Assigned - the databank record does not advance
once a virtual user gets a record from the databank, it uses that record
forever and never requests another record. This option applies to scenarios
running more than one virtual user. Virtual users may still request an
individual record using getRecord(n), getLastRecord(), or
getFirstRecord().
■ Select Next Record - specifies how a new record is selected from the databank
when the databank record advances. The following options are available:
– Sequentially - the databank records increment one by one in sequential
order from the start of the specified range. When multiple virtual users are
running, records are distributed in sequential order across all virtual users.
– Random - the databank records are selected at random from the databank.
The same record may be used multiple times before all records are
exhausted. Random record selection is only provided for databanks that
can be indexed. When configuring databank settings, if the databank file is
too large to index, the Random or Shuffle options may not be available.
The When Out of Records and Let Each User Iterate Over Records
Independently settings do not apply when Random is selected.
– Shuffle - the databank records are selected at random from the databank
ensuring that once a record is selected, it is never selected again. The
setting works similar to selecting a random card from a deck until no
cards are left. Shuffle mode only supports databanks containing fewer
than 200,000 records. For databanks containing more than 200,000 records,
you can shuffle the values in the actual data file or you should use the
Random mode.
– Use Seed - specifies a randomization seed value to use when using the
Random or Shuffle modes. Use the same seed across multiple tests to
create the same sequence of random numbers for all tests. If 0 or not
specified, a seed is generated automatically based on the current time.
■ When Out of Records - specifies the action the virtual user takes if all
databank records in the specified range have been used and a new record is
requested. The following options are available:
– Loop Over Range - loops back to the first record in the range after all
records in the range are used and continues distributing records. Use the
Maximum Iterations settings to prevent the virtual user from running
forever.
– Stop the User - the virtual user immediately stops running the next time a
record is requested from the databank after all records in the range are
used. The virtual user will stop regardless of how many iterations are
specified by the Maximum Iterations settings.
– Keep the Same Record - continues to use the last record requested after all
records in the range are used. No additional records are requested from
the databank. Any calls in the Java code to getNextDatabankRecord() are
ignored after all records are used. Custom Java code may be used in the
script to have Virtual users request an individual record using
getRecord(n), getLastRecord(), or getFirstRecord().
■ Let Each User Iterate Over Records Independently - when selected, each
Virtual User cursors through records independently. For example, VU 1 gets
records 1, 2, 3, [...] and VU 2 gets records 1, 2, 3, [...]. This option only applies
for scenarios running more than one virtual user.
This option only applies for databanks that can be indexed. When configuring
databank settings, if the databank file is too large to index, the Let Each User
Iterate Over Records Independently option may not be available.
7. Make sure the script or profile is selected in the tree view.
8. Use the arrow buttons to change the record data.
9. Click OK.
You define the IP addresses using the Advanced IP Addressing options of the TCP/IP
properties of the Network Protocols. On Windows NT systems, the Network Protocols
are accessed using the Control Panel, as follows:
The general procedure is as follows:
1. Open the TCP/IP Network Protocols.
2. In IP Address, select Specify an IP Address.
3. In the Advanced IP Address settings, add the IP Address and Subnet Mask.
4. Enter as many IP addresses/Subnet Masks as you have available for use by Oracle
Load Testing virtual users.
5. Repeat the above steps on each Oracle Load Testing Agent system.
6. In the Edit Scenario Details dialog box, set Use IP Spoofing to True in the Browser
Settings section.
7. Submit and Start the scenario in the Autopilot.
The virtual users on each Agent machine will use the defined IP addresses in the order
they were defined in the TCP/IP network protocols. For example the first virtual user
uses the first IP address (index value 0), the second virtual user uses the second IP
address (index value 1), and so on. If there are more virtual users than available IP
addresses, Oracle Load Testing loops back to the first IP address and goes through the
list of IP addresses repeatedly until all virtual have been assigned an IP address.
Oracle Load Testing automatically opens the Autopilot tab with the scenario loaded.
This chapter explains how to use the Autopilot to specify start and stop times for
scenario profiles and the rampup specifications for each virtual user. Default values
can be set by selecting Options from the Tools menu then select Autopilot Defaults.
Note: Changing the autopilot defaults does not affect the current
scenario. The changed autopilot defaults go into effect when you start
a new scenario.
Before you can use the Autopilot, you must first define virtual user profiles and
scenarios and submit the scenario profiles to the Autopilot. Chapter 4 explains how to
define virtual user profiles. Chapter 5 explains how to define scenarios and submit
them to the Autopilot.
5.2.2 Examples
Example: If you specify the percentage as 10% and the After every setting is set to
delay of 10 seconds, the Autopilot starts running ten percent of the virtual users
submitted to the Autopilot every ten seconds until all virtual users are running.
Example: If you specify the number as 5 and the After every setting is set to 1
iteration, the Autopilot starts running five virtual users after each run of the scenario
profiles until all virtual users are running.
Example: if you specify the iteration count as 1 and the Add per step setting is set to 5
users at a time, the Autopilot first starts five virtual users. After the first five complete
one iteration of the profile, the Autopilot starts another five virtual users. The
Autopilot starts five additional virtual user after each iteration until all virtual users
are running.
Example: If you specify the delay as 120 seconds and the Add per step setting is set to
10% percent seconds, the Autopilot starts running ten percent of the virtual users
every 120 seconds until all virtual users are running.
Note: The Autopilot starts running the virtual users based upon the
Start the load test settings and the Virtual User (VU) ramp-up
settings.
If you set the Start option to either At Specified Time or After Delay
Of, Oracle Load Testing displays the remaining time until the
Autopilot starts in the status bar.
2. Select the Sync Point that you want to release and click Release or click Release
All to release all Sync Points.
3. Click Close.
Oracle Load Testing lets you evaluate the performance of your Web application in real
time using Performance Statistics and graphs on the View Run Graphs tab. You can
create custom graphs on the Create Reports tab for post-run analysis for sessions
where data has been saved. The following default reports and graphs are available on
the View Run Graphs tab:
■ Performance Statistics - shows a summary of performance statistics data
generated by running virtual users.
■ Performance Vs. Users - shows the average run time of the script for each running
virtual user in each profile. If you have multiple profiles in the running Scenario,
the Performance Vs. Users graph shows separate bars for each scenario profile
running in the Autopilot. For example, if you run 100 VUs and ramp 10 at a time,
you will see the average response time plotted at 10 VUs, 20 VUs, 30 VUs, etc. up
to 100 VUs.
■ Users Vs. Time - shows the relative time when the virtual users for each profile
started running. The graph represents the Autopilot ramp up times and the
number of virtual users ramped up for each profile.
■ Performance Vs. Time - shows the average virtual user run time over a period of
time. If you have multiple profiles in the running Scenario the Performance Vs.
Time graph shows separate plot lines for each scenario profile running in the
Autopilot.
■ Statistics Vs. Time - shows averages for virtual user hits, pages, transactions, and
Kilobytes per second over time. The Average Statistic values are a graphical
representation of the Average Value data from the Performance Statistics over
time. The plot points are updated while the Autopilot runs the virtual users.
■ Errors Vs. Time - shows the number of failed transactions-per-second for virtual
user over a period of time. If you have multiple profiles in the running Scenario
the Errors Vs. Time graph shows separate plot lines for each scenario profile
running in the Autopilot. The failed transactions-per-second depends upon the
number of virtual users being run by individual profiles and the number of server
requests (page, image, frame, etc.) that fail during the Oracle Load Testing session.
■ Errors Vs. Users - the number of failed transactions-per-second for each virtual
user profile. If you have multiple profiles in the running Scenario the Errors Vs.
Users graph shows separate plot lines for each scenario profile running in the
Autopilot. The failed transactions-per-second depends upon the number of virtual
users being run by individual profiles and the number server requests (page,
image, frame, etc.) that fail during the Oracle Load Testing session.
The graph adds plot points based upon the number of running virtual users as the
Autopilot ramps up to the total number of virtual users for all scenario profiles.
■ Performance, Users vs. Time - this graph combines the Performance vs. Time and
the Users vs. Time graphs.
■ Trans/sec, Users vs. Time - this graph combines the transactions per second
statistic from the Statistics vs. Time graph and the Users vs. Time graph.
Note: For OpenScript scripts, steps run in the Initialize and Finish
sections do not contribute to the overall script execution time reported
in Oracle Load Testing reports. The time taken for the Initialize and
Finish sections are not included in the script times so as not to skew
the average time when the script runs for multiple iterations.
You can view the graphs while the virtual users are running or after they have been
stopped or have finished. The performance data is reported at the conclusion of each
iteration. When the running virtual users complete the first iteration, the first set of
performance data is captured. The graphs and performance statistics that you see are
updated in real time based on the Graph refresh interval setting in Reports Options to
give you a snapshot of the load test results. However, there is a small amount of
processing time required to generate the graphs/statistics and print them to the
screen. The default refresh is 15 seconds. If you run long or over night tests, you
should increase the refresh interval to 60 seconds or longer.
If you run a very quick Autopilot session, the View Run Graphs tab may not have
enough time to update the screen with the real time data. However, if you use the
Session Start/Stop options to save the data for reporting, the data is stored in the
database.
In addition to real-time data shown, Oracle Load Testing can generate a summary
report and save data to the database for post-testing analysis. The Latest Load Session
reports let you generate a summary of performance and error statistics data for the
virtual user session. You can use the Create Reports tab to generate a variety of reports
and graphs from the data stored in the database.
■ Maximum number of rows per page - specifies the maximum number of rows
to display on a page on the Watch VU Grid tab. The value must be between 10
and 100, inclusive.
VU Logs - the VU Logs options are as follows:
■ Maximum number of rows per page - specifies the maximum number of rows
per page to display in the VU logs The value must be between 10 and 100,
inclusive.
Performance Statistics and Session Report - specifies the default setting for
Performance Statistics and Session Reports, as follows:
■ Show Server Times Only - specifies that only server response time is included
in performance statistics and session reports.
■ Show End-to-End Times (include think times) - specifies that think time is
included in performance statistics and session reports.
Custom Graphs - the Custom Graphs option is as follows:
■ Maximum Data Series Per Graph - specifies the maximum number of data
series that can be graphed. The default is 20.
Report Template - the Report Template option is as follows:
■ Delete temporary images/data generated during report template - when
selected, any temporary images or data generated by report templates is
automatically deleted.
3. Enter the how often you want data to be collected in the Reporting data collection
interval field.
4. Enter the how often you want to refresh the user interface in the User interface
refresh interval field. This includes the VU grid, ServerStats Status Display, and
the Sync Point Status display.
5. Enter the how often you want to refresh the report display in the Graph refresh
interval field.
6. Specify how you want timer names to be displayed.
7. Specify whether to include think time in the profile time.
8. Specify the maximum number of data series to include per graph.
9. Click OK.
10. Start an Oracle Load Testing Autopilot session.
Reports & Graphs - displays options for creating a new graph and viewing default
graphs.
■ New Graph - displays a new tab with filters for customizing the graph. The tab
label is the name you enter in the Graph Name field in the Filters section.
■ Overview - shows a thumbnail view of all graphs. Click on a thumbnail to enlarge
it. The Overview tab includes the Default Graphs selector list and the Show Chart
Statistics button, as follows:
– Default Graphs - select a graph and click Add Data Series to view a default
graph.
– Show Chart Statistics - toggles the chart statistics table view on and off. The
chart statistics show the Data Series and values for each series.
■ Reports - displays the performance statistics for the session.
Custom graph tabs have the following options:
■ Remove Graph - the (X) button on the tab deletes the selected graph.
■ Session - displays the session that is running.
■ Available Data Series - shows a list of session data generated by Oracle Load
Testing and ServerStats. The data series listed is a subset of all of the available data
series. Click Show All to display all available data series.
Default Graphs - select a graph and click Add Data Series to view a default graph.
Oracle Database Diagnostics - groups a set of Oracle Database profile metrics on the
same graph. These metrics appear only if an Oracle Database ServerStats configuration
is used with the session run. The graphs and metrics are as follows:
■ PGA/SGA - groups "Program Global Area (PGA)", "Shared Global Area (SGA)"
and "Total Global Area" metrics.
■ CPU vs. DB Sessions - groups "Average active sessions on CPU", "CPU recursive
usage", and "CPU parse time usage" metrics.
■ Transaction Overview - groups "User login rates per second" and "User
Transaction Commit Rate" metrics.
■ DB Throughput - groups "Physical I/O per second" and "Physical I/O requests
total" metrics.
Session Counters - the counters that are available for the overall session.
<profiles> - the counters that are available for each Oracle Load Testing virtual user
profile.
■ Profile Nodes - list the counters for virtual user profiles available to include in the
report graphs. The profile is the name of the virtual user profile(s) that were run in
the Autopilot session. Select the counter(s) and click the Add Data Source button
or double-click to add counters to the Selected Data Series list.
■ Timer Nodes - list the page timers available to include in the report graphs. Timers
correspond to the individual pages of the script(s) run by the virtual user profile.
They allow you to view the performance of a specific page download within a test
run, allowing you to identify bottlenecks. The timer is the name of the virtual user
profile(s) that were run by the Autopilot session. The timers consist of the virtual
user profile name/Script name and the page number of the script. The timers are
added to the session data when you select the Auto generate timers for all
resources check box in Options from the Tools menu then selecting Scenario
Defaults. Select the timer(s) and click the arrow button or double-click with the
mouse to add timer(s) to the Selected Data Series list.
■ ServerStats Nodes - list the Oracle Load Testing ServerStats counters available to
include in the report graph. The ServerStats counters are based upon the data
source(s) and counters that were included in the ServerStats Data Source
configuration when the Oracle Load Testing session was run. Select the counter(s)
and click the Add Data Series button or double-click with the mouse to add
counter(s) to the Selected Data Series list.
ServerStats Monitors - shows the ServerStats counter configuration.
[>] Add Data Series - adds the selected data series to the graph. You can move the
mouse over a data series line in the graph to view details about specific data points in
the graph.
Show Legend - opens a view of the names and plot line color of each data series in the
graph. click a data series in the legend popup to show or hide plot lines in the graph.
Double click a data series in the legend popup to show/hide the y-axis scale on the
right side of the graph.
Show Chart Statistics - toggles the chart statistics table view on and off. The chart
statistics show the Data Series and values for each series.
Show Graph Options - opens the options for customizing, exporting, opening saved
queries, and saving queries.
Clear Graph - removes all data series from the graph.
Zoom - toggles the zoom tool on and off.
■ zoom in - click and drag a bounding box over the area of the graph. The zoom
indicator shows on the graph when zoomed in from full size.
■ zoom out - press and hold the Ctrl key and click the mouse button to zoom out
one step to the previous zoomed size. Press and hold the Ctrl key and double-click
the mouse button to zoom out to the full size.
■ Virtual Users with Errors - the number of virtual users with errors. Clicking the
link opens a Errors vs. Users graph in a new sub-tab.
■ Transactions Per Second - the number of times the virtual user played back the
script per second. Clicking the link opens a Trans/sec, Users vs. Time graph in a
new sub-tab.
■ Pages Per Second - the number of pages returned by the server per second. A
"page" consists of all of the resources (i.e. page HTML, all images, and all frames)
that make up a Web page. Clicking the link opens a Pages/sec, Users vs. Time
graph in a new sub-tab.
■ Hits Per Second - the number of resource requests to the server per second. Each
request for a page, individual images, and individual frames is counted as a "hit"
by Oracle Load Testing. If Oracle Load Testing does not request images from the
server (as specified in the Download Manager), images are not included in the hit
count. The Hits Per Second and Pages Per Second counts will be the same if
images are not requested and there are no frames in the page. Clicking the link
opens a Hits/sec, Users vs. Time graph in a new sub-tab.
■ Kilobytes Per Second - the number of kilobytes transferred between the server
and browser client per second. Clicking the link opens a KB/sec, Users vs. Time
graph in a new sub-tab.
<Session Name> Totals
■ Transactions - the total number of times the virtual user played back the virtual
user profile.
■ Transactions with Errors - the total number of virtual user profile iterations that
had errors.
■ Pages - the total number of number of OpenScript step groups in the script.
■ Hits - the total number of resource requests to the server.
■ Kilobytes - the total number of kilobytes transferred between the server and
browser client.
Performance by Profile and Timer - this section appears when the Detail Level is set
to Summary + Profile Timers or Full View.
■ <Profile Name> - the latest, minimum, maximum, and average performance for
the virtual user profile in seconds.
■ <Timer Name> - the latest, minimum, maximum, and average performance for
the server response timers in seconds. Server Response timers are added to scripts
using Oracle OpenScript.
■ Min - the minimum performance for the virtual user profile or server response
timer in seconds.
■ Max - the maximum performance for the virtual user profile or server response
timer in seconds.
■ Avg - the average performance for the virtual user profile or server response timer
in seconds.
■ Pass - the number that passed.
■ Fail - the number that failed.
■ Std Dev - the number of seconds that the performance of virtual user profiles or
server response timers deviated from the mean (average value).
■ 90th % - shows the number of seconds that the performance of ninety percent of
the virtual users or server response timers was at or below.
6. Click the Show Graph Options button to open the options for customizing,
exporting, opening saved queries, and saving queries.
Customize options - these options let you customize the current graph.
■ Graph Tab
– Graph Title - enter the name of the graph. This name is displayed in the
tab in the Reports & graphs section.
– Data Series - lists the data series contained in the graph. The (x) button
marks the Data Series for removal. Click the Apply button to Refresh the
graph and remove the selected Data Series.
– Data Series Name - displays the name of the data series that is displayed
when you place the mouse over the data series in the graph.
– Data Series Label - displays the label displayed in the legend.
■ X-Axis Tab
Scale - specifies the x-axis data range format. Changing the scale causes the
graph to be refreshed from the server.
– Absolute Time - when selected, the generated report tables and graphs
are based upon the actual start and end date and times of the
profile/timer.
– Relative Time - when selected, the generated report tables and graphs are
based upon relative time. Profiles/Timers are graphed from a shared zero
point. This option can be used to compare two or more metrics from
different sessions in the same scale.
– Users - when selected, the generated report tables and graphs are based
upon users.
Range Filter - specifies a filter for data coming from the server for a particular
session. For example, if a session has two hours of data and filter is set to get a
one hour time slice, the graph will only show the one hour time slice.
Alternatively, you can use the Graph Zoom feature to avoid having to reload
the data from the server. The Filter icon appears on the graph when the Range
filter is set.
– Manual - when selected, the Range Filter minimum and maximum values
are enabled. Edit the minimum and maximum values to specify the data
points slice to include in the new graph. Click Apply to generate a new
graph that includes only the data points between the minimum and
maximum values.
– Format - shows the Range format to use to filter the graph data. The
format is based upon the Scale setting.
– Minimum - enter the minimum X-axis value. This field is only available
when Manual is selected.
– Maximum - enter the maximum X-axis value. This field is only available
when Manual is selected.
Session Details
– Start Time - displays the date and time that the session started.
– End Time - displays the date and time that the session ended.
– Duration - displays the length of the session.
■ Y-Axis Tab
Scale - specifies the y-axis data range format. Changing the scale causes the
graph to be refreshed from the server.
– Linear - displays the Y-axis linearly.
– Logarithmic -displays the Y-axis logarithmically.
Threshold Line - displays a threshold line on the graph at the configured
location.
– Displays - when selected the threshold line will be included in the graph.
– Value - enter the value of the threshold line, that is, the point on the Y-axis
at which you want the line to be displayed.
– Label - enter the label to display in the legend.
7. Enter a name for the graph.
8. Select how to plot the graph in the X-Axis and Y-Axis tabs.
9. Click Apply. Each custom report is displayed under a separate tab so that you can
select the one you want to view. Click Remove Graph to delete the graph and its
tab.
You can create a new ServerStats chart to monitor any of the timers in the list during
the Load Test.
■ Export to CSV - opens the data in a separate browser window in comma separated
value format.
■ Print/Save HTML - opens the hardware estimation report in a separate browser
window. From there you can either print the report or save it in HTML format.
Custom graph tabs have the following options:
■ Remove Graph - deletes the selected graph.
■ Session - lets you select the session for which you want to view data series.
■ Available Data Series - shows a list of session data generated by Oracle Load
Testing and ServerStats. The data series listed is a subset of all of the available data
series. Click Show All to display all available data series.
■ Default Graphs - select a graph and click Add Data Series to view a default graph.
■ Oracle Database Diagnostics - groups a set of Oracle Database profile metrics on
the same graph. These metrics appear only if an Oracle Database ServerStats
configuration is used with the session run. The graphs and metrics are as follows:
– PGA/SGA - groups "Program Global Area (PGA)", "Shared Global Area
(SGA)" and "Total Global Area" metrics.
– CPU vs. DB Sessions - groups "Average active sessions on CPU",
name="Oracle: CPU recursive usage", and "CPU parse time usage" metrics.
– Transaction Overview - groups "User login rates per second" and "User
Transaction Commit Rate" metrics.
– DB Throughput - groups "Physical I/O per second" and "Physical I/O
requests total" metrics.
■ Session Counters - the counters that are available for the overall session.
■ <profiles> - the counters that are available for each Oracle Load Testing virtual
user profile.
– Profile Nodes - list the counters for virtual user profiles available to include in
the report graphs. The profile is the name of the virtual user profile(s) that
were run in the Autopilot session. Select the counter(s) and click the Add Data
Source button or double-click to add counters(s) to the Selected Data Series
list.
– Timer Nodes - list the page timers available to include in the report graphs.
Timers correspond to the individual pages of the script(s) run by the virtual
user profile. They allow you to view the performance of a specific page
download within a test run, allowing you to identify bottlenecks. The timer is
the name of the virtual user profile(s) that were run by the Autopilot session.
The timers consist of the virtual user profile name/Script name and the page
number of the script. The timers are added to the session data when you select
the Auto generate timers for all resources check box in Options from the Tools
menu then selecting Scenario Defaults. Select the timer(s) and click the arrow
button or double-click with the mouse to add timer(s) to the Selected Data
Series list.
– ServerStats Nodes - list the ServerStats counters available to include in the
report graph. The ServerStats counters are based upon the data source(s) and
counters that were included in the ServerStats Data Source configuration
when the Oracle Load Testing session was run. Select the counter(s) and click
the Add Data Series button or double-click with the mouse to add counter(s)
to the Selected Data Series list.
5. Click Open to open the file in Excel in CSV format. Click Save to save the file in
CSV format.
6. If you chose to save the file, the Save As dialog box is displayed. Enter a new name
for the file or accept the default, select the location to save to, and click Save.
Note: The Oracle Load Testing Server must have Microsoft Excel
installed to export to Excel format.
1. Create a report.
2. Click the Show Graph Options button on the right of the graph.
3. Select Export.
4. Select XLS format and click Export. The File Download dialog box is displayed.
5. Click Open to open the chart in Excel. Click Save to save the chart in Excel format.
6. If you choose to save the file, the Save As dialog box is displayed. Enter a name for
the file or accept the default, select the location to save the file, and click Save.
■ save a graph of a single session and apply it to a new session to create a new
graph.
■ save a graph of a baseline session and a run session and apply it to a new run
session to create a new graph with the original baseline.
■ save a graph of a single session and apply it to a new session and add the counters
to the current graph definition.
Clone - displays the Edit Graph Query dialog box with the configuration of the
selected query. This lets you copy the selected query and edit it to create a new
query.
Query Name - lists the existing queries.
2. Select the query you want to change and click Edit.
3. Make and changes and click OK.
4. Click Close to exit the Graph Query Manager dialog box.
Session data - select the session data that you want to display, session name,
overview, page data, or profile data. The generated data is comma-separated so
that you can easily convert it to a table by selecting Convert from the Table menu
then select Text to Table.
Custom code - this section can be used to create Java code using the methods that
are available in the Report Generator API. Documentation for this API can be
accessed from the online help table of contents.
Note: To move to the next line use CTRL-Enter not Enter. Enter exits
the dialog box.
2. Select the graph or session data that you want to display or enter custom code.
3. Click Insert. A field code is inserted into the document and it is displayed as a
comment. To edit the field code, select it, right-click on it and select Edit Field.
4. In the template, press Enter to move to the next line.
5. When you are finished creating the template, click Close to exit the Insert Oracle
Load Testing Reference dialog box.
6. Click Save from the File menu. Enter a name for the file and save it as file type .rtf.
The file can be saved to any location.
You can now import the file to Oracle Load Testing and start generating reports. To
import the file:
1. In Oracle Load Testing, select Import from the Tools menu.
2. In the Type field, select Report Template.
3. Click Browse.
4. Select the report template and click Open.
5. Click Import.
6. Click Close. The template will be listed on the Reports tab in the report list.
7. To generate a report, select the session, select the template, and click Generate. The
report is generated and displayed in Word.
Statistics are collected continuously during database operation and show statistics in
the form of a report called AWR Report for performance analysis. The AWR report
provides a detailed report of the statistics collected between two snapshots. The
snapshots do not have to be consecutive. Any period of time bordered by AWR
snapshots can be analyzed.
To create an AWR Report:
1. Create a load testing script in OpenScript (for example, "script1") against an
application using an Oracle Database.
2. Select Systems from the Manage menu and add a new Monitored System in
Oracle Load Testing (for example, "db1") corresponding to your application's
database server, and set the Database data source properties to that of the
database.
3. Create a ServerStats configuration (for example, "config1") and apply the Oracle
Database profile to it using "db1".
4. Add "script1" to an Oracle Load Testing scenario.
5. Apply "config1" to the scenario in the ServerStats Configuration of the Set up
Autopilot tab.
6. Click the Run button and select "Yes" to perform a baseline for oracle DB. After the
load test finishes, the "AWR Report" selection will appear in the selection list of the
Create Reports - Reports subtab.
7. Click the Create Reports tab.
8. Click the Reports tab.
9. Select the session for which you want to view the report from the Session option
list.
10. Select AWR Report from the Report option list.
Session Details - shows the date and time range details for he session data.
■ Session Start Time - shows the date and time when the session was started.
■ Session End Time - shows the date and time when the session ended.
■ Duration - shows the length of time the session was running.
4. Select the Custom option and set the minimum and maximum date and time
values to the time range to include in the report.
5. Click OK to generate a new report that include only the data between the
minimum and maximum date and times.
3. Click Delete to delete the session or click Delete Virtual User Logs to delete the
VU log only.
Caution: The raw data files generated during a load session can
increase in size rapidly causing file size and disk space issues on the
agent machine. A brief 15 minute load test session can produce files of
approximately 40MB. When running load test sessions with the
Persist Raw Data setting enabled, be sure to plan for file size and disk
space issues.
Note: The options for the first script in the session govern the
settings for same options for the other scripts in the same session
(even though user interface shows different values for the options in
different scripts).
All raw data files in the agent machine directories remain there and are not delivered
to the Oracle Load Testing controller, reconciled between the agents of the same
session, or manipulated in any way after the capture is complete. Management of the
raw data files must be performed manually.
The files are as follows:
■ counter_definitions.csv - for every session where the Persist Raw Data option
is enabled, for every agent where the session is running, every counter definition
will be saved in this CSV file. This file has the following fields:
– ID - a unique identifier for each counter definition record in the file.
– SOURCE_ID - the ID of the virtual user. For example, if a session is running 10
virtual users, there will be source IDs numbered 1 through 10.
– SESSION_NAME - the name of the load test session.
– PROFILE_NAME - the name of the profile run in the load test session.
– TIMER_NAME - the name of the Oracle Load Testing timer.
– COUNTER_NAME - the name of the Oracle Load Testing counter.
– AGGREGATION_TYPE_NAME - the aggregation type for each counter as
follows:
* 0, Current - the counter is a current value counter.
* 1, Cumulative - the counter is a cumulative value counter.
* 2, Average - the counter is an average value counter.
* 3, Min - the counter is a minimum value counter.
* 4, Max - the counter is a maximum value counter.
* 5, No data - the counter has no data.
* 6 Last - the counter is a last value counter.
– CONTROLLER_TIME_DELTA_MS - this is a time stamp offset value for
multiple agent machines. It is used to indicate the difference between time
stamps (AGENT_TME_MS) on different agent machines and the Oracle Load
Testing controller. For example if the controller has a time stamp of "1" and an
agent machine has a time stamp of 2, the delta would be 1. if another agent
machine has a timestamp of 3 the delta would be 2. Typically in milliseconds.
■ counter_data.csv - for every session where the Persist Raw Data option is
enabled, for every agent where the session is running, every counter value for
every counter will be saved in this CSV file.
There are some conditions in which all of the data is not captured for the particular
session. How quickly a session is shutdown may affect the raw data capture. This
file has the following fields:
– ID - corresponds to the Counter Definition ID in the counter_
definitions.csv file.
– AGENT_TIME_MS - a timestamp indicating the first time an agent starts
reporting. It indicates the time, in EPOCH time, when a session request
arrived on an agent.
– VALUE - the value for the counter. The AGGREGATION_TYPE_NAME
values in the counter_definitions.csv file specifies the type of value.
ID number(38):=0;
BEGIN
--dbms_output.put_line('before 1' || length(SessionName1)|| ' ' || SessionName1);
select sessionrunid into ID from sessionrun where sessionname =trim(SessionName1);
--dbms_output.put_line('end');
RETURN ID;
EXCEPTION
WHEN OTHERS THEN
-- DBMS_OUTPUT.put_line(sqlerrm);
-- dbms_output.put_line(dbms_utility.format_error_backtrace);
RETURN 0;
END GETSESSIONID;
/
Options (Skip = 1)
infile 'C:\OracleATS\oxe\app\oracle\product\10.2.0\server\BIN\counter_data.csv'
replace into table COUNTERRUN
fields terminated by "," OPTIONALLY ENCLOSED BY '"'
(
COUNTERHDRID,
COUNTERTS "new_time( to_date('01011970', 'ddmmyyyy') + 1/24/60/60 *
:COUNTERTS/1000, 'GMT', 'GMT')",
COUNTERVAL
)
The virtual user logs lets you monitor the progress of virtual users as they are running
or view errors as they occur.
The following is a summary of the virtual user logs features:
■ View virtual user playback as pages are accessed and displayed;
■ View only selected virtual user pages;
■ View only pages with errors.
Manual Display - The VU log stays on the selected page and does not go to the next
page; however, it continues to collect pages.
Refresh On - Allows the viewer to collect new pages that are being accessed by the
virtual user.
Refresh Off - Stops the viewer from accepting new pages being accessed by the virtual
user.
Navigate to First Page - Displays the first page in the log.
Navigate to Previous Page - Navigates to the previous page in the log.
Navigate to Next Page - Navigates to the next page in the log.
Navigate to Last Page - Displays the last page of the log.
[View Buttons] - Selects the view to display: Summary view, Summary by VU view, or
All Logs view.
Filter - Displays and hides the filter pane on the main screen. The filter fields
corresponds to the table columns and can be used to enter particular values to filter
the tabular data based upon specified values.
Details/Content - Displays or hides a text area used to display the contents of
messages. You can only select a button if it is enabled. Only one can be selected at a
time. If neither button is selected, the text area is hidden.
The Details button shows a text report that contains all the values of fields of the
currently selected row in the particular view's table.
The Content button shows any message associated with a log entry. For example a
message with type ResponseContent is associated with the full response content
received by the agent. A message with type Parameter substitution is associated with a
string specifying all the parameter/value pairs. Any messages with contents are
shown in the contents pane.
Level/Threshold - The level selector filters the tabular data to the selected levels. If
Threshold is cleared, only the messages of the selected levels will be shown. If
Threshold is selected, all the messages of the selected level and the levels of higher
priority are shown.
This chapter describes the how to import and export files to and from the server, how
to manage the Oracle Load Testing database, and how to select the database to use.
■ Name - enter the name of the database This name appears in the Database
selection lists for Oracle Test Manager and as the ODBC Data Source name.
■ Description - enter any description text to identify the database.
■ Host - enter the host name of the machine on which the database server is
running.
■ Port - enter the port number that you want to communicate with. If you are
running multiple instances of the database on the same host, specify the port
number you want to communicate with.
■ SID - enter the System Identifier for the Oracle database.
■ User name - enter the login user name for the database.
■ Password - enter the login password for the database.
5. Enter the database information.
6. Click Save.
7. If creating a new schema, enter the password for both the Administrator and
default accounts and click OK.
8. Click Close.
9. Either restart the computer or restart the Oracle Application Testing Suite
Application service by going to the Control Panel Administrative Tools and open
Services and restart the Oracle Application Testing Suite Application Service.
where:
userid= specifies the username/password of the user performing the export.
owner= specifies the schema name to export ("oats", "olt", "otm").
file= specifies the file name to which the schema will be exported.
log= specifies the log file name to save any warnings or errors that may have
occurred during export.
For additional parameter information, type exp help=y at the command prompt.
Example:
exp userid=system/oracle owner=olt file=olt.dmp log=olt.log statistics=none
where:
userid= specifies the username/password of the user performing the import.
fromuser= specifies a list of owner usernames. This parameter enables you to
import a subset of schemas from an export file containing multiple schemas.
touser= specifies a list of usernames whose schemas will be targets for import.
file= specifies the name of the exported dump file. For example, Exportfile.dmp.
log= specifies the log file name to save any warnings or errors that may have
occurred during import.
For additional parameter information, type imp help=y at the command prompt.
Example:
imp userid=system/oracle fromuser=olt touser=tempuser file=olt.dmp log=t.log
5. Add the new database to the Oracle Application Testing Suite using the Oracle
Application Testing Suite Database Configuration utility. See Section 8.1.1,
"Adding an Oracle Database" for additional information.
3. Grant read and write permissions to the users who will be performing the data
pump import. Note: before granting following permission please log in as sys as
sysdba (different user than logged in user and should be logged in as dba)
SQL> grant read, write on directory test to system, user1, user2, user3;
File Type - select the type of file you want to export from the Oracle Load Testing
server to the local machine.
This chapter describes the how to work with Oracle Load Testing session data. The
following session actions are available:
■ Attach to and detach from sessions that are running on the Oracle Load Testing
server. This enables a tester to share real-time test results and to collaborate with
team members during testing.
■ Export specific session data from and import session data to any Oracle Load
Testing instance. This enable users to share session data stored on one instance of
Oracle Load Testing with other users running another instance of Oracle Load
testing without having to export and import an entire Oracle Load Testing
database. The user importing the session data can then generate reports for the
data using their own Oracle Load Testing instance.
All the Database related data is stored in /Session Data/db/. The db folder contains
comma-separated-value (.csv) files which represent corresponding tables and their
session related data in the database. Each .csv file contains the column names as their
first row and the values on subsequent lines. All the .csv files are encoded in UTF-8
format.
2. Select OLT Session Data as the Type. The File To Import list shows the list of
sessions stored in the current Oracle Load Testing instance database.
3. Click Browse in the File To Import section and select the session .osd file to
import and click Open.
4. Click Import. The Session Import Wizard shows the session details.
Session Details - shows the details for the data included in the .osd file being
imported, as follows:
■ Name - shows the name of the load testing session.
■ Start Time - shows the date and time the session started.
■ End Time - shows the date and time the session ended.
■ Machine - shows the name of the machine on which the session ran.
■ VUDisplay Data - shows if Oracle Load Testing virtual user logs data is
included in the session data.osd file being imported or not. Yes indicates the
.osd file includes virtual user logs data. No indicates the .osd file does not
include virtual user logs data.
■ ADDM/AWR Data - shows if Automatic Database Diagnostic Monitor
(ADDM) Report and Automatic Workload Repository (AWR) Report data is
included in the session data.osd file being imported or not. Yes indicates the
.osd file includes ADDM/AWR data. No indicates the .osd file does not
include ADDM/AWR data.
■ Counter Definitions - shows the number of counter definitions included in the
in the session data.
■ Counter Values - shows the number of counter values included in the session
data.
5. Click Next. The Session Import Wizard shows the session name details.
Original Session Name - shows the name of the session that was exported from
the original Oracle L.oad Testing instance. This session name will be the name of
the session as it was exported from the original Oracle Load Testing instance
regardless of the .osd file name.
New Session Name - provides a text box for renaming the session being imported
(optional). The default is the original session name.
<Session List> - shows the sessions already in the current Oracle Load Testing
instance.
6. Optionally specify a new session name and click Import. If you attempt to import
a session with the same name as a session that already exists in the Session List, a
Confirm message appears asking if you wish to overwrite the existing session.
Select Yes to import and overwrite or No to cancel.
7. Click OK when the Info box appears indicating the import was successful. The
imported session will now appear in the Session Lists of the current Oracle Load
Testing instance.
8. Click the Create Reports tab and select the imported session name to generate
reports from the session data.
This appendix lists the Internet status codes that can be returned in a response by a
server.
201 Created
The request has been fulfilled and resulted in a new resource being created.
202 Accepted
The request has been accepted for processing, but the processing has not been
completed.
204 No Content
The server has fulfilled the request but does not need to return new information.
401 Unauthorized
The requested resource requires user authentication.
403 Forbidden
The server understood the request, but is refusing to fulfill it.
409 Conflict
The request could not be completed due to a conflict with the current state of the
resource. The user should resolve the conflict and resubmit the request.
410 Gone
The requested resource is no longer available at the server and no forwarding address
is known.
12002 Timeout
The request has timed out.
12012 Shutdown
The Win32 Internet function support is being shut down or unloaded.
12024 No Context
An asynchronous request could not be made because a zero context value was
supplied.
12025 No Callback
An asynchronous request could not be made because a callback function has not been
set.
12034 Need UI
A user interface or other blocking operation has been requested.
12045Invalid CA
A server SSL certificate was issued by an unknown or invalid certificate authority.
12163 Disconnected
The Internet connection has been lost.
This appendix lists the error messages that can be generated by Oracle Load Testing
and possible remedies.
4. If the Oracle Load Testing and Agent systems are not participating in the Domain
security model, both the Oracle Load Testing and the Agent systems must log in as
Administrator and have the exact same password.
5. From the Oracle Load Testing system, try mapping a drive on each of the Agent
systems using Windows Explorer. Depending on how your network is setup, the
Oracle Load Testing systems may not be allowed to start up processes on the
Agent systems. The easiest way around this is to map a drive to the Agent system
in order to authenticate with Windows.
6. In the Oracle Load Testing system, add a script to the Configure Parameters of the
Scenario list. Add the Agent system on which you want to run the script using the
Systems Manager, then select the system from the System field on the Build
Scenarios tab.
This error may also indicate a problem with Registry entries for Oracle Application
Testing Suite components. Try uninstalling and reinstalling the Oracle Application
Testing Suite. If reinstalling does not fix the problem, contact Customer Support.
Failed to find
Oracle Load Testing is unable to find the navigation between two pages recorded to
the script. These errors can occur in Oracle Load Testing for a variety of reasons, even
if the script played back correctly in Oracle OpenScript. Oracle OpenScript uses a thick
client browser mode exclusively when recording and playing back scripts.
Typically, "failed to find" errors are related to dynamically generated HREFs recorded
to a script that is played back in Oracle Load Testing. For example HREFs containing:
■ session information
■ inline JavaScript
■ other dynamically changed attributes
may cause "failed to find" errors in Oracle Load Testing depending upon the specific
techniques used for links in the Web page source and Oracle Load Testing current
settings.
If you experience "failed to find" errors in Oracle Load Testing, try running the
Scenario/Script with one Virtual User. If the Scenario/Script runs in Oracle Load
Testing, it will be possible to run small load tests with that Scenario/Script.
To resolve "failed to find" errors, contact Customer Support for assistance with
adjusting Oracle Load Testing settings for your specific situation. Note that the
solution to one "failed to find" situation may not resolve other "failed to find"
situations. You should contact Customer Support every time you encounter a "failed to
find" error that you cannot resolve.
Failed to match...
Oracle Load Testing found the navigation path (an internal representation of a clicked
link that Oracle OpenScript records to the script) between two pages recorded to the
script, but was unable to match one or more partial components of the navigation
path.
"failed to match" errors are also related to dynamically generated HREFs recorded to a
script that is played back in Oracle Load Testing.
To resolve "failed to match" errors, contact Customer Support for assistance with
adjusting Oracle Load Testing settings for your specific situation. Note that the
solution to one "failed to match" situation may not resolve other "failed to match"
situations. You should contact Customer Support every time you encounter a "failed to
match" error that you cannot resolve.
License Error
You are using more VUs than you have licensed. Select About from the Help menu to
view the number of licenses that you have.
2. Make sure that the Oracle Application Testing Suite Application Service is
running: go to Services on that machine and check for "Oracle Application Testing
Suite Application Service is started".
3. Stop and Start the server.
4. Go to <installdir>\logs directory and look at AdminServer log file to see if there
are any exceptions indicating the nature of the problem, for example, the machine
is disconnected from the network, etc.
1. Open Services from the Administrative Tools in the Windows Control Panel. and
stop the Oracle Application Testing Suite Application Service.
2. Delete everything in the
<installdir>\oats\servers\AdminServer\data\store\default directory.
3. Restart the Oracle Application Testing Suite Application Service.
Additional items to check:
■ Make sure the service is bounded into the correct IP address if there are multiple
NICs. Type ipconfig/all in a command prompt to see how many interfaces you
have.
If the problem continues, contact Customer Support.
Ds.dcStartupFailed
This error occurs if Agent Manager was unable to launch the DC process. This may
happen when the remote data collection machine does not have data collectors
installed. Verify that the software is installed correctly by checking for the presence of
the DataCollector directory in the install tree and that the executables are there.
Ds.dcStartError
This error occurs if the remote data collection server has trouble communicating with
Agent Manager. This may be caused by the following:
■ Agent Manager is not running - verify that the Oracle Load Testing Agent Service
is running and start it, if necessary.
■ Remote Data Collection machine does not have data collectors installed - Verify
that the software is installed correctly by checking for the presence of the
DataCollector directory in the install tree and that the executables are there.
Ds.dcNotAvailable
This occurs most often if the DC was started, but is unable to communicate with the
RDCS, or if the DC took more than the timeout interval to contact the RDCS. This may
be caused by the following:
■ DC machine is slow - extend the timeout interval. The data collector startup
timeout is controlled on the RDCS by the
oracle.datacollector.startup.timeout=90000 in the oracle.properties file.
■ DC and RDCS disagree on the port number for communication - the DC
determines the port number of the RDCS from
DataCollector\bin\hwmagent.txt:SERVER localhost:7073. The RDSC port number
is assigned in oracle.properties:oracle.port.dataCollector=7073.
errorCreatingDSClient
This occurs if the server has problems communicating with the RDCS. If the server
and RDCS are the same, this error should not occur. It can be caused by the following:
■ RDCS is not running - verify that the Oracle Application Testing Suite Application
Service is running on the DC machine.
■ Basic network connectivity between the server and RDCS - check that the basic
network connectivity between the server and RDCS. If there is a firewall between
them, ports may need to be opened or, if the firewall uses NAT, it may not work at
all.
This appendix lists the parameters for running Oracle Load Testing scenarios from the
command line.
To run Oracle Load Testing scenarios from the command line, type:
[OATS Install Dir]/jdk/bin/java -jar OLTCommandLine.jar -command
-option=value -option=value [...]
-option may consist of any number of Oracle Load Testing command line settings.
Required arguments are specified based upon the command and are case-insensitive
unless otherwise specified.
■ If many settings are required, use the -property setting to specify a file containing
a larger number of properties. See the -property setting in the Run Settings for
additional information.
C.2.1 Commands
The following table lists commands used for Oracle Load Testing command line
execution. The options include the General Settings and any command-specific
additional options.
Command Description
-addagent -[options] Adds an Oracle Load Testing agent using the
specified options. You can verify that the agent is
been added to the systems manager by selecting
Systems from the Manage menu then selecting VU
Agent Systems in the Oracle Load Testing UI. See the
AddAgent Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -addagent -agentname=Cloud_
Agent1 -agenthostnameorip=mysystem.example.com
-agentpassword=mypass123
-OLTServer=localhost:8088 -user=oats
-password=mypass123
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -importandrun
-scenarioFile="Path_of_scenariozip"
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -repository=Default
-target=Cloud_Agent1 -session=mysessionname
Command Description
-addagentgroup -[options] Adds an Oracle Load Testing agent group using the
specified options. You can verify that the agent group
has been added to the systems manager by selecting
Systems from the Manage menu then selecting VU
Agent Systems in the Oracle Load Testing UI. See the
AddAgentGroup Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -addagentgroup
-agentgroupname=myagentgroup
-systems="agent1;agent2" -OLTServer=
localhost:8088 -user=oats –password=mypass123
-getdbconfig -[options] Gets the database configuration information.
username is the db username ('sysman' by default) &
password is the database password. OLTServer may
be any machine that has the Oracle Load Testing
controller installed. This command returns the
currently configured database-related information in
XML format, for example:
<DBConfig name="Default OLT
Database"><description>description
text</description><DBConnect type="Oracle"
string="jdbc:oracle:thin:@//localhost:1521/XE"
acct="OLT"></DBConnect></DBConfig>
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -getdbconfig –OLTServer=
localhost:8088 -user=oats -password=mypass123
-export -[options] Exports the specified scenario to a scenario .scnzip
file. See the Export and Import Settings for additional
options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar export
-scenarioFile=c:/OracleATS/OFT/myTest.scn
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -repository=Default
-workspace=myfolder
-import -[options] Imports the specified scenario .scnzip file. See the
Export and Import Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -import
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -repository=Default
-scenarioFile=c:/OracleATS/OFT/myTest.scnzip
Command Description
-importandrun -[options] Imports the specified scenario .scnzip file and runs
the scenario.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -importandrun
-scenarioFile=c:/OracleATS/myTest.scnzip
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -repository=Default
-report -[options] Generates a session report for the specified session.
See the Report Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -report
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -session=mysession001
-thinkTime=false -filterDateMin="3/19/2013
08:00:00" -filterDateMax="3/19/2013 15:30:00"
-log= C:/OracleATS/OFT/Default/mylog.log
-localFile=c:/myreport.htm
-run -[options] Runs the selected scenario until the command line
stop command is issued, the specified command line
stopat condition is reached, or the stop conditions
specified in the scenario are reached. See the Run
Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -run
-scenarioFile="C:/OracleATS/OFT/Default/myTest
.scn" -OLTServer=localhost:8088 -user=oats
-password=mypass123 -log=
C:/OracleATS/OFT/Default/mylog.log
-status -[options] Returns the current Oracle Load Testing session
status in the following format:
-1: session not found
0: session complete
1: session running
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -status
-OLTServer=localhost:8088 -user=oats
-password=mypass123 -session=mySession
Command Description
-stop -[options] Shuts down the specified session. The Stop command
is not required if the specified Scenario being run has
a Stop condition of some defined time or number of
iterations saved in the Autopilot settings. You can not
use both "-Run" and "-Stop" in the same command.
See the Stop Settings for additional options.
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -stop
-session="SESSION0001"
-OLTServer=localhost:8088 -user=oats
-password=mypass123
-version -[options] Gets the current Oracle Load Testing version in XML
format, for example:
OLT Version is <OLTVersion
version="xx.x.x.x.xxx"></OLTVersion>
Example usage:
cd /OracleATS/lib
c:/OracleATS/jdk/bin/java -jar
OLTCommandLine.jar -version
-OLTServer=localhost:8088 -user=oats
-password=mypass123
Setting Description
-OLTServer=servername:port Specify the name and port number of the Oracle
Load Testing server. The default port is 8088.
Example usage:
-OLTServer=localhost:8088
-user=oats Specify the user name for the Oracle Load Testing
server. The required username is "oats".
Example usage:
-user=oats
-password=password Specify the password. The password is the password
defined during the Oracle Application Testing Suite
installation process.
Example usage:
-password=mypass123
Setting Description
-agentname=agentname Specify the name of the Oracle Load Testing agent.
Example usage:
-agentname=Cloud_agent1
-agenthostnameorip=nameorIp Specify the host name or IP address of the Oracle
Load Testing agent.
Example usage:
-agenthostnameorip=mysystem.example.com
-agentpassword=password Specify the password to use for the Oracle Load
Testing agent.
Example usage:
-agentpassword=mypass123
Setting Description
-agentgroupname=name Specify a name for the Oracle Load Testing agent
group.
Example usage:
-agentgroupname=myagentgroup
-systems=name1;name2;name_n Specify the names of the Oracle Load Testing agents.
Agents names are seperated by semi-colon (;) in the
-systems option.
Example usage:
-systems="agent1;agent2"
Setting Description
-localFile=localFile (Export only.) Specify a name to use for the exported
Oracle Load Testing scenario file.
Example usage:
-localFile=myFile.scnzip
-log=logfile Optional. Specify the path and file name of a log file.
Example usage:
-log=c:/OracleATS/OFT/mylog.txt
-repository=repositoryName Specify a name for the Oracle Load Testing
repository.
Example usage:
-repository=Default
Setting Description
-scenarioFile=scenarioFile Specify the path and name of the Oracle Load Testing
scenario (.scn) file to import or export.
Example usage:
-scenarioFile="c:/OracleATS/OFT/Default/test1.
scn"
-workspace=workspaceName Optional. Specify a name for an Oracle Load Testing
workspace folder.
Example usage:
-workspace=myFolder
Setting Description
-localFile=localFile Specify a name to use for the generated Oracle Load
Testing session report.
Example usage:
-localFile=mySessionReport.html
-log=logfile Optional. Specify the path and file name of a log file.
Example usage:
-log=c:/OracleATS/OFT/mylog.txt
-session=sessionName Specify the name of the session to use to generate the
report.
Example usage:
-session=mysession001
-thinkTime=true|false Optional. Specify if think times are included in the
session report. When true, only Server Times are
included in the report. When false, End-to-End
Times are included in trhe report (includes "Think
Times"). The default is true.
Example usage:
-thinkTime=false
-filterDateMin=M/d/yyyy HH:mm:ss Optional. Specify the minimum date to use to filter
the report data.
Example usage:
-filterDateMin="3/19/2013 08:00:00"
-filterDateMax=M/d/yyyy HH:mm:ss Optional. Specify the maximum date to use to filter
the report data.
Example usage:
-filterDateMax="3/19/2013 015:30:00"
Setting Description
-property=propertyFile Specify the file path to a properties file listing only
the command line -user and -password arguments
in name=value pair format.
The format in the property file is:
name=value
For example:
user=oats
password=mypass123
Example usage:
-property=c:/OLTRun.properties
-scenarioFile=scenarioFile Specify the path and name of the Oracle Load Testing
scenario (.scn) file to run.
Example usage:
-scenarioFile="c:/OracleATS/OFT/Default/test1.
scn"
-session=sessionName Optional. Specify a name to use for the Oracle Load
Testing session. If not specified, a session name is
automatically assigned. Session names that are
automatically assigned can be located on the console
or in the log file specified using the -log option.
Example usage:
-session=MySession001
-log=logfile Optional. Specify the path and file name of a log file.
Example usage:
-log=c:/OracleATS/OFT/mylog.txt
-useCloud Required if using a Cloud agent. Indicates the Oracle
Load Testing scenario will be run on an Oracle
Enterprise Manager Cloud. Specify the additional
required and optional cloud run settings.
Example usage:
-useCloud
-cloudEmHost=EM Host Required if using a Cloud agent. Specify the name of
the Oracle Enterprise Manager Cloud host machine.
Example usage:
-cloudEmHost=mycloud.example.com
-cloudEmPort=EM Port Required if using a Cloud agent. Specify the port
used for the Oracle Enterprise Manager Cloud.
Example usage:
-cloudEmPort=17061
-cloudEmUsername=EM Username Required if using a Cloud agent. Specify the user
name used for the Oracle Enterprise Manager Cloud.
Example usage:
-cloudEmUsername=myEMusername
Setting Description
-cloudEmPassword=EM Password Required if using a Cloud agent. Specify the
password used for the Oracle Enterprise Manager
Cloud.
Example usage:
-cloudEmPassword=myEMpassword
-cloudAssembly=Assembly Name Required if using a Cloud agent. Specify the
assembly name used for the Oracle Enterprise
Manager Cloud.
Example usage:
-cloudAssembly=assemblyName
-cloudZone=Zone Name Required if using a Cloud agent. Specify the zone
name used for the Oracle Enterprise Manager Cloud.
Example usage:
-cloudZone=zoneName
-cloudPlan=DeploymentPlan Required if using a Cloud agent. Specify the
deployment plan used for the Oracle Enterprise
Manager Cloud.
Example usage:
-cloudPlan=myDelpoymentPlanName
-cloudNetwork=Network Name Required if using a Cloud agent. Specify the network
name used for the Oracle Enterprise Manager Cloud.
Example usage:
-cloudNetwork=myNetworkName
-cloudInitial=Initial Agent Count Optional if using a Cloud agent. Specify the initial
agent count to use when running scenarios in the
Oracle Enterprise Manager Cloud. The default is 3.
Example usage:
-cloudInitial=2
-cloudMinimum=Minimum Free Agent Optional if using a Cloud agent. Specify the
Count minimum free agent count to use when running
scenarios in the Oracle Enterprise Manager Cloud.
The default is 0.
Example usage:
-cloudMinimum=1
-cloudMaximum=Maximum Free Agent Optional if using a Cloud agent. Specify the
Count maximum free agent count to use when running
scenarios in the Oracle Enterprise Manager Cloud.
The default is 10.
Example usage:
-cloudMaximum=5
-cloudIncrement=Cloud Agent Optional if using a Cloud agent. Specify the agent
Increment increment to use when running scenarios in the
Oracle Enterprise Manager Cloud. The default is 2.
Example usage:
-cloudIncrement=1
Setting Description
-cloudPrefix=Agent Prefix Optional if using a Cloud agent. Specify the agent
prefix string to use when running scenarios in the
Oracle Enterprise Manager Cloud. The default is
"OLT".
Example usage:
-cloudPrefix=myOLT
-cloudSystemCpuMax=System CPU Optional if using a Cloud agent. Specify the
threshold percentage of CPU to use as the agent threshold
when running scenarios in the Oracle Enterprise
Manager Cloud. The default is 70%.
Example usage:
-cloudSystemCpuMax=65
-cloudSystemMemFreeMin=System Free Optional if using a Cloud agent. Specify the amount
Memory threshold of free memory to use as the agent threshold when
running scenarios in the Oracle Enterprise Manager
Cloud. The default is 200MB.
Example usage:
-cloudSystemMemFreeMin=195
-groupdatapercent=% users Optional. Specify the percentage of Virtual Users to
rampup on the rampup trigger when running
scenarios. Used with a ramptriggerafter setting.
Example usage:
-groupdatapercent=5
-groupdatanumber=# users Optional. Specify the number of Virtual Users to
rampup on the rampup trigger when running
scenarios. Used with a ramptriggerafter setting.
Example usage:
-groupdatanumber=2
-iteration=# iterations Optional. Specify the number of iterations to run
when running scenarios.
Example usage:
-iteration=2
-ramptriggerafteriterations=# Optional. Specify the number of iterations to use as
iterations the VU rampup trigger when running scenarios.
Used with the iteration setting.
Example usage:
-ramptriggerafteriterations=2
-ramptriggerafterseconds=# seconds Optional. Specify the number of seconds to use as the
VU rampup trigger when running scenarios. Used
with a groupdata setting.
Example usage:
-ramptriggerafterseconds=2
-ReplaceURLs=urlA=urlB Optional. Specify the URLs to replace within scripts
when running scenarios.
Example usage:
-ReplaceURLs=abc:7011=def:7011
Setting Description
-stopatdelay=# seconds Optional. Specify the number of seconds to run when
running scenarios. This setting overrides any stop
controls defined in the scenario file.
Example usage:
-stopatdelay=500
-stopattime=hh:mm:ss Optional. Specify the hour, minute, and second to use
as the stop time when running scenarios. This setting
overrides any stop controls defined in the scenario
file.
Example usage:
-stopattime=10:30:00
-scriptname Optional. Specify a script within a scenario to run.
Optionally specify the target agent to use for the
-scriptname[.target=target]
specified script(s) and/or the Virtual User count for
-scriptname[.VUCount=count] the specified script(s) when running scenarios. Use
double quotation marks if spaces are used the script
name.
If target is not specified, Oracle Load Testing will
use the target agents(s) saved in the scenario file.
VUCount is case sensitive. If VUCount is not specified,
Oracle Load Testing will use the VU count(s) saved
in the scenario file.
Example usages:
-SimpleTest
-SimpleTest.VUCount=5
-"Simple Test".target=Cloud_Agent
-"Simple Test".VUCount=2
-target=target Optional. Specify the target agent to use when
running scenarios. The target agent will be applied to
all scripts in the scenario.
Example usage:
-target=OLTServer
-VUCount=count Optional. Specify the Virtual User count to use when
running scenarios. The Virtual User count will be
applied to all scripts in the scenario. VUCount is case
sensitive.
Example usage:
-VUCount=10
Setting Description
-session=sessionName Specify the name of the session. If not specified, the
status of the currently running session is returned in
the following format:
-1: session not found
0: session complete
1: session running
Example usage:
-session=Session0001
Setting Description
-log=logfile Optional. Specify the path and file name of a log file.
Example usage:
-log=c:/OracleATS/OFT/mylog.txt
-session=sessionName Optional. Specify the name of the session to stop. If
not specified, the currently running session is
stopped.
Example usage:
-session=Session0001
Numerics agents
configuring, 3-5
4GT feature error handling, 4-18
enabling, 3-15 installing, 3-4
terminating, 4-18
A verifying network access, 3-5
All Logs view, 7-3
Abort All Virtual Users toolbar button, 3-21
All users in scenario setting, 4-22
About menu option, 3-21
analysis reports
Absolute Time setting, 6-8
generating, 2-11
Accept String setting, 3-47, 4-7
application service messages, B-4
Acceptable failure rate
Application stability
defining test criteria, 2-7
defining test process, 2-6
Acceptable response time under various loads
Architecture Validation, 2-2
defining test criteria, 2-7
Attach menu option, 3-20
Acceptance and Scalability Fine Tuning, 2-2
Auto assign session name setting, 4-18
Acceptance environment
Auto Generate Timers For All Pages setting, 3-45
defining test process, 2-6
Auto Generate Timers For All Resources
Active Virtual Users, 6-5
setting, 3-45, 4-5, 4-14
Add Data Series button, 6-5, 6-7, 6-13
Auto Generate Timers For All Step Groups
Add to Autopilot button, 4-26
setting, 3-45, 4-5, 4-14
Additional Arguments setting, 3-49, 4-8, 4-15
Auto Mode toolbar button, 7-1
ADDM reports, 6-20
Automatic Database Diagnostic Monitor
ADDM/AWR Data, 6-22
reports, 6-20
Administrator, 3-16
Automatic Workload Repository reports, 6-20
adding users, 3-18
Automatically (when page is out of date) setting, 4-4
auditing usage, 3-19
Autopilot
deleting users, 3-19
defaults, 3-52
editing users, 3-18
pausing, 3-21, 5-6
Help menu options, 3-17
setting rampup, 5-2
logging in, 3-17
setting start and stop, 5-1
Logout menu option, 3-17
starting, 5-3
restoring users, 3-19
starting and stopping manually, 5-3
starting, 3-16
stopping, 5-3
Tools menu options, 3-17
using, 5-1
Usage Audit tab, 3-18
AWR reports, 6-20
Users tab, 3-17
Administrator Access
enabling, 3-18 B
Advance to Next Record setting, 4-20 basics, 3-1
Advanced settings, 3-46, 4-6, 4-14 Binary Decoding Error setting, 3-49, 4-9, 4-16
advantages, 1-2 Browser Additional Arguments setting, 3-43, 4-12
Agent error Browser Emulation setting, 3-43, 4-3
dropping failed agents, 4-19 Browser options
stopping rampup, 4-18 setting, 3-41
Agent error handling setting, 4-18 Browser Path Override setting, 3-43, 4-12
Index-1
Browser Settings, 3-43, 4-3, 4-12 D
Browser Type setting, 3-43, 4-12
data collectors
Browsers to simulate
adding, 3-27
defining test criteria, 2-7
startup errors, B-9
Build Scenarios tab, 3-21
data counters
using, 6-10
C Data Driven Tests, 2-8
Cache Download Pages setting, 3-44, 4-3 Data Series Label setting, 6-8
Call Function Failed setting, 3-49, 4-9, 4-16 Data Series list, 6-8
Cannot Open Scenario, B-6 Data Series Name setting, 6-8
Categories of users Data Sources, 3-31
defining test criteria, 2-7 Databank Configuration settings, 3-51, 4-11, 4-17
Child Script Failed setting, 3-49, 4-9, 4-16 Databanks
Clear Cache After Iteration setting, 4-4 configuring, 4-19
Clear Cache Before Playback setting, 3-52, 4-17 using the control, 4-19
Clear Cache Between Iterations setting, 3-52, 4-17 databanks
Clear Graph button, 6-5, 6-13 advance records settings, 4-20
Clear Persistent Cookies Before Playback next record settings, 4-20
setting, 3-52, 4-17 out of records settings, 4-21
Clear Session Cookies Before Playback setting, 3-52, settings, 4-20
4-17 database
Clear Session Cookies Between Iterations deleting session data, 6-22
setting, 3-52, 4-17 exporting files, 8-5
Clear toolbar button, 7-1 importing files, 8-5
Client Certificate Keystore Error setting, 3-50, 4-10 managing, 8-1
Cloud services, 3-25 purging records, 3-17
adding configurations, 3-38 selecting, 8-2
command line settings, C-1 unlocking records, 3-17
AddAgent, C-5, C-7 Database Name or Database SID setting, 3-33, 3-36
AddAgentGroup, C-6 databases
commands, C-2 deleting, 8-2
export/import, C-6 exporting and importing, 8-3
General, C-5 migrating data, 8-3
proxy settings, C-2 removing, 8-2
Run, C-7 updating, 8-3
specifying, C-1 Databases menu option, 3-21
status, C-11 DB Throughput graph, 6-4
stop, C-12 default administrator account, 3-2, 3-16
Command Prompt setting, 3-34 defining systems, 3-25
Community String setting, 3-34, 3-36 Delay Between Business Transaction Runs, 2-7, 2-9
Components Deployment environment
discovering, 3-35 defining test process, 2-6
starting SNMP, 3-12 Detach menu option, 3-20
CONFIG.encap file, 3-12 Detail Level options, 6-5
CONFIG.master file, 3-12 Development Engineers and Architecture
Configurations menu option, 3-20 Groups, 2-5
Connect String setting, 3-33, 3-36 Discover Components, 3-31
Connection Idle Timeout setting, 3-46, 4-6 Download Local Files setting, 3-48, 4-7
Connection Speed Emulation setting, 3-44, 4-3 Driver setting, 3-32, 3-36
Contents menu option, 3-21 Driver String setting, 3-32, 3-36
CPU vs. DB Sessions graph, 6-4 Drop failed agents from session setting, 4-19
Create Reports tab, 3-24, 6-11 Duration details, 6-8
Create Variable Fail setting, 3-49, 4-9, 4-15
Criteria for Each Business Transactions E
defining test criteria, 2-7
Each Iteration of Script setting, 4-20
CSV data
Each Occurrence setting, 4-20
exporting, 6-14
Edit Scenario Details button, 4-19
Custom Browsers, 3-41
E-mail notification
Custom Graphs setting, 6-3
enabling, 3-18
Index-2
Enable Cookies setting, 3-44, 4-4 preconditions, 3-2
Enable Deflate setting, 3-47, 4-7 scenario settings, 4-11
Enable GZIP setting, 3-47, 4-7
Enable Keep Alive setting, 3-47, 4-7
G
Enable Logging setting, 3-44, 4-4, 4-13, 5-6
encap_peer component, 3-12 General options settings, 3-53
Encrypted Scripts Global Headers setting, 3-48, 4-8
requirements, 3-3 Gopher API Error codes, A-8
specifying passwords, 4-2 Graph refresh interval setting, 3-24, 6-2
Encrypting/Decrypting Failed setting, 3-49, 4-9, 4-16 Graph Title setting, 6-8
Encryption Service not Initialized setting, 3-49, 4-9, graphs
4-16 creating, 6-13
End Time details, 6-8 Errors Vs. Time graph, 6-1, 6-10
Enterprise Manager server, 3-32 Errors Vs. Users graph, 6-1, 6-9
Enterprise Manager URL setting, 3-32 exporting data, 6-13
error codes, A-1 exporting images, 6-13
viewing, B-1 exporting to CSV file, 6-11, 6-12
Error Handling settings, 3-46, 4-5, 4-14 exporting to Excel, 6-15
error messages, B-1 exporting to JPG, 6-15
application service, B-4 exporting to PNG, 6-15
cannot open scenario, B-6 load test, 6-7
server not initialized, B-4 Oracle Database Diagnostics, 6-4
unable to start agent session, B-6 Performance Vs. Time graph, 6-1, 6-9
unable to start session, B-5 Performance Vs. Users graph, 6-1, 6-9
Errors Vs. Time graph, 6-1, 6-10 setting maximum data series, 6-3
Errors Vs. Users graph, 6-1, 6-9 setting options, 6-8
Event Timeout settings, 3-52 setting refresh interval, 6-2
Every visit to the page setting, 4-4 showing chart statistics, 6-7
Excel files Statistics Vs. Time graph, 6-1, 6-10
exporting, 6-15 Users Vs. Time graph, 6-1, 6-10
Execute User Defined Tests setting, 3-44, 4-4 using, 6-1
Export File menu option, 3-21 working with queries, 6-15
exporting graphs, 6-14 Graphs menu option, 3-21
Extensibility settings, 3-44, 4-4 Group type setting, 4-22
F H
failed to find error messages, B-2 Hardware
failed to match error messages, B-2 estimating, 4-25
failed to open error messages, B-3 Hardware Allocation
Failure codes, A-2 defining test process, 2-6
features, 1-1 Hardware Estimation menu option, 3-21
file management, 8-1 Hardware Estimation reports, 6-19
File Not Found setting, 3-49, 4-9, 4-15 generating, 4-26
filters Help menu, 3-21
using, 6-21 Hits Per Second statistics, 6-6
Firefox browser, 3-3 Host setting, 3-33, 3-36
firewall considerations, 3-3 HTML Parsing Error setting, 3-49, 4-10
Forms Action Timeout setting, 3-52 HTML Test Failed setting, 3-50, 4-16
Forms Component not Found setting, 3-50, 4-10 HTTP
Forms Connect Error setting, 3-50, 4-10 defining test criteria, 2-7
Forms Content Match Failed setting, 3-50, 4-10 HTTP API Error codes, A-9
Forms I/O Communication Error setting, 3-50, 4-10 HTTP Version setting, 3-47, 4-7
Forms LT Playback settings, 3-51, 4-11
Forms Playback Error setting, 3-50, 4-10 I
Forms Response Timeout setting, 3-52
Forms Startup Timeout setting, 3-52 IBM WebSphere server, 3-33
FTP API Error codes, A-8 Ignore HTTP Proxy Settings setting, 3-46, 4-6
functional test scripts Ignored Url setting, 3-48, 4-8
default settings, 3-42 Ignored URLs that Match Regex setting, 3-48
images
Index-3
using in tests, 2-9 Load to be Simulated
Import File menu option, 3-21 defining test criteria, 2-7
Information codes, A-1 Logarithmic scale setting, 6-9
installing, 3-1 Logged Messages setting, 3-44, 4-4, 4-13, 5-6
agents, 3-4 Logging Tools, 2-4
Linux agent, 3-6 Login, 3-6
Oracle Load Testing, 3-1 Logout, 3-21
Instance setting, 3-33, 3-36 Loop Over Range setting, 4-21
Integration and Acceptance Organizations, 2-5
Internet codes, A-4
M
Internet error codes, A-4
Internet Explorer browser, 3-3 Main Window
Internet Status codes, A-1 Build Scenarios, 3-21
introduction, 1-1, 2-1 features, 3-19
Invalid HTTP Response setting, 3-50, 4-10 Manage Default Reports menu option, 3-17
Invalid URL setting, 3-50, 4-10 Manage menu, 3-21
IP spoofing Manual Display toolbar button, 7-2
using, 4-22 Manual range filter, 6-8
ipaddr field, 3-12 master_peer component, 3-12
Iteration Delay setting, 3-43 Max Content Download Size setting, 3-48, 4-8
Max Number of Keep Alive Requests setting, 3-48,
4-7
J Maximum HTTP Connections Per User setting, 3-46,
Java Client Preferences settings, 3-46, 4-6, 4-14 4-6
JMX monitors Maximum In-Memory Cache Size setting, 4-4
configuring, 3-28 Maximum JVM Heap Size (MB) setting, 3-47, 4-6,
JPG files 4-15
exporting, 6-15 Maximum number of rows per page setting, 6-3
JVM Heap settings Maximum range filter, 6-8
changing, 3-14 Maximum Users Per Process setting, 3-46, 4-6
changing on Linux, 3-15 Memory
guidelines, 3-14 determining requirements, 2-4
limitations, 3-15 Menu options
Abort, 5-5
About, 3-21
K Attach, 3-20
Keep the Same Record setting, 4-21 Autopilot Defaults, 5-1
Key Store File Name setting, 3-34 Configurations, 3-20
Key Store Password setting, 3-34 Contents, 3-21
Kilobytes Per Second statistics, 6-6 Databases, 3-21
Detach, 3-20
L Export File, 3-21
Graphs, 3-21
Language setting, 3-47, 4-7 Hardware Estimation, 3-21
Let Each User Iterate Over Records Independently Import File, 3-21
setting, 4-21 Manage Default Reports, 3-17
Linear scale setting, 6-9 Metric Profiles, 3-20
Linux agent Metrics, 3-20
installing, 3-6 Modify Run Attributes, 5-5
Load Distribution Capability, 2-4 New, 3-20
load test scenarios Open, 3-20
creating, 2-9 Options, 3-20
planning, 2-8 overview, 3-19
verifying, 2-9 Purge Deleted Records, 3-17
load testing Release Sync, 5-5
criteria for, 2-7 Save, 3-20
goals of, 2-1 Save As, 3-20
phases of, 2-2 Scenarios, 3-21
planning for, 2-1 ServerStats Display, 3-20
process, 2-6 Sessions, 3-21
load testing problems, B-6
Index-4
Setup E-mail Config, 3-17 repository, 3-41
Stop, 3-20, 5-5 scenario defaults, 3-42
Sync Point Status, 3-21 session profiles, 3-53
Systems, 3-21 session start and stop, 3-53
Terminate Idle Agents, 3-20 setting, 3-41
Unlock Locked Records, 3-17 Options menu option, 3-20
View Cloud Agents, 3-21 Oracle Application Testing Suite Application Service
VU Logs, 3-20 stopping, 3-16
Message Delivery setting, 3-44, 4-4, 4-13, 5-6 Oracle Database
Metric Profiles menu option, 3-20 creating tables in, 6-25
Metrics menu option, 3-20 Oracle Database setting, 3-32, 3-35
migrate data between databases, 8-3 Oracle Forms Error setting, 3-51, 4-16
Minimum range filter, 6-8 Oracle Functional Testing, 2-3
Modify Run attributes, 5-6 Oracle Load Testing, 2-3
monitored systems, 3-25 advantages of, 1-2
adding, 3-28, 3-31 Oracle Load Testing Agent Authentication
Monitoring and Operations Groups, 2-5 Manager, 3-16
Oracle Load Testing Agent Service, 3-5
Oracle Load Testing Server Settings options, 3-53
N Oracle Load Testing ServerStats, 2-4
Navigate toolbar buttons, 7-2 Oracle SNMP server, 3-11
New menu option, 3-20 configuring encapsulator, 3-12
New Scenario toolbar button, 3-21 configuring master agent, 3-12
NEW_SNMPD_PORT, 3-12 starting SNMP components, 3-12
NEW_TRAPD_PORT, 3-12 verifying start_peer script, 3-12
No Delay setting, 3-43, 4-3, 4-12 Oracle Thin JDBC Driver, 3-32, 3-35
Non Proxy Hosts setting, 3-47, 4-6 Other System Monitoring Tools, 2-4
Number of Business Transactions to Simulate Overall Transactions-Per-Second Throughput
defining test criteria, 2-7 Required, 2-8
Number of Users, 2-9
P
O Pacing mode, 2-9
Object Download Errors Are Fatal setting, 3-46 defining test criteria, 2-7
Object Not Found setting, 3-50, 4-16 Pages
Object Test Failed setting, 3-50, 4-16 returned by server, 6-6
Object Test setting, 3-45, 4-14 Pages Per Second statistics, 6-6
Object Timeout setting, 4-14 Password setting, 3-33
OLT Server Warnings button, 5-4, 5-6 Pause Autopilot toolbar button, 3-21
On Error Stop Virtual User setting, 3-46, 4-5, 4-14 PEER master agent, 3-12
Open gate time setting, 4-22 Perfmon authentication, 3-34, 3-36
Open menu option, 3-20 Perform baseline for Oracle DB setting, 4-27
Open Scenario toolbar button, 3-21 Performance Benchmarking, 2-2
Open VU Log toolbar button, 7-1 Performance Data Logging, 2-8
OpenScript Download Manager settings, 3-51, 4-10 Performance Monitoring, 2-2
OpenScript Error Recovery settings, 4-9 Performance Problems During the Load Test, B-7
Cache and Cookies, 3-52, 4-17 Performance Regression, 2-2
Forms Load Test, 3-50 Performance Statistics, 6-1, 6-5
Functional test, 3-50, 4-16 Performance Vs. Time graph, 6-1
General, 3-49, 4-9, 4-10, 4-15 Performance Vs. Users graph, 6-1, 6-9
Oracle Forms Functional test, 3-51, 4-16 Performance, Users vs. Time graph, 6-2
Web Functional test, 3-50, 4-16 Persist Raw Data setting, 3-46, 4-6, 4-14
Operating System Personnel
determining requirements, 2-4 defining test process, 2-6
Operating System setting, 3-34 PGA/SGA graph, 6-4
options Playback Failed setting, 3-50, 4-16
Autopilot defaults, 3-52 PNG files
Browser, 3-41 exporting, 6-15
general, 3-53 Polling interval for network status check
reporting, 3-53, 6-2 setting, 3-53
Index-5
popup blockers, 3-3 Remote Username setting, 3-34
port Render HTML toolbar button, 7-1
changing, 3-13 Replace URLs setting, 3-48, 4-8, 4-15
Port setting, 3-33, 3-36 Report Counters setting, 3-46, 4-6, 4-15
preferences Report Sender Interval setting, 3-46, 4-6, 4-15
setting, 3-41 report template
Preserve Connections Between Iterations deleting temporary images/data, 6-3
setting, 3-47, 4-7 Report Template setting, 6-3
Preserve Cookies Between Iterations setting, 3-48, Reporting data collection interval setting, 6-2
4-7 Reporting options, 3-53
Preserve Variables Between Iterations setting, 3-48, Reporting settings, 3-45
4-7, 4-15 reports
Processor Create Reports tab, 6-11
determining requirements, 2-4 creating custom graph and session list, 6-18
profiles creating templates, 6-17
selecting, 4-1 exporting to CSV data, 6-14
Proxy Host setting, 3-47, 4-6 exporting to Excel files, 6-15
Proxy Port setting, 3-47, 4-6 exporting to JPG files, 6-15
Purge Deleted Records menu option, 3-17 exporting to PNG files, 6-15
generating, 2-11
generating summary reports, 6-19
Q including think time, 6-3
Quality Assurance Organizations, 2-5 managing default, 3-17
queries, 6-15 performance statistics, 6-5
deleting, 6-17 scenario summary, 6-19
editing, 6-16 session summary, 6-19
running saved queries, 6-16 setting options, 4-5, 4-14, 6-2
saving, 6-16 using, 6-1
viewing, 6-13
R repositories
adding, 3-9
Rampup Specification, 5-2 repository options, 3-41
Random setting, 3-43, 4-3, 4-12 Request Timeout setting, 3-46, 4-6
Randomly setting, 4-20 Required Applications
Range Filter settings, 6-8 defining test process, 2-6
Range Format, 6-8 Resolution Size setting, 3-44, 4-13
Raw Data Response Time Error setting, 3-49, 3-50, 4-10, 4-16
example counter definition file, 6-26 Restart Application Service setting, 3-53
Raw data RSWISERV errors, B-3
creating database tables, 6-25 Rules of Thumb, 2-4
enabling collection, 6-23 Run Test button, 4-27, 5-3
example command file, 6-25 Running users setting, 4-22
example counter data control file, 6-26 Run-Time Data, 2-8
importing CSV files, 6-25 runtime reports
using, 6-23 viewing, 6-7
working with data files, 6-23
Recorded setting, 3-43, 4-3, 4-12
Recorded/Random setting, 3-43 S
Recorded/Rnd setting, 4-3, 4-12 Save as CSV toolbar button, 7-1
Redirection codes, A-2 Save As menu option, 3-20
Refresh Off toolbar button, 7-2 Save menu option, 3-20
Refresh On toolbar button, 7-2 Save Scenario toolbar button, 3-21
Relative Time setting, 6-8 scalability tests
Release trigger setting, 4-22 planning, 2-8
releasing Scenario Default options, 3-42
synchronization points, 5-5 Scenario menu, 3-20
Virtual Users, 5-5 Scenario reports, 6-19
Remote Password setting, 3-34 scenarios
Remote Port setting, 3-34 defining, 4-1
Remote Protocol setting, 3-34 deleting, 4-24
Index-6
estimating hardware, 4-25 Show Chart Statistics button, 6-5, 6-7, 6-13
opening existing, 4-24 Show End-to-End Times option, 6-5
removing profiles, 4-25 Show Graph Options button, 6-5, 6-8, 6-13
renaming, 4-24 Show Legend button, 6-5, 6-7, 6-13
running from command line, 4-25 Show Server Times Only option, 6-5
saving, 4-23 Shuffle setting, 4-20
specifying profile attributes, 4-2 SID setting, 8-2
submitting to Autopilot, 4-26 SNMP Agent
using synchronization points, 4-21 enabling on startup, 3-11
working with files, 4-23 starting, 3-11
Scenarios menu option, 3-21 stopping, 3-11
Scheduling SNMP Community String setting, 3-34
defining test process, 2-6 SNMP server, 3-10
scripts SNMP Version setting, 3-36
creating, 2-9 snmpd component, 3-12
Segment Parser Error setting, 3-49, 4-9, 4-15 Socket Timeout setting, 3-46, 4-5
Select Next Record setting, 4-20 Solaris SNMP Server, 3-10
Sequentially setting, 4-20 Solve Variable Fail setting, 3-49, 4-10
Server Error codes, A-4 Solve Variable Failed setting, 3-50, 4-16
Server not initialized, B-4, B-5 SQL Database setting, 3-32, 3-35
Server Status codes, A-1 SSL
Server Type setting, 3-33 defining test criteria, 2-7
Server Warnings using, 3-13
viewing, 5-6 SSL Version setting, 3-48, 4-8
servers Start Load Test toolbar button, 3-21
Oracle SNMP server, 3-11 Start Time details, 6-8
setting up, 3-10 start_peer script, 3-12
Solaris SNMP server, 3-10 Statistics Vs. Time graph, 6-1, 6-10
ServerStats Status Bar Test Error setting, 3-51, 4-16
data collectors, 3-25 Stop All Virtual Users toolbar button, 3-21
data counters, 6-10 Stop Application Service setting, 3-53
Oracle SNMP server, 3-11 Stop attached session after browser closes
page timers, 6-10 setting, 4-18
setting up servers, 3-10 Stop menu option, 3-20
Solaris SNMP, 3-11 Stop ramp-up on agent error setting, 4-18
ServerStats Configuration, 3-23 Stop Remaining Iterations on Failure setting, 3-46,
ServerStats Display menu option, 3-20 4-5, 4-14
ServerStats menu, 3-20 Stop session on last VU completion setting, 4-18
ServerStats Monitors options, 3-53 Stop the User setting, 4-21
Session Details, 6-8 Submitted Scenario Profiles, 3-23
Session menu, 3-20 Success codes, A-1
Session Name Prefix setting, 4-18 Summary by VU view, 7-3
Session Profile options, 3-53 summary reports, 6-19
Session reports, 6-19 Summary view, 7-2
using filters, 6-21 Sun JDBC
Session Start and Stop options, 3-53, 4-18 ODBC Bridge Driver, 3-32, 3-35
sessions support files, B-4
attaching to, 9-1 creating, 3-16
defining how to end, 4-18 Synchronization points
defining how to start, 4-18 naming, 4-22
deleting, 6-22 synchronization points
detaching from, 9-1 adding to profiles, 4-21
exporting data, 9-2 managing, 5-5
importing data, 9-2 releasing, 5-5
managing, 4-18 using, 4-21
viewing performance statistics, 6-5 System Identifier setting, 8-2
working with, 9-1 System Monitoring Tools, 2-4
Sessions menu option, 3-21 system requirements
Set Up Autopilot tab, 3-23 functional test scripts, 3-2
Setup E-mail Config menu option, 3-17 systems
Index-7
adding new groups, 3-27 Username setting, 3-33
adding to groups, 3-27 users
defining, 3-25 adding, 3-18
deleting, 3-41 deleting, 3-19
editing, 3-41 editing, 3-18
renaming, 3-40 number of, 2-9
Systems Manager, 3-24 restoring, 3-19
Systems Manager., 3-6 types of, 2-8
Systems Manager options, 3-53 Users setting, 6-8
Systems menu option, 3-21 Users Vs. Time graph, 6-1, 6-10
T V
Table Test Failed setting, 3-50, 4-16 Validate hostname/ip when user adds a system
Table Test setting, 3-45, 4-14 setting, 3-53
TCP/IP Properties, 4-22 Validate monitors when user adds or modifies a
templates monitor setting, 3-53
creating, 6-17 Variable Not Found setting, 3-49, 4-9, 4-16
Terminate all agents at end of session setting, 4-18 View Run Graphs tab, 3-24, 6-3
Terminate Idle Agents menu option, 3-20 View Text toolbar button, 7-1
test execution Virtual Agent authentication, 3-34
verifying on multiple machines, 2-10 Virtual User profiles
test results selecting, 4-1
evaluating, 2-11 Virtual User scenarios
Testing Environment defining, 4-1
defining test process, 2-6 specifying profile attributes, 4-2
tests Virtual Users
executing, 2-10 aborting all, 5-6
Text Match Fail setting, 3-49, 4-10 controlling, 5-4
Text Matching Failed setting, 3-50, 4-16 determining how many, 4-17
Threshold Line settings, 6-9 modifying run attributes, 5-6
Throughput Required, 2-8 pacing, 3-22
Timing and event controls, 3-23 pausing, 5-6
Title Test Failed setting, 3-50, 4-16 releasing, 5-5
Toolbar, 3-21, 7-1 selecting scenarios, 4-1
Tools menu, 3-16, 3-20 specifying how many, 5-2
Transaction Overview graph, 6-4 specifying rampup, 5-2
Transactions Per Second statistics, 6-6 specifying start time, 5-1
Transactions statistics, 6-6 specifying stop time, 5-2
Transactions to Perform, 2-8 stopping all, 5-6
Transactions with Errors statistics, 6-6 synchronizing start up, 5-1
Trans/sec, Users vs. Time graph, 6-2 using the display, 7-1
Trust Store File Name setting, 3-34 using the grid, 5-4
Trust Store Password setting, 3-34 verifying multiple, 2-9
Type of Error Handling, 2-8 with Errors statistics, 6-6
Type of Transaction, 2-8 working with, 5-4
Type of User, 2-8 VU Agent System Groups, 3-24
Types of Business Transactions to be Simulated VU Agent Systems, 3-24
defining test criteria, 2-7 adding, 3-26
changing port settings, 3-4
VU Logs
U auto display interval setting, 6-2
Unable to Start Agent Session, B-6 exit codes, B-8
Unexpected Agent Exit in the VU Grid, B-8 main window, 7-1
Unexpected Script Error setting, 3-49, 4-9, 4-16 menu option, 3-20
Unlock Database Records menu option, 3-17 opening log files, 7-3
Use Data Bank setting, 3-43, 4-3, 4-12, 4-19 saving log files, 7-4
Use IP Spoofing setting, 3-44, 4-4, 4-23 setting options, 3-44, 4-4, 4-13
User Agent String, 3-41 starting, 7-1
User Interface refresh interval setting, 6-2 toolbar, 7-1
Index-8
using, 7-1
VU Pacing (Think Time) setting, 3-43, 4-3, 4-12
W
Wait for Page Timeout setting, 3-50, 4-16
Watch VU Grid tab, 3-23
web server port, 3-13
Web-Based Interface, 1-2
WebLogic, 3-28
Weblogic patch, 3-15
WebSphere, 3-29
When Oracle Load Testing Server IP address changes
setting, 3-53
When Out of Records setting, 4-21
When Script Requests a Record setting, 4-20
X
X-Axis Scale settings, 6-8
XML Test Failed setting, 3-50, 4-16
XML Test setting, 3-45, 4-14
Y
Y-Axis Scale settings, 6-9
Z
Zero Downloads Fatal setting, 3-50, 4-10
Zoom tool, 6-5, 6-13
Index-9
Index-10