Application Testing Suite Oracle Load Testing Introduction ATS Load Testing Workshop Bangalore, India September 24 / 25 2012 Yutaka Takatsu ATS Group Product Manager Oracle Enterprise Manager - ATS 1
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 2
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 3
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 4
Optimized testing for Oracle Applications Application Testing Suite Testing Accelerators Oracle Fusion Applications Oracle Ebusiness Suite Siebel JD Edwards Enterprise ONE PeopleSoft Hyperion Accelerators Siebel Web / EBS/ FORMS Web / Fusion/ ADF Web / JDEOne Web / Web Services Web / Database Adobe Flex OpenScript Framework (API) Eclipse Platform 5
OpenScript Load Testing Automation Concepts OpenScript Load Testing automates transactions in the Protocol level. User Client Browser Functional Testing Replaces the User. GUI level Automation Where do I fit below? Application under test User Client Browser Load Testing Application under test Replaces the Browser Protocol level Automation 6
OpenScript Load Testing Automation Concepts 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 Talks to the browser and let the browser do the rest We are the browser and talk directly to the webserver Client Client Open Script Browser API Java Agent Functional Testing Load Testing I don t carry a browser, so I am a More Scalable script! Application under test Application under test 7
OpenScript Load Testing Automation Concepts How does the OpenScript LoadTesting Script interact with the webserver? During the Recording, Uses Proxy Recorder to capture the communication During the Playback, Java Agent executes the command through API and send requests directly to the server Browser Proxy Recorder Captures the req/res Commands are written down to the script Load Testing Proxy Recording Internet/ Intranet Application under test Open Script Playback Java Agent kicks the command Directly interact with the webserver 8
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 9 9
Oracle Load Testing Architecture Oracle Load Testing runs on WebLogic server and stores the session data in the Oracle Database. OLT Controller System Windows OR Linux Local Agent (Oracle ATS Data Agent Collector Service) 1 OLT Agent Systems Windows OR Linux (can be mixed) Data Collector 2 Agent System 1 Application under test OLT Controller Module OLT ServerStats Module Agent 1 Virtual Users Agent System 2 Network ServerStats collects server performance metrics OLT Database System Windows OR Linux WebLogic Server (Oracle ATS Server Service) Agent 2 Agent 3 Virtual Users Agent System 3 Virtual Users Script Transactions OLT Database Oracle DB (Oracle Service XE Service) OLT Controller stores Session and ServerStats data into the Oracle Database Agent n (Oracle ATS Agent Service) Agent System(s) Agent launches Virtual Users Virtual Users Virtual Users execute Scripts Scripts includes Transactions YOU recorded by navigating thru the browser * NOTE: OTM also resides in the WebLogic Server, and OTM uses the same Oracle Database to store the Test Management data. Simulate the peak production work load Operation Systems Metrics 10
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 11
Thank You! 12