Installation Guide
Release 12.4.0.2
E55188-01
July 2014
This document explains the installation procedures for the Oracle Application Testing Suite.
Caution:
The machines where the OpenScript product is installed should be strictly used for testing. The security features of the browsers have been disabled on this machine to enable recording and playback operations. The browsers cannot be used for secure browsing.Note:
The user should have privileges to create, remove, and change files in all subdirectories of JREs with JRE 1.6.45+ and from 7u21 to 7u45 (excluding).For example, C:\program files (x86)\java\jre7
and its subdirectory or subdirectories.
If you have any questions or problems, please contact our support group at http://www.oracle.com/support/index.html
.
This document has the following sections:
You can install Oracle Application Testing Suite from the product download zip file.
From the Oracle Web site: http://www.oracle.com/technetwork/oem/app-test/index.html
Select and download the Oracle Application Testing Suite zip file(s) from the web site and save it to a temporary directory on your hard disk.
oats-full-version.zip: Full installation plus all prerequisites (Oracle Application Testing Suite, Product documentation PDF files, WebLogic Server 11gR1 (10.3.3) developer edition, Oracle Database Express Edition 10.3.2.4, Oracle Instant Client 11.1.0.7.0, .NET Framework 2.0, Eclipse 3.4.1, Sun JRE 1.6.0_07, Oracle JRockit 4.0.0.1.6.0.R28)
oats-micro-version.zip: Oracle Application Testing Suite and product documentation PDF files without prerequisites. For new installations or upgrading a previous release. If upgrading from a version older than 9.1, use the Complete Install.
ose-quick-install-version.zip: Oracle OpenScript only installation.
oats-docs-version.zip: Oracle Application Testing Suite documentation PDF files.
Unzip the downloaded file and run the setup.bat
file for Oracle Application Testing Suite. Run install-openscript.bat
to run the OpenScript only installation. The OpenScript only installer does not support "upgrade" installation (i.e. installing "over" a previous install). In order to reinstall OpenScript only, you must first uninstall any existing OpenScript installation. See Uninstalling the Applications from Windows Machines and Step 4: Remove Environment Variable and Browser Properties File for additional information.
Note:
Important: Windows Vista, 2008 or Windows 7 users, select Run as Administrator from the right-click shortcut menu. This is required process for the Operating Systems that have User Account Control (UAC) enabled.Follow the setup instructions to install the Oracle Application Testing Suite or Oracle OpenScript only application.
During the installation for Oracle Application Testing Suite you will be asked to provide a master password. Remember this password. The master password specified during installation is used to set all of the following user passwords:
Oracle Test Manager users "default" and "administrator".
Oracle Load Testing users "default" and "administrator".
User "JMSAdmin" used for Oracle Load Testing agent to controller authentication.
User "oats" for Weblogic Server - this is a Weblogic superuser.
User "oats-agent" in Weblogic Server for JMS communication between agent and controller - this is not a Weblogic superuser.
Database users "oats", "olt", "otm".
Database users (XE's defaults) "system" or "sys".
Note:
When installing Oracle Application Testing Suite server components on a machine that:has no previous version of Oracle Application Testing Suite installed, AND
has Oracle Enterprise Edition database installed,
make sure to choose the "Custom Installation" option and specify the connection credentials for your Oracle Enterprise Edition database. If you choose "Complete Installation", Oracle Application Testing Suite will install Oracle XE database, which may not run properly alongside Oracle Enterprise Edition database on the same machine.
The above installation procedure for Oracle Application Testing Suite setup.bat in oats-full-version.zip installs the applications, database, and Web server. If during the installation procedure you select the Do nothing, I will configure Oracle Application Testing Suite later (advanced) option you will need to manually create the database schema.
If there is no database installed and you will not be using a remote database, you will need to install Oracle XE or EE on the local machine. Install an Oracle Database or acquire the hostname, port, instance, and credentials for an existing one.
If WebLogic Server is not installed on the local machine, you must download Weblogic 11gR1P2 (10.3.5) from download.oracle.com and install it. Install Weblogic 11gR1P2 (10.3.5) on your local machine or acquire the location on your local machine of a Weblogic instance of the same version.
To manually configure Weblogic and create the database schema:
Create the following environment variables:
WL_HOME=The location of your Weblogic home (typically C:\Oracle\Middleware\wls if it was installed with default options).
MW_HOME=The location of your Weblogic root folder (typically C:\Oracle\Middleware if it was installed with default options).
WLS_PW=Your master password. This will be used to set your admin password for Weblogic, as well as to create your Default and Administrator accounts in Oracle Load Testing and Oracle Test Manager.
DB_HOST=The location of your database.
DB_NAME=The name of the database that Oracle Application Testing Suite will use. For XE installations, the name is typically XE. For EE installation this will depend on your installation settings.
DB_PORT=The port of your database (typically 1521).
DB_USER=The admin user of your database (typically "system"),
DB_PASS=The password of the database user.
DB_URL=jdbc:oracle:thin:@//<
hostname
>:<
port
>/<
servicename
>
Run <installdir>\bin\install.bat
. This will delete your previous OATS domain, if any, and recreate it. (If the install is fresh you do not need to run this .bat file.)
Change to directory %OATS_HOME%\bin
and issue the following commands (in order):
initConfig dbsetup config_ds unpack storeUser installSvc restartSvc "OracleATSServer" deploy %OATS_HOME%\install\oats.ear config_sec
Validate your installation by going to http://localhost:8088/olt and verify that you can successfully login (i.e. with credentials Default/master password) and use the product.
To uninstall the Oracle Application Testing Suite applications:
Select Uninstall Oracle Application Testing Suite from the Oracle Application Testing Suite Start menu.
Select OATS in the tree.
Click Remove.
To uninstall the Oracle OpenScript only application:
Select Uninstall OpenScript from the Tools submenu of the Oracle Application Testing Suite Start menu.
See Preparing for a "Clean" Installation for additional information.
Oracle Application Testing Suite server components (Oracle Load Test/Oracle Test Manager) and Agent components (Oracle Load Test agent/Data Collector) can be installed on Linux via a separate installer; however Oracle OpenScript is Windows only. Oracle Application Testing Suite components have been tested with Oracle Enterprise Linux 5.1 64 bit, 5.2 64 bit, 4u8 64 bit. Note that Data Sources (Perfmon, Ping, COM+, and the SSH version of Virtual Agent) cannot be used on a Linux Data Collector.
The Oracle Application Testing Suite Linux installer is based on the Oracle Universal Installer (OUI) which requires UI based access. To install the Oracle Application Testing Suite server components on Linux you will need to access XTerm. XTerm, most typically, can be accessed over VNC.
The Oracle Application Testing Suite installer requires a working instance of Oracle XE or Oracle EE database. If you have not installed and configured an Oracle XE or Oracle EE database, install and configure an Oracle XE or EE database before installing the Oracle Application Testing Suite server components.
Note:
See the Oracle® Database Installation Guide <Release> for Linux in the Oracle Database Documentation Library for additional information about installing Oracle EE databases.http://www.oracle.com/technetwork/indexes/documentation/index.html
To install an Oracle XE database:
Open a terminal window and install XE database, as follows:
sudo rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
A progress bar displays during the installation which is followed by the final message: You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
Configure the database, as follows:
sudo /etc/init.d/oracle-xe configure
When prompted, enter a password for database accounts. Enter: oracle.
For the remainder of the configuration, click Enter to accept the default values for most common use-cases.
From the Oracle Web site: http://www.oracle.com/technetwork/oem/app-test/index.html
Select and download the Oracle Application Testing Suite zip file(s) from the web site and save it to a temporary directory on your hard disk.
oats-docs-version.zip: Oracle Application Testing Suite documentation PDF files.
oats-linux64-full-version.zip: Full Linux installation plus WebLogic Server for 64-Bit machines.
oats-linux64-micro-version.zip: Linux installation without prerequisites for 64-Bit machines.
oats-linux-full-version.zip: Full Linux installation plus Weblogic Server for 32-Bit machines.
oats-linux-micro-version.zip: Linux installation without prerequisites for 32-Bit machines.
Be sure to install an XE or Oracle EE database before the ATS install. See Installing Oracle XE or EE Database.
Unzip the downloaded file for the Oracle Application Testing Suite.
Enter the installation folder where you unzipped the download file.
Set appropriate permissions for the installation shell script to execute, as follows:
chmod u+rwx,g+rx,o+x setup.sh
Edit the installation Shell script setup.sh
and change ORACLE_HOME to any designated location under your scratch folder (for example: /scratch/<myFolder>/oats12
, as follows:
#!/bin/bash
INSTALL_DIR="'dirname $0'" cd "$INSTALL_DIR" INSTALL_DIR="'pwd'"
cd - INSTALL_DIR=$( echo "$INSTALL_DIR" | sed -e 's/ /\\ /g' )
##Adding Chmod to add execute permissions for files.
chmod -R 777 $INSTALL_DIR/ 1> /dev/null 2>&1 $INSTALL_DIR/oui/bin/runInstaller
-force -noconsole ORACLE_HOME="/scratch/myFolder/oats12"
ORACLE_HOME_NAME="OATS" SHOW_EXIT_CONFIRMATION=false
SHOW_SUMMARY_PAGE=true INSTALL_ROOT=$INSTALL_DIR
##COMPONENT_LANGUAGES={"$LOCALE"} SELECTED_LANGUAGES={"$LOCALE"}
Run the setup.sh
file to start the GUI installation for the Oracle Application Testing Suite.
sh setup.sh
You cannot install Oracle Application Testing Suite as root, so do not use sudo sh setup.sh
.
Follow the setup instructions to install the Oracle Application Testing Suite.
During the installation you will be asked to provide a master password. Remember this password. The master password specified during installation is used to set all of the following user passwords:
Oracle Test Manager users "default" and "administrator".
Oracle Load Testing users "default" and "administrator".
User "JMSAdmin" used for Oracle Load Testing agent to controller authentication.
User "oats" for Weblogic Server - this is a Weblogic superuser.
User "oats-agent" in Weblogic Server for JMS communication between agent and controller - this is not a Weblogic superuser.
Database users "oats", "olt", "otm".
Database users (XE's defaults) "system" or "sys".
Specify Inventory Directory and credentials, as follows:
Enter full path of inventory directory: /scratch/<myFolder>/oraInventory Specify Operating System group name: dba
Click Next.
Select Installation Type: Complete and click Next.
Specify Home Details, as follows:
Name: Home1 Path: /scratch/<myFolder>/oats12
Click Next.
Enter Install Location, as follows:
Folder: /scratch/<myFolder>/oracleats
Click Next.
Set the Master Password by entering and confirming the password, for example:
Enter password: oracle123 Confirm password: oracle123
Click Next.
Specify Oracle Database Installation, as follows:
Configure an existing Oracle XE or EE Database
Click Next.
Specify Oracle Database Information, as follows:
DB Hostname: localhost Port: 1521 Service Name: XE Db User: system DB Password: oracle
Click Next.
Review the Summary details and click Install. The installation will continue automated install until you see the following message:
Execute Configuration Scripts The following configuration scripts need to be executed as the "root" user Scripts to be executed: 1. /scratch/<myFolder>/oraInventory/orainstRoot.sh 2. /scratch/<myFolder>/oats12/root.sh
Open a terminal window and execute the configuration scripts, as follows:.
Script 1: orainstRoot.sh
sudo sh /scratch/<myFolder>/oraInventory/orainstRoot.sh
Script 2: root.sh
sudo sh /scratch/<myFolder>/oats12/root.sh
Enter the Oracle Application Testing Suite Agent Manager password: (the same as the Master installation password entered and confirmed in the previous step above).
The script execution will complete with following confirmation messages: "OATS Agent Manager (OracleATSAgent) service is now running!" "Oracle Application Testing Suite Linux Agent is now installed!"
Exit the terminal window and click OK in the Execute Configuration Script pane of the installation GUI.
Click Exit on the End of Installation pane to complete the installation.
Navigate to http://<linux-host-name>:8088/
to start using the OATS application.
This section lists how to start Oracle Application Testing Suite applications and utilities on Linux machines. It also lists how to restart and stop the application service.
To start the Oracle Application Testing Suite Administrator:
http://<machine>:8088/admin or http://localhost:8088/admin
To start the Oracle Test Manager application:
http://<machine>:8088/otm or http://localhost:8088/otm
To start the Oracle Load Testing application:
http://<machine>:8088/olt or http://localhost:8088/olt
To start the Database Configuration utility:
<installdir>/bin/DbConfig.sh
To start the Oracle Load Testing Agent Authentication Manager utility:
<installdir>/jdk/jre/bin/java -jar <installdir>/agentmanager/AMAuthManager.jar
To restart the Oracle Application Testing Suite service:
<installdir>/bin/restartSvc.sh [OracleATSServer|OracleATSAgent]
To stop the Oracle Application Testing Suite service:
<installdir>/bin/stopSvc.sh [OracleATSServer|OracleATSAgent]
To create a support package for troubleshooting purposes (OATSSupport.zip):
<installdir>/bin/oats_support.sh
To uninstall the Oracle Application Testing Suite server components or remote agent:
Run the setup.sh
file to start the GUI installation for the Oracle Application Testing Suite.
sh setup.sh
You cannot uninstall Oracle Application Testing Suite as root, so do not use sudo sh setup.sh
.
Follow the screen instructions for uninstalling the server components or remote agent.
Oracle Load Testing allows you to distribute your Virtual Users to run from remote Agent machines. The Oracle Load Testing Server will connect to Oracle Load Testing Agent systems to start and run your Virtual Users on those machines. The Oracle Application Testing Suite Remote Agent is a component of the Oracle Application Testing Suite installation that enables Virtual Users to be distributed to these Agent systems. Users can either install the full Oracle Application Testing Suite installation or just the Remote Agent install component on their Agent machines to enable this functionality.
To install the Remote agent:
Download the appropriate .zip file from the download Web site:
For Windows agents, use oats-full-version.zip and run setup.bat.
For Linux agents, use oats-linux-full-version.zip for 32-bit or oats-linux64-full-version.zip for 64-bit and run setup.sh
. See Installing the Applications on Linux Machines for additional information.
Unzip the downloaded file and run the installation file.
Follow the setup instructions to install just the Remote Agent software.
Verify network access from the Controller workstation to the Agent workstations and configure the Agent Workstations as explained in the following section.
To specify the user login for the Oracle Load Testing Agent Service, open the Services control panel on the Agent machine and change the login credentials for the "Oracle Load Testing Agent Service". By default, the Oracle Load Testing Agent Service will run under the Local System account.
Once you have the Oracle Load Testing Server and Agent software installed on the individual systems, you should verify network access between the Oracle Load Testing Server system and each Remote Agent system. This section provides basic tips and techniques to make sure the Oracle Load Testing Server system can successfully communicate with each Remote Agent system.
Make sure that you have the Oracle Load Testing Agent software loaded on the Agent system(s) and that it is the same version as the Oracle Application Testing Suite software that is loaded on the Oracle Load Testing Server system. The systems you plan to use as Agents must have either the Oracle Load Testing Agent software or the full Oracle Application Testing Suite installed to work as agents.
Make sure you can successfully Ping all of the Agent systems from the Oracle Load Testing Server system. The machine names you use to Ping the systems are the same names that you will specify for the Agent systems in the Oracle Load Testing server. You can also use the IP addresses of the agent systems. If you cannot successfully Ping the Agent systems, contact your network administrator to resolve the issue. If you cannot Ping the Agent systems from the Oracle Load Testing Server system, you will not be able to run the Agents from the server.
Make sure that the same user is logged in on both the Oracle Load Testing server system and all of the Agent systems. All of the Agent systems must have a user logged in to be controlled by the Oracle Load Testing Server system. You may be able to log in as a different user on the Agent systems as long as the user login has the same administrative privileges as the user logged in on the server system.
From the server system, try mapping a drive on each of the Agent systems using Windows Explorer. Depending on how your network is setup, the server system 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.
In the Oracle Load Testing server add a Visual Script to the Scenario Profiles list. Enter the machine name or IP address of the Agent system where you want to run the Visual Script into the Systems Manager and select that machine in the Systems field on the Build Scenario tab of Oracle Load Testing.
In some cases, you may want to prepare a system for "Clean" installation of the Oracle Application Testing Suite product. This may be required in the following cases:
There is a previous beta version of the Oracle Application Testing Suite product installed on the system.
It is necessary to downgrade the product from a newer version.
An installation failure occurred for some reason and it is necessary to clean the environment to a fresh start.
The following sections provide step-by-step instructions to perform a clean installation of the Oracle Application Testing Suite product on your system.
Make sure to backup all scripts and databases before proceeding. See Installing over beta versions or earlier releases of Oracle Application Testing Suite for additional information.
To uninstall Oracle Application Testing Suite product:
Run the Oracle Application Testing Suite Setup.bat
file to launch "Oracle Universal Installer".
Click Deinstall Products. The Inventory window opens.
Expand the Oracle Homes tree and select the "OATS" checkbox.
Click Remove. The Remove window opens and starts the deinstallation procedure.
Wait for the Remove window to automatically dismiss itself. After the successful deinstalltion, the Inventory window may show "There are no installed products" if there no other Oracle products installed.
Close the Inventory window.
Click Cancel to close the Oracle Universal Installer.
To uninstall Oracle XE Database:
Select Control Panel from the Start menu.
Open Add/Remove Programs or Program and Features depending upon your Windows version.
Find and select Oracle Database 10g Express Edition.
Click the Remove or the Uninstall/Change button from the tool bar, or double-click the item to launch the InstallSheild wizard.
Click Yes in the dialog box to remove the database.
Wait for the uninstallation to complete successfully.
Click Finish to close the InstallShield wizard.
To remove or rename installation folders:
Backup OpenScript scripts and script asset files in repositories or folders under the installation directory (in installdir\workspace! directories or installdir\directoryname directories).
Backup OpenScript scripts and script asset files in repositories under the installation directory (in installdir\workspace directories).
Remove or rename the Oracle Application Testing Suite installation directory (the default is C:\OracleATS).
Remove or rename the directory: C:\Documents and Settings\username\osworkspace (depending upon your Operating System, it may be similar to: C:\Users\username\osworkspace).
Remove or rename the directory: C:\Program Files\Oracle\Inventory (depending on your Operating System, it may be like: C:\Program Files (x86)\ Oracle\Inventory).
Remove or rename the file: C:\Windows\rsw.ini
If you plan to perform an OpenScript only install after removing the Oracle Application Testing Suite applications, you must also remove the OATS_HOME environment variable and the browserHelper.properties file to prepare the machine for the installation.
To remove the OATS_HOME environment variable:
Open System settings in Control Panel.
Open System Properties. (depending upon Windows version, select Properties or Change settings).
Click Environment Variables on the Advanced tab.
Select the OATS_HOME variable and click Delete.
To remove the browserHelper.properties file:
Open Windows Explorer.
Navigate to %APPDATA%\Oracle\Application Testing Suite\browserHelper.properties file and delete the file.
To remove Oracle Application Testing Suite services:
Select Run from the Start menu.
Type cmd
and click OK.
Type the command: sc delete
servicename
, where servicename
is each of the following:
OracleATSAgent
OracleATSServer
OracleATSHelper
If the message "The specified services does not exist as an installed services" is returned from the program, the service was successfully removed by the previous steps.
To remove Oracle Application Testing Suite Registry keys:
Select Run from the Start menu.
Type regedit
and click OK.
Delete the following Registry keys using the Registry Editor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleATSServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleATSAgent
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleATSHelper
If you do not find the keys in the Registry, they were successfully removed by the previous steps. Note: The keys may be found in the different location depends on your Operating System (search by the key to find the correct location).
While not required, it is a best practice to restart the system after uninstalling applications.
Select Shutdown from the Start menu, then select Restart.
To install Oracle Application Testing Suite:
Make sure the installing user has administrator privilege on the system.
Unzip the oats-full-version.zip product download file in a temporary directory.
Using Windows Explorer, double-click the setup.bat
to start the Oracle Universal Installer. See Installing the Applications on Windows Machines for additional information.
Note:
Important: Windows Vista, 2008 or Windows 7 users, select Run as Administrator from the right-click shortcut menu. This is required process for the Operating Systems that have User Account Control (UAC) enabled.Follow the setup instructions to install the Oracle Application Testing Suite.
If you have a beta or Early Access version of the Oracle Application Testing Suite installed, you should un-install the earlier release of the Oracle Application Testing Suite before installing this version.
If you are installing over a previous version of Oracle Application Testing Suite, you may consider making backup copies of the following before installing this version:
OpenScript scripts and script asset files in repositories or folders under the installation directory (in installdir\workspace! directories or installdir\directoryname directories).
Script and script asset files in repositories under the installation directory (in installdir\workspace directories).
Oracle Load Testing reports database.
Oracle Test Manager database.
If you are installing or upgrading over a previous version of OpenScript, you should close any open scripts in the earlier version before upgrading.
The Oracle Application Testing Suite 12.4.0.1 component based installer will install Oracle Load Testing and Oracle Test Manager over installed OpenScript only installations (of either version or pre 12.4.0.1). The installer will upgrade the OpenScript installation and will install other Oracle Application Testing Suite components.
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
.
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
Oracle Application Testing Suite Installation Guide Release 12.4.0.2
E55188-01
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved.
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.