Transforming LoadRunner Data into Information and Action



Similar documents
Learning More About Load Testing

A closer look at HP LoadRunner software

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

Performance Testing Why and How? Sudheer Parpatakam

Fundamentals of LoadRunner 9.0 (2 Days)

Summer Internship 2013 Group No.4-Enhancement of JMeter Week 1-Report-1 27/5/2013 Naman Choudhary

How To Test A Web Server

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

Performance Testing Process A Whitepaper

Performance Testing of Java Enterprise Systems

Performance Testing Uncovered

Performance And Scalability In Oracle9i And SQL Server 2000

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

Business Application Services Testing

QUALITYMATE FOR LOAD TESTING

Bringing Value to the Organization with Performance Testing

How To Test On The Dsms Application

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

What Is Specific in Load Testing?

Installing SQL Server Express 2008 Version /08/05 sdk

The Association of System Performance Professionals

SOFTWARE PERFORMANCE TESTING SERVICE

Upgrading a Telecom Billing System with Intel Xeon Processors

How To Test For Performance

Web Application s Performance Testing

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

Testhouse Training Portfolio

LR120 LoadRunner 12.0 Essentials

Web Application Testing. Web Performance Testing

SOLUTION BRIEF: SLCM R12.8 PERFORMANCE TEST RESULTS JANUARY, Submit and Approval Phase Results

Available Performance Testing Tools

Load Testing and Monitoring Web Applications in a Windows Environment

Project 2 Performance Testing

Throughput Capacity Planning and Application Saturation

Recommendations for Performance Benchmarking

If a database is using the Simple Recovery Model, only full and differential backups of the database can be taken.

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

HP LoadRunner: Essentials 11

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

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

SOFTWARE TESTING PROCESSES PRESENTATION

Development Best Practices

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

How To Test For Performance And Scalability On A Server With A Multi-Core Computer (For A Large Server)

Performance Workload Design

Performance Testing IBM MQSeries* Infrastructures

Scalability and Performance Report - Analyzer 2007

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

Information Technology Policy

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

HP LoadRunner. Software Version: Ajax TruClient Tips & Tricks

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

APPLICATION DELIVERY LOAD TESTING TO PREDICT WEB PERFORMANCE

LR120 Load Runner 12.0 Essentials Instructor-Led Training Version 12.0

Load Testing Tools. Animesh Das

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

VMware and VSS: Application Backup and Recovery

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

System Requirements and Configuration Options

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

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

MONITORING PERFORMANCE IN WINDOWS 7

A Web Performance Testing Model based on Accessing Characteristics

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

Scalability Factors of JMeter In Performance Testing Projects

White Paper. Recording Server Virtualization

PRODUCT BRIEF 3E PERFORMANCE BENCHMARKS LOAD AND SCALABILITY TESTING

Mobile Performance Testing Approaches and Challenges

Introduction to Enterprise Project Management

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

PrivateWire Gateway Load Balancing and High Availability using Microsoft SQL Server Replication

IBM SAP International Competence Center. Load testing SAP ABAP Web Dynpro applications with IBM Rational Performance Tester

Mohammed Khan SUMMARY

Benchmarking Guide. Performance. BlackBerry Enterprise Server for Microsoft Exchange. Version: 5.0 Service Pack: 4

WhatsUp Gold v11 Features Overview

Login VSI moves into virtual desktop end-user experience with Login PI tool

Load Testing your Banner Systems

Performance Testing Percy Pari Salas

Load Testing How To. Load Testing Overview

Tools for Testing Software Architectures. Learning Objectives. Context

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

How To Test For Elulla

Unprecedented Performance and Scalability Demonstrated For Meter Data Management:

IBM RATIONAL PERFORMANCE TESTER


Pharos Uniprint 8.4. Maintenance Guide. Document Version: UP84-Maintenance-1.0. Distribution Date: July 2013

Performance Navigator Installation

Why Test ITSM Applications for Performance? Webinar

Using HP StoreOnce D2D systems for Microsoft SQL Server backups

Transcription:

2010-02-01

Transforming LoadRunner Data into Information and Action Introduction Today s online web applications need to deliver high efficiency and stability while supporting thousands of users simultaneously. Rather than going live and hoping for the best, it s better to test applications beforehand in a test environment. HP s LoadRunner can help do this by simulating hundreds or thousands of concurrent users applying workloads to a system using relatively few hardware resources. With LoadRunner, a tester can divide performance testing requirements into end user scenarios that replace human users with virtual users (Vusers) and emulate the actions of real users working with an application through a recorded script file. LoadRunner s Vusers generate result data as they perform their scripted transactions. After execution of the script, LoadRunner utilizes the data to generate graphs and reports which can be used to analyze and assess the performance of the application under various load scenarios. LoadRunner, however, has limitations. When testers need information that goes beyond the standard reports or want to do detailed analysis, accessing LoadRunner data is cumbersome. For example, executing the same script and scenario multiple times to do trending analysis or results verification requires the time consuming extraction of raw data from LoadRunner s results files. Addressing this problem requires an in-depth understanding of the features and functions of LoadRunner, plus a keen knowledge of tools and techniques for organizing and managing this data. But it s worth it as this allows for greater in-depth analysis which can lead to easier identification of performance bottlenecks and benchmarking for improvements over time. Using LoadRunner s Database Leveraging LoadRunner s results data beyond the standard reports presents challenges in three key areas: efficiently extracting and saving the data in a user friendly format, managing the data, and performing further analysis. LoadRunner treats the results of each run as a separate data set regardless of which scripts or scenarios the runs use. To extract details such as the run time, script, and scenario, session files need to be opened and reviewed. This is an investigative process since it is not documented where the specific data fields are stored. By default, LoadRunner stores analysis results data in an Access 2000 database. This is good for small single user applications but often testers work as a team running different scenarios simultaneously on different machines. To organize and make better use of such data collected by LoadRunner, the results data should be saved in a multi-user database such as Microsoft SQL Server 2000/2005. Using a full function multi-user database also provides the benefit of many analysis features as part of the product. Connecting LoadRunner to MS SQL 2000 is done through Database Options. However, the configuration for SQL Server 2005 can be tricky, in part due to new security features in SQL Server 2005. SQL Server www.go2group.com Page 2 of 7 Contact Us at sales@go2group.com

2005 enables only a limited number of core features and services by default and requires an administrator to enable other features. To connect with LoadRunner, xp_cmdshell service in SQL Server 2005 has to be enabled, even though it is not in the default list. This service lets LoadRunner synchronize shared and physical server directories. This important tidbit of information is not mentioned in any of LoadRunner s help resources. To get it to work, you need to have a thorough understanding of the security configuration options of SQL Server 2005 (see Figure 1 below). Figure 1 - MS SQL Server 2005 configuration for LoadRunner database connection Find the right Database LoadRunner produces analysis results automatically after a run is completed and a related database for test results, but the database has a meaningless file name. It is hard to determine which database contains the results from the previous test run using only the database instance name. However, you can find the name of the correct results database and other related information in the Session file by selecting File and then Session information in LoadRunner. www.go2group.com Page 3 of 7 Contact Us at sales@go2group.com

[Workspace] SessionStartTime=0 SessionEndTime=1785 VerNo=9 IsSummaryData=0 TimeFormat=0 SesLang=ENU ABuild=947 DataBaseName=resl2222730DB DBType=2 CurrServer=DBServer CurrUser=sa CurrPswd= StorageLoc=\\DBServer\Data\ PhStorageLoc=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ WinIntSec=1 NumResults=1 Figure 2 - Configuration information in a Session file Understanding the Raw Data To make better use of the data stored in the large number of tables available in the LoadRunner database, we need to first determine which tables store the data of interest and which are irrelevant. Some tables have regular names but many others do not. We have found that the regular named tables store meaningful raw data, while tables with irregular names are often repeats of similar data. An example of this is given below. For raw data related to resource usage, there are two relevant tables: WebEvent_meter and Event_map. www.go2group.com Page 4 of 7 Contact Us at sales@go2group.com

Figure 3 - LoadRunner tables with raw data To reuse the result data in those operated tables, we need to examine the table named MasterMap in LoadRunner s result database. This table has 2 important columns named m_table and m_sql as shown below in Figure 4. Figure 4 - MasterMap table www.go2group.com Page 5 of 7 Contact Us at sales@go2group.com

LoadRunner generates m_table according to the SQL statements in m_sql from which the calculations or logical operations performed by LoadRunner can be viewed. A careful examination of the information is then needed to verify that LoadRunner used the data in the tables of m_table to generate related graphs in Analysis. Sometimes the LoadRunner Analysis process generates data in the table which is not correct. After verification, we can store the data in m_table for data mining and further analysis. An Example: Getting Throughput Data As an example, the throughput graph is a standard report in LoadRunner. This shows the amount of throughput during each second of the load test scenario run. It is measured in bytes and represents the amount of data that the Vusers received from the application at any given second. It helps us evaluate the amount of load that Vusers generate. However, if you want to store the results and trend them over time, or do a graph other than the standard graph, you need to extract the data. Now, let s create a Throughput table which is similar to the one generated by LoadRunner. 1. Open MasterMap, and find the m_sql for Throughput table: SELECT From where group by order by Sum([Value]*[Acount])/ G as [SumGAll], G as [Interval - Value], [Describe ID] as [Value - Describe ID], ((( FLOOR( ([End Time]-0)/ G))* G) + 0) as [Granu], 'Throughput' As EventName (WebEvent_meter inner join Event_map on (WebEvent_meter.[Event ID] = Event_map.[Event ID])) ([WebEvent_meter].[Event ID] = 15) [Describe ID], ((( FLOOR( ([End Time]-0)/ G))* G) + 0) ((( FLOOR( ([End Time]-0)/ G))* G) + 0); To gather more details about LoadRunner Analysis graphs, refer to the.def files in the location: disk:\\ \Mercury\LoadRunner\bin\dat Putting It All Together Throughput is just one out of several types of data in LoadRunner. If you want to go beyond the standard graph in LoadRunner and integrate results of different types or do analysis, then you need better results management and data mining capabilities. It is also useful to be able to integrate test results from other commonly used testing tools such as Borland SilkTest, Borland SilkProformer and Mercury WinRunner. For trending analysis, you need to extend dimensions to track important information such as product versions/build numbers, test platform configurations or even test case versions over time. Putting all this www.go2group.com Page 6 of 7 Contact Us at sales@go2group.com

disparate data together into a usable manner will transform it into valuable information that can be used to improve software development processes, verify testing results, and in the end, increase software quality. www.go2group.com Page 7 of 7 Contact Us at sales@go2group.com