Performance Testing Mobile and Multi-Tier Applications

Similar documents
MERAKI WHITE PAPER Cloud + Wireless LAN = Easier + Affordable

How To Test A Web Server

Business Application Services Testing

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Enhancing Performance Test Strategy for Mobile Applications

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

Chapter 1 - Web Server Management and Cluster Topology

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

Open Source and Commercial Performance Testing Tools

SILVER PEAK ACCELERATION WITH EMC VSPEX PRIVATE CLOUD WITH RECOVERPOINT FOR VMWARE VSPHERE

APPOSITE TECHNOLOGIES Smoothing the Transition to 10 Gbps. WAN Emulation Made Easy

Bringing Value to the Organization with Performance Testing

VIA COLLAGE Deployment Guide

FatPipe Networks

Evaluation of Load/Stress tools for Web Applications testing

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Citrix MetaFrame Presentation Server 3.0 and Microsoft Windows Server 2003 Value Add Feature Guide

Best Practices for Selecting WAN Optimization Solutions: Benchmarking Performance ROI. A Shunra Software White Paper

Cisco Application Networking for IBM WebSphere

Guideline for stresstest Page 1 of 6. Stress test

VIA CONNECT PRO Deployment Guide

Performance Testing Process A Whitepaper

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

Datasheet iscsi Protocol

Performance Testing Process

Application. Performance Testing

Intelligent Routing Platform White Paper

How To Test For Performance

This document describes how the Meraki Cloud Controller system enables the construction of large-scale, cost-effective wireless networks.

Load Testing Analysis Services Gerhard Brückl

MySQL Enterprise Edition Most secure, scalable MySQL Database, Online Backup, Development/Monitoring Tools, backed by Oracle Premier Lifetime Support

Choosing Application Performance Management (APM) Tools

Performance Testing IBM MQSeries* Infrastructures

SOFTWARE PERFORMANCE TESTING SERVICE

Web Application Testing. Web Performance Testing

APPLICATION PERFORMANCE MONITORING


Application Performance Management for Enterprise Applications

SUNYIT. Reaction Paper 2. Measuring the performance of VoIP over Wireless LAN

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

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

Informatica Data Director Performance

Load and Performance Load Testing. RadView Software October

CloudLink - The On-Ramp to the Cloud Security, Management and Performance Optimization for Multi-Tenant Private and Public Clouds

Performance And Scalability In Oracle9i And SQL Server 2000

IERG 4080 Building Scalable Internet-based Services

CISCO IOS IP SERVICE LEVEL AGREEMENTS: ASSURE THE DELIVERY OF IP SERVICES AND APPLICATIONS

Installation Prerequisites for MetaFrame Presentation Server 3.0

SLA para aplicaciones en redes WAN. Alvaro Cayo Urrutia

Web Application s Performance Testing

What Is Specific in Load Testing?

Chapter 9 Understanding Complex Networks

PRTG NETWORK MONITOR. Installed in Seconds. Configured in Minutes. Master Your Network for Years to Come.

Using HP StoreOnce Backup systems for Oracle database backups

White Paper. Cloud Performance Testing

Cisco Application Networking for BEA WebLogic

Performance Tuning Guide for ECM 2.0

Cloud Based Application Architectures using Smart Computing

PRTG NETWORK MONITOR. Installed in Seconds. Configured in Minutes. Masters Your Network for Years to Come.

#9011 GeoMedia WebMap Performance Analysis and Tuning (a quick guide to improving system performance)

Mobile Performance Testing Approaches and Challenges

PANDORA FMS NETWORK DEVICES MONITORING

Understanding the Benefits of IBM SPSS Statistics Server

Choosing Tap or SPAN for Data Center Monitoring

Veritas Cluster Server from Symantec

New Relic & JMeter - Perfect Performance Testing

EMX-2500 DATA SHEET FEATURES GIGABIT ETHERNET REMOTE CONTROLLER FOR PXI EXPRESS MAINFRAMES SYSTEM LEVEL FUNCTIONALITY

Testing Network Virtualization For Data Center and Cloud VERYX TECHNOLOGIES

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

Cisco Application Networking for Citrix Presentation Server

Performance Testing of Java Enterprise Systems

PRTG NETWORK MONITOR. Installed in Seconds. Configured in Minutes. Masters Your Network for Years to Come.

Module 5 Introduction to Processes and Controls

Introduction to Performance Measurements and Monitoring. Vinayak

Choosing A Load Testing Strategy Why and How to Optimize Application Performance

PANDORA FMS NETWORK DEVICE MONITORING

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

Load Testing with JMeter

High Availability Essentials

Network performance in virtual infrastructures

Service Level Agreements for VoIP Alan Clark CEO, Telchemy

Performance Testing. Why is important? An introduction. Why is important? Delivering Excellence in Software Engineering

Virtuoso and Database Scalability

WhatsUp Gold v16.3 Installation and Configuration Guide

Managing your Red Hat Enterprise Linux guests with RHN Satellite

STeP-IN SUMMIT June 2014 at Bangalore, Hyderabad, Pune - INDIA. Mobile Performance Testing

Testing Intelligent Device Communications in a Distributed System

BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2. Feature and Technical Overview

Client Hardware and Infrastructure Suggested Best Practices

Priority Pro v17: Hardware and Supporting Systems

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

Security in a DISA Architecture Systems Management in a DISA Architecture DISA Testing and Evaluation DISA: Small Business to Enterprise Summary

Networking Best Practices Guide. Version 6.5

Performance Analysis of Web based Applications on Single and Multi Core Servers

Transcription:

mverify A Million Users in a Box Performance Testing Mobile and Multi-Tier Applications Chicago Quality Assurance Association June 26, 2007 Robert V. Binder mverify Corporation Bob_Binder@mverify.com 312 881-7337 x1001 www.mverify.com

Goals of Performance Testing Validate time requirements/expectations Validate utilization requirements/expectations Validate capacity requirements/expectations Reveal load-related bugs Prove compliance: SLAs, contracts, competitive rankings Fire-drill for recovery Assess robustness to shocks 2007 mverify Corporation www.mverify.com 2

Business Impact/ROI In 2002, slow e-commerce downloads lead to an estimated $25 billion of abandoned transactions In 2005, Google s 15 minute outage estimated to have cost at least $150,000 in lost ad revenue Recent study: nearly two-thirds of mobile employees rank poor response time as a significant inhibitor to working remotely over a VPN 2007 mverify Corporation www.mverify.com 3

Business Impact/ROI Avoidable Costs Lost revenue Lost user productivity Lost IT productivity Overtime payments Wasted goods Fines Solution Cost Software Tools Hardware Staffing Services Training Risk Mitigation Enterprise demise Law Suits Negative Publicity Personnel morale One 9 Two 9s Three 9s Four 9s Five 9s Six 9s IBM. "Maximizing Web site Availability," February 2002 2007 mverify Corporation www.mverify.com 4

Basic Objectives: RASP Reliability Availability Scalability Probability of a failure occurring within a certain period of time Percent achieved up-time, not including scheduled downtime The range load for which an incremental input consumes the same resources Performance The rate at which work is done 2007 mverify Corporation www.mverify.com 5

Reliability Reliability: probability of non-failure Total operational hours or transactions Entire user population Can be estimated during test, if tests are sufficiently realistic 2007 mverify Corporation www.mverify.com 6

Availability the nines Annual Unscheduled Downtime Six nines 99.9999% 32 seconds five nines 99.999% 5 minutes four nines 99.99% 53 minutes Three nines 99.9% 8.8 hours two nines 99% 87 hours (3.6 days) One nine 90% 876 hours (36 days) Availability = percent up-time MTTR: mean time to recover, repair, restart Availability = 1 / 1 + (MTTR Reliability) 2007 mverify Corporation www.mverify.com 7

Some Data Points Reliability (Failures/million hours) Availability, 6 min MTTR NT 4.0 Desktop 82,000 0.999000000 Windows 2K Server 36,013 0.999640000 Common Light Bulb 1,000 0.999990000 Stepstone OO Framework 5 0.999999500 Telelabs Digital Cross Connect 3 0.999999842 2007 mverify Corporation www.mverify.com 8

Performance Metrics Response Time Round-trip time Throughput Aggregate transaction processing rate Utilization Average % busy Failure Intensity Recovery Time Avg Resp, Sec Trans/Sec 0% 100% Utilization 2007 mverify Corporation www.mverify.com 9

Strategies Performance Testing Assess compliance with performance goals Assess compliance with resource utilization goals Provides data to estimate reliability, availability Stress Testing, Load Testing Assess response to over-load scenarios Assess recovery from failure modes 2007 mverify Corporation www.mverify.com 10

Strategies Benchmarks Assess throughput for open standard test suite Scalability Assess performance linearity Profiling Identify utilization bottlenecks by component 2007 mverify Corporation www.mverify.com 11

Typical Server Side Setup Emulated Emulated Server(s) Under Test Internal LAN Emulated 2007 mverify Corporation www.mverify.com 12

Issues Emulation Machines Synchronization, overall test execution Capacity Multi-homed, test control subnet Test vs. Production Systems Separate server farm? Network contention Isolation versus scale/scope Version/Configuration control System under test Test environment Database set/reset 2007 mverify Corporation www.mverify.com 13

Issues Actual end-user/customer experience? Network latency, QoS Thin clients? Browser, client software versions OS? 2007 mverify Corporation www.mverify.com 14

Edge Monitoring Emulated Emulated Server(s) Under Test Monitored Internal LAN Internet Emulated Monitored 2007 mverify Corporation www.mverify.com 15

Issues Monitoring Machines Synchronization Achieving desired test input at desired time Capacity Data collection Availability Security (beta test agreement?) Network configuration DMZ Equipment, setup, security considerations 2007 mverify Corporation www.mverify.com 16

Connectivity a Wild Card Emulated Emulated Emulated Internal LAN Server (s) Under Test Random latency, jitter, lost packets, re-ordered packets, re-routed packets, duplicate packets, bandwidth restrictions, bit-error, background load, QoS, operational events Internet Monitored Monitored 2007 mverify Corporation www.mverify.com 17

Controlled Connectivity Emulated Emulated Emulated Internal LAN Server (s) Under Test Controlled latency, jitter, lost packets, re-ordered packets, re-routed packets, duplicate packets, bandwidth restrictions, biterror, background load, QoS, operational events Network Emulator Monitored Monitored 2007 mverify Corporation www.mverify.com 18

Issues Complexity Impairment modeling Impairment emulator programming Coordination with emulated clients Coordination with monitored clients Specialized Skills Wire Shark (Ethereal) TCP log analysis 2007 mverify Corporation www.mverify.com 19

How to Maximize Reliability Combine realistic functional and load testing Representative variation in load and usage Supports reliability/availability estimation Saves time: more test goals supported with fewer tests Typically effective in finding weird bugs Security? Add abuse cases to the usage profile Interleave with normal traffic You play like you practice 2007 mverify Corporation www.mverify.com 20

Events Per Second Use Dynamic Loading The real world isn t flat Vary behavior rate for actor/actor group Arc Flat Internet fractal Negative ramp Positive ramp Random Spikes Square wave Waves 3000.000 2500.000 2000.000 1500.000 1000.000 500.000 0.000-5000 0 5000 10000 15000 20000 25000-500.000 Time (seconds) Actual Waves Loading 2007 mverify Corporation www.mverify.com 21

Case Study Event Simulator Script Writer SilkTest Java GUI DB Test Object Serializer Java Driver Java API Java Servers TX Formatter 3270 Driver MainFrame Test Oracle Custom Test Component 3 rd Party Product System Under Test Test Run Reports Comparator 2007 mverify Corporation www.mverify.com 22

Case Study Every test run unique and realistic Simulated user behavior to generate transactions Automatically submit in real time ~100,000 test cases per hour ~200 complete daily cycles Evaluated functionality and performance Controlled distributed heterogeneous test agents (Java, 4Test, Perl, SQL, Prolog) driving Java/CORBA GUI/API Five person team, huge productivity increase Achieved proven high reliability Last pre-release test run: ~500,000 events in two hours, no failures detected No production failures 2007 mverify Corporation www.mverify.com 23

Notes Capture/replay scripts Static think-time Can distort load and response time Performance Analysis Neil Gunther books and web site 2007 mverify Corporation www.mverify.com 24

Tools Open Source opensta PushToTest Grinder http://opensourcetesting.org/performance.php Scripting systems: Tcl, Perl, Ruby, Python Built-in Windows Perfmon *nix SNMP, others 2007 mverify Corporation www.mverify.com 25

mverify Testing System End-to-End Edge to Core Integrated functional and performance testing Test objects XML performance measurements Adapters for Windows Mobile, Web Services, ODBC, *nix command line Forthcoming Profile-based test generation Adapters and plug-ins for many other platforms 2007 mverify Corporation www.mverify.com 26

MTS/RPM Console Host Agent Host MTS Console TEST RUN REPORTS MTS Test Agent Agent Host MTS Test Agent MTS Remote Agent RPM Plug In Under Test MTS Remote Agent RPM Plug In Host Under Test Under Test MTS Remote Agent RPM Plug In Server Host Under Test Server Under Test Host Under Test MTS Remote Agent Host Under Test may be RPM Server ü Cell Phone Plug In Under Test ü PDA ü Desktop Server Host Under Test ü Server ü Embedded Processor ü Network Equipment ü Access Point ü Base Station 2007 mverify Corporation www.mverify.com 27

MTS/RPM Integrates Functional and Performance Test MTS 1.5: RPM Plug-in for Windows Mobile Plug-ins for Win32, *nix coming soon 2007 mverify Corporation www.mverify.com 28

Q & A 2007 mverify Corporation www.mverify.com 29