Professional Documents
Culture Documents
RUNBOOK
for Oracle Access Manager
REVISION HISTORY
Version
Date (mm/dd/yyyy)
Author
Description
0.1
01/04/11
Chanda Patel
Table of Contents
1. Introduction.................................................................................................................................................2
2. Setting up automation workspace...............................................................................................................2
3. Running FIAT/OAM locally from ADE workspace using ant ..................................................................3
4. Running FIAT/OAM using the block script ..............................................................................................3
5. How to run specific modules......................................................................................................................4
5.1 WLST Module......................................................................................................................................4
5.2 Policy Module......................................................................................................................................5
5.3 Webgate Module..................................................................................................................................5
5.4 RREG Module......................................................................................................................................5
5.5 IDStore Module....................................................................................................................................6
5.5 OAMTester Module.............................................................................................................................6
5.6 ASDK Module......................................................................................................................................6
5.7 IAP Module..........................................................................................................................................6
6. Interpretation of automation results............................................................................................................6
7. How to run FIAT in server farm.................................................................................................................7
8. Appendix.....................................................................................................................................................7
1. Introduction
This document can be used as a quick start guide to execute automation using FIAT. To
understand the framework in-depth, please read the FIAT Architecture document.
FIAT is a testng based testing framework written in JAVA and executed using ANT.
The following are the key features of FIAT:
Support for multiple products.
Component, modular and plug-gable design
No 3rd party licensed tools requirement
Unified framework (UI, API and CLI)
End to end testing, support for message and transport level security wherever
applicable
Grouping of testcases based on platform/functional
Platform/container agnostic
Self contained, no external dependencies
Follows maven guidelines
/net/stafas04/farm_fmwqa/java/linux64/jdk6
Set environment variable ANT17HOME
setenv ANT17HOME /usr/local/packages/ant_remote/1.7.1
Edit respective datastore file eg. oam/resources/config/IDStore_S1DS.properties,
build.properties, other module specific/needed files
Edit fiat/build.properties to specify oam as the product to be tested.
Fire ant from $ADE_VIEW_ROOT/ngamtest/fiat
${ANT17HOME}/bin/ant -DJAVACMD=${JDK16HOME} -lib common/lib/antcontrib-1.0b3.jar -DSERVER_NAME1=server1 -DWORKDIR=${WORKDIR} run
/scratch/aime/AUTO_HOME/scripts/as11_idm/11.1.1.4.0/oam11g_fiat.pl
/ade/aime1/oracle/work/OAM11g_FIAT/import.txt
/ade/aime1/oracle/work/OAM11g_FIAT/export.txt
/ade/aime1/oracle/work/OAM11g_FIAT/runtime.txt
Set the environment variable WORKDIR
setenv WORKDIR $T_WORK/OAM11g_FIAT/
From the $T_WORK/OAM11g_FIAT, execute runBlock.cmd
be run
The OHS on which webgate is installed should be cgi-enabled. The resources for
webgate automation should be copied over from
/net/opensolaris2.us.oracle.com/export/htdocs to the htdocs directory of the OHS
instance.
/net/opensolaris2.us.oracle.com/export/htdocs/cgi-bin/headers.cgi should be copied over
to cgi-bin directory of webserver.
$ADE_VIEW_ROOT/ngamtest/oam/resources/iap/AgentAppDomainHostIdMapping.p
roperties should be editted based on the webgate configured with OAM server
The weblogic should be configured to have both OID and IPLANET authenticators
8. Appendix
Sample Import.txt
HOSTNAME=adc2171260.us.oracle.com
AdminPassword=welcome1
WLS_DOMAIN=/scratch/aime1/AUTO_WORK/mw154/user_projects/domains/WLS_OAM
rreg_bin=RREG_BIN
AdminUser=weblogic
WLS_CONSOLE_PORT=20946
ORACLE_HOME=/scratch/aime1/AUTO_WORK/mw154/idm2642
FIAT_SOURCE_ZIP=/scratch/aime1/fiat/myfiat.zip
WL_HOME=/scratch/aime1/AUTO_WORK/mw154/wlserver_10.3.
ADE_VIEW_ROOT=/scratch/aime1/view_storage/aime1_NGAM_MAIN_GENERIC_101129
Sample runBlock.cmd
/usr/local/packages/perl_5.6.1/bin/perl
/scratch/aime1/AUTO_HOME/scripts/as11_idm/11.1.1.4.0/oam11g_fiat.pl
/ade/aime1_dte1051/oracle/work/OAM11g_FIAT/import.txt
/ade/aime1_dte1051/oracle/work/OAM11g_FIAT/export.txt
/ade/aime1_dte1051/oracle/work/OAM11g_FIAT/runtime.txt
Sample runtime.txt
AUTO_HOME=/scratch/aime1/AUTO_HOME
ENVFILE=/scratch/aime1/view_storage/aime1_NGAM_MAIN_GENERIC_101129/oracle/wor
k/OAM11g_FIAT/env.txt
GlobalSettingPrpFile=/scratch/aime1/view_storage/aime1_NGAM_MAIN_GENERIC_101129
/oracle/work/OAM11g_FIAT/runtimeGlobalSetting.prp
Sample env.txt
ADE_DEFAULT_VIEW_STORAGE_LOC=/net/adc2171260/scratch/aime1/view_storage
ADE_VIEW_ROOT=/ade/aime1_dte1051