Performance Testing Why and How? Sudheer Parpatakam

Similar documents
Fundamentals of LoadRunner 9.0 (2 Days)

HP LoadRunner: Essentials 11

LR120 LoadRunner 12.0 Essentials

How To Test On The Dsms Application

LR120 Load Runner 12.0 Essentials Instructor-Led Training Version 12.0

A closer look at HP LoadRunner software

PERFORMANCE TESTING. New Batches Info. We are ready to serve Latest Testing Trends, Are you ready to learn.?? START DATE : TIMINGS : DURATION :

HP LoadRunner. Software Version: LoadRunner Tutorial

SOFTWARE PERFORMANCE TESTING SERVICE

Learning More About Load Testing

PC120 ALM Performance Center 11.5 Essentials

Identify and control performance and capacity risks. Introduction... 2

Transforming LoadRunner Data into Information and Action

HPE PC120 ALM Performance Center 12.0 Essentials

Service Virtualization:

HP Performance Center 11.5: What s New? Gurmeen Aneja

Bringing Value to the Organization with Performance Testing

LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training

An introduction to load testing for Web applications. Business white paper

How To Test For Performance

How To Test A Web Server

Noelle A. Stimely Senior Performance Test Engineer. University of California, San Francisco

Performance Testing of Java Enterprise Systems

TESTING AND OPTIMIZING WEB APPLICATION S PERFORMANCE AQA CASE STUDY

Scalability Factors of JMeter In Performance Testing Projects

Oracle Hyperion Financial Management Virtualization Whitepaper

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

Performance Testing of a Cloud Service

Justin Bruns, Performance Test Lead, Fireman's Fund Insurance Robert May, Enterprise Software Tools Administrator Fireman's Fund Insurance

Throughput Capacity Planning and Application Saturation

Mobile Testing: Actual Results from Nationwide Insurance How we could have tested the same application with the latest tools available

Why Test ITSM Applications for Performance? Webinar

An Introduction to LoadRunner A Powerful Performance Testing Tool by HP. An Introduction to LoadRunner. A Powerful Performance Testing Tool by HP

TRACE PERFORMANCE TESTING APPROACH. Overview. Approach. Flow. Attributes

Testhouse Training Portfolio

Business white paper. Load factor: performance testing for Web applications

Case Study - I. Industry: Social Networking Website Technology : J2EE AJAX, Spring, MySQL, Weblogic, Windows Server 2008.

Performance Testing IBM MQSeries* Infrastructures

HP LoadRunner. Software Version: Ajax TruClient Tips & Tricks

10 Best Practices for Application Performance Testing

LOAD TESTING ON XCELSIUS DATA. Prepared for Md. Sazzad Hossain Assistant Professor Department of EECS North South University

Project 2 Performance Testing

SolovatSoft. Load and Performance Test Plan Sample. Title: [include project s release name] Version: Date: SolovatSoft Page 1 of 13

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

Load Testing and Monitoring Web Applications in a Windows Environment

Perfect Your Mobile App with Load Testing and Test Automation

HP essential knowledge series: an introduction to load testing for web applications. White paper

Web Application s Performance Testing

Amazon EC2 XenApp Scalability Analysis

Whitepaper Performance Testing and Monitoring of Mobile Applications

Performance Test Process

Performance brief for IBM WebSphere Application Server 7.0 with VMware ESX 4.0 on HP ProLiant DL380 G6 server

Microsoft SharePoint 2010 on HP ProLiant DL380p Gen8 servers

Mohammed Khan SUMMARY

Performance testing Web 2.0

Automate performance testing to predict system behavior and improve application performance. White paper

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

Load Testing Tools. Animesh Das

Successful Factors for Performance Testing Projects. NaveenKumar Namachivayam - Founder - QAInsights

Business Application Services Testing

Mike Chyi, Micro Focus Solution Consultant May 12, 2010

An Oracle White Paper March Load Testing Best Practices for Oracle E- Business Suite using Oracle Application Testing Suite

Citrix Server: Citrix Server work as a remote connection by users

Table of Contents INTRODUCTION Prerequisites... 3 Audience... 3 Report Metrics... 3

Website Performance Analysis Based on Component Load Testing: A Review

Accelerate Testing Cycles With Collaborative Performance Testing

Best Practices for Web Application Load Testing

Getting Started with SandStorm NoSQL Benchmark

Upgrading a Telecom Billing System with Intel Xeon Processors

Workflow based performance testing. Suresh Srinivasan

Performance Test Report For OpenCRM. Submitted By: Softsmith Infotech.

Q: What is the difference between the other load testing tools which enables the wan emulation, location based load testing and Gomez load testing?

Application Performance Testing Basics

HP End User Management software. Enables real-time visibility into application performance and availability. Solution brief

Combining Performance Testing and Modelling for easyjet.com

Load and Performance Testing

MAGENTO HOSTING Progressive Server Performance Improvements

How To Test On An Hp Mobile Device

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

Performance Tuning and Optimizing SQL Databases 2016

Case Study: Load Testing and Tuning to Improve SharePoint Website Performance

Comparative Study of Load Testing Tools

Table of contents. Enterprise Resource Planning (ERP) functional testing best practices: Ten steps to ERP systems reliability

We turn 10! Performance Testing. The Magazine for Professional Testers. June 2010

There are a number of factors that increase the risk of performance problems in complex computer and software systems, such as e-commerce systems.

Performance Testing. Slow data transfer rate may be inherent in hardware but can also result from software-related problems, such as:

Mobile Performance Testing Approaches and Challenges

Performance Testing Uncovered

Brochure. Performance testing. HP Performance Center

Resource Monitoring During Performance Testing. Experience Report by Johann du Plessis. Introduction. Planning for Monitoring

Transcription:

Performance Testing Why and How? Sudheer Parpatakam 2007 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

2 Agenda Why Performance Testing? Performance Testing Workflow HP LoadRunner Solutions

3 Why Load Test Your Application? Prevents costly failures of mission-critical applications. Assures performance and functionality under realworld conditions. Locates potential problems before your customers do. Reduces development time. Reduces infrastructure costs.

Types of Performance Testing 4

5 Examples of Performance Test Objectives Application response time How long does it take to complete a task? Configuration sizing Which configuration provides the best performance level? Regression Does a new version of the software adversely affect response time? Reliability How stable is the system under a heavy work load? Capacity planning At what point does performance degradation occur? Bottleneck identification What is the cause of the performance degrading?

6 Performance Testing Expert Workflow Establish Goals Gather System Usage Information Analyze System Under Test

7 GOALS Defining Goals Why start with conceptual goals? Examples of conceptual goals: Conceptual goals should outline all of your load test objectives. A high-priority example is the responsiveness of a Search function. Are we able to get search results within a reasonable time? A second example is the system administrator s concern that the Update transaction functions during heaving usage. In the initial stages, jotting down goals that can t be measured will allow later filtering to create more focused goals.

GOALS Quantifying Load Testing Goals 8

9 GATHERING INFORMATION Gathering System Usage Information Why gather system usage information? Allows you to: Decide which business processes to test. Isolate peak loads and peak load times. Document user actions and valid input data for each business process. Where can we get information? Using the site, first-hand Consulting with administrators Consulting with executives Researching competitor s sites

GATHERING DATA Obtaining Customer Locations 10

11 ANALYZING SYSTEM Analyzing the System Under Test Why gather system usage information? Allows you to setup monitors. Allows you to effectively coordinate with backend experts. Provides system information that helps isolate performance problems. Where can we get information? System Administrators Backend experts Application experts Database Administrators

12 BUSINESS PROCESSES Identifying Business Processes to Test Mission-Critical Business Process Business Processes that are crucial in day-to-day operations. Heavy Throughput Heavy throughput business processes may not be missioncritical but are very popular. Dynamic Content Dynamic content consists of sever requests that are customized for each user.

BUSINESS PROCESSES Business Processes to Test: Mission-Critical Transactions 13

BUSINESS PROCESSES Business Processes to Test: Heavy Throughput 14

BUSINESS PROCESSES Business Processes to Test: Dynamic Content 15

16 BUSINESS PROCESSES Business Process Profile Business Process Name Typical Day Peak day Dynamic content Mission critical Test Sign in 70/hr 210/hr Light High? Create new account Search for flights View flight booking Purchase ticket 10/hr 15/hr Moderate Low? 130/hr 180/hr Moderate Moderate? 20/hr 30/hr Moderate High? 40/hr 90/hr Heavy High?

DOCUMENTATION Documenting User Steps and Input Data 17

DOCUMENTATION Determining Valid Test Data to Use 18

DOCUMENTATION Valid Test Data Sources Valid input data comes from three sources: Master Data Also known as Application Data Data is resident in the application s database Examples: ID numbers and passwords User-Generated Data Originates with the user Examples: new unique ID or email address External Data Data is unknown before the application is run Examples: confirmation and purchase order numbers 19

20 CONCURRENCY Defining Concurrency Concurrency A set of users acting upon an application in a similar manner at the same time. Application Level How many users are active on the system? Business Process Level How many users are buying tickets? Transaction Level How many users are buying tickets NOW?

CONCURRENCY Application Concurrency 21

CONCURRENCY Business Process Concurrency 22

23 CONCURRENCY Transaction Concurrency How many transactions will need to be run per minute if a load test has to be run for two hours with 5000 users, assuming an average transaction length of five minutes? Determine how many transactions run per minute: 120 min / 5 min = 24 iterations for each user 5000 users X 24 iterations = 120,000 transactions 120,000 transactions / 120 minutes = 1000 transactions per minute Apply the transactional concurrency to the application: The test is run during the 10-12 AM time slot The test should consist of 5000 users running 24 iterations The system must be able to handle 1000 transactions per minute

ANALYZING SYSTEM Understanding the System Components 24

ANALYZING SYSTEM Mapping Business Processes to Infrastructure Components 25

MONITORING Monitoring Application Components 26

ENVIRONMENT About the Test Environment A test environment: Allows data to be written, read, and destroyed without affecting production users. Allows test system to be rebooted during test runs without affecting production users. The test environment: Should mirror the production system. Needs business processes that are functioning correctly. Should include Benchmark runs. Must contain sufficient hardware to generate the load test. 27

HP LOADRUNNER SOLUTION Manual Testing is Problematic 28

HP LOADRUNNER SOLUTION The LoadRunner Solution 29

30 LOADRUNNER COMPONENTS LoadRunner s Load Testing Components LR CONTROLLER The Controller is an administrative center for creating, maintaining, and executing Scenarios. The Controller assigns Vusers and load generators to Scenarios, starts and stops load tests, and performs other administrative tasks. LR LOAD GENERATORS Load generators (also known as hosts) are used to run the Vusers that generate load on the application under test. LR ANALYSIS LR Analysis uses the load test results to create graphs and reports that are used to correlate system information, identify bottlenecks, and performance issues.

31 LOADRUNNER COMPONENTS VuGen VuGen Virtual User Generator (VuGen) records Vuser scripts that emulate the steps of real users using the application.

PROTOCOLS Supported Protocols 32

MONITORING PERFORMANCE Supported Performance Monitors 33

34 BENCHMARK Benchmarking Run To validate that there is enough test hardware available in the test environment, benchmark the business processes against the testing hardware. Take a business process and execute a small number of users against the application. Validates the functionality of the business process Potentially exposes unknown data dependencies Evaluate the testing infrastructure against the footprint. Do I have enough hardware to generate the user load? Do I have enough memory? Do I have enough CPUs?

35 Summary Performance Testing Objectives Define Goals, Gather Data & Analyze System HP LoadRunner Solution

36 Questions?

37