Regression & Load Testing BI EE 11g

Similar documents
Regression & Load Testing BI EE 11g

Oracle BI EE 11g - Security Auditing

Application Testing Suite Oracle Load Testing Introduction

Application Testing Suite: A fully Java-based software testing platform for testing Oracle E-Business Suite and other web applications

OBIEE 11g Security it s as easy as 1-2-3!

Oracle BI EE Integration with Hyperion Sources

The Process Guidelines should be used in conjunction with the standard OUM process guidelines when using Testing and Quality Management Tools.

Data Warehouse and Business Intelligence Testing: Challenges, Best Practices & the Solution

OBIEE Deployment & Change Management

Oracle Data Masking. Bruce Elton. Master Principal Sales Consultant Information Security Oracle Corporation

OBIEE 11g Data Modeling Best Practices

QEx Whitepaper. Automation Testing Pillar: Selenium. Naveen Saxena. AuthOr:

Load Testing with JMeter

Web Applications Testing

How to Prepare for the Upgrade to Microsoft Dynamics CRM 2013 (On-premises)

Holistic Performance Analysis of J2EE Applications

Monitoring Oracle Fusion Middleware

<Insert Picture Here> Application Testing Suite Overview

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

Oracle Application Express and Oracle E-Business Suite. Love and Mariage!

Oracle BI Cloud Service : What is it and Where Will it be Useful? Francesco Tisiot, Principal Consultant, Rittman Mead OUG Ireland 2015, Dublin

Oracle BI Suite Enterprise Edition For Discoverer Users. Mark Rittman, Rittman Mead Consulting

Fusion Applications Overview of Business Intelligence and Reporting components

Oracle Data Integrator 11g New Features & OBIEE Integration. Presented by: Arun K. Chaturvedi Business Intelligence Consultant/Architect

Test Run Analysis Interpretation (AI) Made Easy with OpenLoad

How To Test For Performance

An Oracle White Paper July Oracle Primavera Contract Management, Business Intelligence Publisher Edition-Sizing Guide

Automating Testing and Configuration Data Migration in OTM/GTM Projects using Open Source Tools By Rakesh Raveendran Oracle Consulting

OBIEE Deployment & Change Mgmt Best Practices

Contents Introduction... 5 Deployment Considerations... 9 Deployment Architectures... 11

LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training

2012 Oracle Corporation


Top 10 Performance Tips for OBI-EE

MicroStrategy Course Catalog

GLOBAL JOURNAL OF ENGINEERING SCIENCE AND RESEARCHES

QA Tools (QTP, QC/ALM), Selenium with Java, Mobile with Automation, Unix, SQL, SOAP UI

Load and Performance Load Testing. RadView Software October

Continuous Integration

Oracle WebLogic Server 11g Administration

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Domain Specific Languages for Selenium tests

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

OBIEE 11g Scaleout & Clustering

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

<Insert Picture Here>

Safe Harbor Statement

Automate Your BI Administration to Save Millions with Command Manager and System Manager

Agile Web Application Testing

Bringing Value to the Organization with Performance Testing

Oracle E-Business Suite - Oracle Business Intelligence Enterprise Edition 11g Integration

Migrating a Discoverer System to Oracle Business Intelligence Enterprise Edition

Mike Chyi, Micro Focus Solution Consultant May 12, 2010

Test Automation -Selenium

Functional UI testing of Adobe Flex RIA. Viktor Gamov August,

Cloud Powered Mobile Apps with Azure

Oracle WebLogic Server: Remote Monitoring and Management

Top 10 Oracle SQL Developer Tips and Tricks

Tools for Testing Software Architectures. Learning Objectives. Context

Measurable Improvements in E-Business Suite Application Management with OEM 12c

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

Enable Your Automated Web App Testing by WebDriver. Yugang Fan Intel

Project Server Plus Risk to Issue Escalator User Guide v1.1

Oracle Fusion Middleware

BUSINESS INTELLIGENCE ANALYTICS QUALITY ASSURANCE- A NEW

Initial Value Proposition (IVP)

WebLogic Server Administration

APPLICATION MANAGEMENT SUITE FOR SIEBEL APPLICATIONS

Automation using Selenium

Oracle Managed File Getting Started - Transfer FTP Server to File Table of Contents

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

Oracle Enterprise Manager 12c Cloud Control for Managing Oracle E-Business Suite 12.2

Aplicações empresariais de elevada performance com Oracle WebLogic e Coherence. Alexandre Vieira Middleware Solutions Team Leader

Windmill. Automated Testing for Web Applications

27 th March 2015 Istanbul, Turkey. Performance Testing Best Practice

Layer2 Business Data List Connector for SharePoint

What is new for HP LoadRunner and Performance Center 11.52

Business Assurance & Testing QEx Automation Platform

Real Application Testing. Fred Louis Oracle Enterprise Architect

Oracle BI Extended Edition (OBIEE) Tips and Techniques: Part 1

Business Application Services Testing

What s new in TIBCO Spotfire 6.5

Oracle Database Performance Management Best Practices Workshop. AIOUG Product Management Team Database Manageability

HEAT DSM Release Overview. Andreas Fuchs Product Management November 16th, 2015

Oracle Business Intelligence Answers, Delivers, and Interactive Dashboards User Guide. Version December 2006

Migrating SaaS Applications to Windows Azure

Migrating helpdesk to a new server

White paper: Unlocking the potential of load testing to maximise ROI and reduce risk.

Oracle Cloud Platform

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

CloudBees Continuous Integration and Test with Appvance Enterprise August 28, 2013 Frank Cohen, (408)

Cross Platform Mobile. -Vinod Doshi

How To Customize An Org Bee 11G With A Custom Skin On A Windows 7.5 (Oracle) 11G (Orca) 11Ge (Orora) 11Gh (Orroboro) 11E (Ororro

MySQL Enterprise Monitor

Transcription:

Regression & Load Testing BI EE 11g Venkatakrishnan J

Who Am I? Venkatakrishnan Janakiraman Over 8+ Years of Oracle BI & EPM experience Managing Director (India), Rittman Mead India Blog at http://www.rittmanmead.com/blog - Old & defunct blog http://oraclebizint.wordpress.com Oracle ACE EPM/BI Specialization Twitter - @krisvenkat T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com

Agenda Overview of Testing Types of Testing & their importance in BI Rollouts Unit Testing Regression Testing Load Testing Stress Testing Regression Testing in BI EE Load Testing in BI EE Tools Available for Automated Testing Importance of Automation

What is Testing? Testing Means to find bugs in the software Different types of Bugs Product Bugs Design Bugs Implementation Bugs For any software BUGS are the only constant There can never be bug-free software BI EE is no different Treat BI EE as just another web application Ensure Testing is part of every phase in a rollout

Testing - How important is it for BI Rollouts? Testing is fundamental to a BI Roll-out BI is the primary interface for data to end-users So Testing is critical Testing strategy used determines success/failure Testing is key for user adoption/perception of the BI System Failure of a BI System can be attributed 50% to bad testing strategies

BI EE Testing Areas Multiple Areas of Testing SQL/MDX Generation Testing (correct SQLs getting generated or not) Security Testing (Security properly being applied or not) Report Navigation Testing (Drills properly working or not) User Interaction Testing (Prompts being applied correctly or not) User Standards Testing (Look & Feel, Report Layouts, Number Formats) Scalability Testing Performance Testing Integration Testing (integration with other systems) Questions to be answered? How often do we test the above? During every migration or during development or both? Testing should be in all phases

BI EE Rollout - Iterative Testing Phases * - Siebel CRM Bookshelf

Common Testing Methodologies Relevant Testing Phases for BI Unit Testing Regression Testing Load Testing Stress Testing General practice in BI EE Rollouts (based on my experience) Good Unit Testing Strategy But No proper Regression Testing Strategy And No proper Load Testing Strategy

Regression Testing - What is it? Identifies new bugs introduced by a new feature Identify whether a bug-fix did not lead to other bugs Very important in a BI Roll-out All the more important when the BI System is live for a while - Many users cannot tolerate change in behaviour, layouts as their daily activity is based on the system - As important as Regression testing a Web Application - Even more important for BI Apps roll outs Regression Testing Involves identifying all test cases Run all test cases during every migration to Production No Production Migration unless all the test cases complete 100% successfully

Regression Testing - Example 1 A new javascript has been implemented to clear the default selections in a dashboard prompt Java Script based feature implementations are common Require very careful testing Might not work across multiple browsers & multiple versions of the same browser Can break during upgrades Very important to document and repeat the functionality of the feature post an upgrade/migration

Regression Testing - Example 2 A new set of reports/dashboards or Dashboard pages are going live Common migration practice is to copy the web catalog content over using catalog manager (or Patching in 11g) Apply security permissions manually post migration How do we test that the above migration has not affected security of other objects?

Regression Testing - Example 3 A new set of RPD enhancements are going live Common practice is to merge the objects from Dev to Prod/UAT (& then patching) Or even manually copying/renaming objects over How can we know for sure that none of the existing reports/dashboards have been impacted because of this? How do we test this?

Regression Testing - Example 4 Migrating to a new release (say 10g to 11g) or even 10.1.3.4.1 to 10.1.3.4.2 How do we ensure all the customizations done to a dashboard work properly? Java Scripts Security - Complex Group based security Look and feel - UI

So Regression Testing is Important - But... Primary driver for Regression Testing not being done completely in a lot of projects Lack of time (End users expect faster turn around time) Lack of resources (Lots of end points need to be tested) Monotony - Yes it can be too boring to do regression testing for each and every change Possibilities of Human Error

Automated Regression Testing To avoid the rigours of manual Regression Testing Automated tools available now Some Tools available to do this Selenium (Open Source) Oracle Application Testing Suite QTP Winrunner... etc

Regression Testing - Selenium Selenium Open Source IDE Very light weight Available as a firefox add-on Can be completely programmed Supports XPath Cross Platform support No support for Load Testing

Selenium - Regression Testing Demo

Selenium - Recording a Test Supports auto recording of click actions Login Opening a Dashboard Changing prompt values Prompt Multi-select Drills Navigations Any click based actions

Selenium - Regression Test Things to watch out for There is no native BI EE support - Though a new instanceconfig.xml setting has been introduced So requires tweaking of the code generated by Selenium More changes required when a Javascript based action is recorded Does not work with the new BI EE 11g feature of drag/drop columns in a Dashboard Page IDs generated by BI EE are unique

Selenium - Regression Testing Recording & Replay - Demo

Regression Testing - Oracle Application Testing Suite OATS Acquisition of Empirix Supports all kinds of testing - Load Tests - Integration Tests - Regression Tests Based on Java - One of the main reasons behind the - ADF adoption Supports Recording through OpenScript Monitors page load times and other metrics - Not available in Selenium out of the box

OATS - Recording a Test Native support for ADF Supports auto recording of click actions Login Opening a Dashboard Changing prompt values Prompt Multi-select Drills Navigations

OATS - Regression Test Things that work unlike Selenium out of the box Native BI EE support No issues with BI EE Unique Page IDs Works well with many java script based prompts Extensive Java Support Things to watch out Requires some tweaking for complex java scripts (like dashboard navigation menus etc)

OATS - Regression Testing Demo

Load Testing Very different from Regression Testing Very important for BI EE rollouts Typically done before a first major production rollout Very important for capacity planning Testing Done at HTTP Protocol level No Java Scripts No browser dependence Pure scalability testing

Load Testing - Why... Typical rollouts will have capacity planning done much earlier. But... How can we judge whether BI Server can scale? How can we judge the number of Database connections? How can we judge the number of SQL queries? How can we find out whether there are poorly designed reports? How can we find out whether clustering is needed?

Load Testing - 2 Parts 2 aspects of any Load Testing Simulating the Load Monitoring the metrics during the load the test Simulating the Load Done through an external tool - OATS - JUnit etc Monitoring of Metrics Using DMS Or using custom applications (to be shown later)

Load Testing - Example 1 A well capacity planned BI EE system is going live Estimated 200 concurrent users How do we estimate Weblogic JVM memory required? How do we estimate whether existing BI Server settings are sufficient? How do we know where the latency is? How do we know the exact breaking point, in case load test fails?

Load Testing - Example 2 A system that is live for a year Requirement to add 100 more Analyst users as part of enterprise roll-out How do we pro-actively determine new user base will not affect performance for existing users? How do we know where the performance bottleneck will be? When there is a call to add a BI EE Component cluster, how do we justify that need?

Load Testing - Key aspects Important aspect to do load testing Availability of Metrics from the BI System Ability to monitor Metrics Ability to store the relevant Metrics Monitor Metrics as a percentage of users, sessions To an extent simulate the load similar to the behaviour analysis pattern of end users

Load Testing - Metrics in EM 100+ metrics available for monitoring Available through EM Only real time monitoring No ability to persist them and track them over a period of time No ability to use BI EE reporting capabilities to report on these metrics

Load Testing - Metrics in DMS All Metrics made available through DMS - Diagnostic Monitoring Service No MBean access to metrics But can be obtained through WLST No other API currently apart from WLST 11.1.1.3 & 11.1.1.5 - DMS metrics monitoring is slightly different 11.1.1.3 - DMS shows all metrics when queried 11.1.1.5 - DMS shows metrics only when there is a change

Load Testing - Metrics in DMS Sample WLST Method displaymetrictables method to get at a specific metric table displaymetrictablenames to get all Metric tables available for monitoring

Load Testing - Metrics through OPMN DMS exposes non-j2ee metrics through Java. DMS not ideal(not that flexible) for non-j2ee metrics but preferred for Java metrics Same metrics can be obtained from OPMN utility OPMN sample script opmnctl metric op=list opmnctl metric op=query COMPONENT_NAME=coreapplic ation_obis1 format=xml No remote API for this

Load Testing - OATS Like Regression Testing, a recorder available to record test scripts Records only HTTP calls No browser based calls recorded All prompt actions, user actions triggered through POST method

Load & Regression Testing Scripts Regression Testing All driven from browser Prompt values varied by simulating click actions Navigations done through click actions Java Script actions simulated as well Load Testing All driven directly through HTTP No browser involved Prompt Values pushed through POST methods Navigations done through GET method (URL Navigation)

OATS - Load Testing Recording Demo

Load Testing - OATS A web test manager available to replay scripts Number of users can be increased/ decreased All users - Virtual users - Ideally OATS should be in a separate box Can be scripted to simulate impersonation Provides metrics of page load times etc No BI EE Metrics available out of the box

OATS - Load Testing Simulation Demo

Load Testing Oracle BI EE 11g