oracle load testing

12
Application Testing Suite Oracle Load Testing Introduction Yutaka Takatsu ATS Group Product Manager Oracle Enterprise Manager - ATS ATS Load Testing Workshop Bangalore, India September 24 / 25 2012

Upload: duongxuyen

Post on 14-Feb-2017

240 views

Category:

Documents


3 download

TRANSCRIPT

1

Application Testing Suite

Oracle Load Testing Introduction

Yutaka Takatsu

ATS Group Product Manager

Oracle Enterprise Manager - ATS

ATS Load Testing Workshop Bangalore, India

September 24 / 25 2012

2

Agenda • Application Testing Suite (ATS) Overview - 15 min

OpenScript (Load Testing Script Generator)

Oracle Load Testing (Load Testing Tool)

• OpenScript Demo -10 min

• Oracle Load Testing Demo - 20 min

3

Oracle Application Testing Suite A powerful, integrated testing solution for ensuring application quality, performance and reliability

Oracle Functional Testing

(OpenScript) Automated functional & regression testing

Also Generates Load Testing Scripts

Oracle Test Manager Test process management,

requirements and defect tracking

Oracle Load Testing Automated load & performance testing

4

Oracle Functional Testing - OpenScript

• Automates functional & regression testing for

Web, SOA and packaged applications

• Also a load testing script generator

• Custom Accelerators for Oracle Packaged

Applications (eBS, Siebel,JDE, Fusion/ADF) &

Web technologies (Webservices, Adobe Flex)

• GUI-based visual scripting interface

• Flexible scripting extensibility using Java

• Integrated Eclipse IDE for script development

& debugging

• Most of the case, Advanced knowledge

in Java/Eclipse is not necessary

• Especially true for Load Testing Scripts

• Integrated with Oracle Load Testing & Oracle

Test Manager

GUI View: Standard - Easy

Java Code View: Technical - Extensible

Eclipse View: Advanced - Optional

5

Optimized testing for Oracle Applications

Oracle Fusion Applications

Oracle Ebusiness Suite

Siebel

JD Edwards Enterprise ONE

PeopleSoft

Hyperion

Web

Services

Fusion/

ADF

EBS/

FORMS

Siebel

Web /

HTTP

Database Adobe ®

Flex ®

Accelerators

Application Testing Suite Testing Accelerators

OpenScript Framework (API)

JDEOne

Eclipse Platform

Web /

HTTP

Web /

HTTP

Web /

HTTP

Web /

HTTP

Accelerators

6

OpenScript Load Testing Automation Concepts

User

Browser Client Application under test

User

Browser Client Application under test Load Testing

Functional Testing

Where do I fit below?

• OpenScript Load Testing automates transactions in the Protocol level.

Replaces the User. GUI level Automation

Replaces the Browser Protocol level Automation

7

• At the Playback, OpenScript Load Scripts replace the Browser (User Agent) and interact

directly with the Application’s webserver.

• Because it does not carry a browser, Load Scripts are lighter and more scalable than

Functional scripts

OpenScript Load Testing Automation Concepts

Open Script

Browser Client Application under test

Java Agent Client Application under test

Load Testing

Functional Testing

HTTP

HTTP API

Talks to the browser and let the browser do the rest

We are the browser and talk directly to the webserver I don’t carry a browser, so I am

a More Scalable script!

8

• How does the OpenScript LoadTesting Script interact with the webserver?

• During the Recording, Uses Proxy Recorder to capture the HTTP communication

• During the Playback, Java Agent executes the command through API and send

HTTP requests directly to the server

Open Script

Application under test

Load Testing

Proxy Recorder Captures the HTTP req/res

Commands are written down to the script

Playback

Java Agent kicks the command

Directly interact with

the webserver

Internet/ Intranet

Recording

Browser

Proxy

OpenScript Load Testing Automation Concepts

9 9

Oracle Load Testing

Oracle Load Testing is an easy-to-use scalability testing tool that lets users quickly

eliminate performance bottlenecks in Web application.

• Realistic load testing for Web, SOA and packaged applications

• Scales up to thousands of concurrent users to simulate peak production loads

• Delivers better accuracy by performing functional content validation under load

• Integrated server monitors help identify performance bottlenecks

• View Flex based Real time and Post-Run Graphical reports

10

(Oracle ATS

Agent Service)

OLT Agent Systems Windows OR Linux (can be mixed)

Agent 2

Agent 3

Agent n

Agent 1

(Oracle ATS Agent

Service)

Agent

launches

Virtual Users

Agent System 2

Agent System 3

Agent System(s)

Agent System 1

Virtual

Users

Virtual

Users

Virtual

Users

Virtual

Users

Oracle Load Testing Architecture • Oracle Load Testing runs on WebLogic server and stores the session data in the Oracle Database.

(Oracle ATS Server Service)

OLT

Database

Oracle DB

WebLogic Server

(Oracle Service XE Service)

OLT Controller System Windows OR Linux

OLT Database System Windows OR Linux

Network ServerStats collects server

performance metrics

Script Transactions

Simulate the peak

production work load

OLT Controller stores Session and

ServerStats data into the Oracle Database

OLT

Controller

Module

OLT

ServerStats

Module

Operation Systems Metrics

Application under test

Data Collector 1

Local Agent

Data Collector 2

Virtual Users

execute

Scripts

Scripts includes Transactions

YOU recorded by navigating

thru the browser

Local Agent

* NOTE: OTM also resides in the WebLogic Server, and OTM uses the same Oracle Database to store the Test Management data.

11

Agenda • Application Testing Suite (ATS) Overview - 15 min

OpenScript (Load Testing Script Generator)

Oracle Load Testing (Load Testing Tool)

• OpenScript Demo -10 min

• Oracle Load Testing Demo - 20 min

12

Thank You!