Load Testing Approach Quick Guide to Plan and Execute Load Test Using Load Runner!

Slides:



Advertisements
Similar presentations
Performance Testing - Kanwalpreet Singh.
Advertisements

Rev SYBASE ASE: MDA TABLE ASSISTANT Sybase Administration Tools available at: mailto:
Snejina Lazarova Senior QA Engineer, Team Lead CRM Team Dimo Mitev Senior QA Engineer, Team Lead SI Team Telerik QA Academy.
Welcome to Load Runner Training Program
Load Runner Mercury Performance Test Tool. Topics to be Covered Why Performance ? Why Performance ? Definitions: Performance Testing Definitions: Performance.
Load Testing Using NeoLoad
  Copyright 2003 by SPAN Technologies. Performance Assessments of Internet Systems By Kishore G. Kamath SPAN Technologies Testing solutions for the enterprise.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
1: Operating Systems Overview
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
©Company confidential 1 Performance Testing for TM & D – An Overview.
CLUSTER WEBLOGIC SERVER. 1.Creating clusters and understanding its concept GETTING STARTED.
Why Performance Testing?
Sitefinity Performance and Architecture
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Selecting and Implementing An Embedded Database System Presented by Jeff Webb March 2005 Article written by Michael Olson IEEE Software, 2000.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Manage Engine: Q Engine. What is it?  Tool developed by Manage Engine that allows one to test web applications using a variety of different tests to.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
1 SilkPerformer – R Prepared by Sriraman K.
SOFTWARE PERFORMANCE TESTING Or: Have We Got Bad Blood?
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Powered by 3PILLAR LABS HAILSTORM 4.0 TM PERFORMANCE REPORT.
Event Management & ITIL V3
LoadRunner SE Guide 김범수 한국비지네스써비스 ( 주 )
Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
BW Know-How Call : Performance Tuning dial-in phone numbers! U.S. Toll-free: (877) International: (612) Passcode: “BW”
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Enhancing - Vuser Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG.
T E S T I N G O P T I M I Z E D 1 Optimus Confidential Performance Testing with LoadRunner Case Study.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
© 2006, National Research Council Canada © 2006, IBM Corporation Solving performance issues in OTS-based systems Erik Putrycz Software Engineering Group.
Virtual Application Profiler (VAPP) Problem – Increasing hardware complexity – Programmers need to understand interactions between architecture and their.
Performance Testing Test Complete. Performance testing and its sub categories Performance testing is performed, to determine how fast some aspect of a.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Understanding Performance Testing Basics by Adnan Khan.
1 Copyright © 2011 Tata Consultancy Services Limited PERFORMANCE TESTING.
EValid LoadTest, eV.manger and Validation. Agenda Load Test capability of eValid How to execute load test by using eValid Introduction to eV.manager Validation.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
Telerik Software Academy Software Quality Assurance.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
Eris Performance & Load Testing. Performance & Load Testing Basics Part 1.
LOAD RUNNER. Product Training Load Runner 3 Examples of LoadRunner Performance Monitors Internet/Intranet Database server App servers Web servers Clients.
IV&VS Capabilities. 2 V IRTUAL USER GENERATOR 3 V IRTUAL U SER T ECHNOLOGY AND ADVANTAGES  Simulates a real user  Requires less resources – machines.
Use Application Insights to Monitor your web application VITALS USE CASE.
CFUNITED – The premier ColdFusion conference Load and Functional Testing Flex 2 and ColdFusion Matthew Stevanus Universal Mind.
Performance Testing - LR. 6/18/20162 Contents Why Load Test Your Web Application ? Functional vs. Load Web Testing Web-Based, Multi-Tiered Architecture.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Bishnu Priya Nanda , Tata Consultancy Services Ltd.
NETSTORM.
Data Virtualization Demoette… Logging in CIS
Software Architecture in Practice
Load Testing January 2018 René Ernst.
Moodle Scalability What is Scalability?
ColdFusion Performance Troubleshooting and Tuning
Performance And Scalability In Oracle9i And SQL Server 2000
PERFORMANCE TESTING.
Load Runner Mercury Performance Test Tool
PERFORMANCE TESTING.
Performance And Scalability In Oracle9i And SQL Server 2000
Presentation transcript:

Load Testing Approach Quick Guide to Plan and Execute Load Test Using Load Runner!

Why Is a Approach Needed? Quality approach work smarter to be faster. Do it right first time, every time. Detailed approach that prevent from getting lost in the “load testing sea”. Use of smart tools load runner.

Conventional Approach Random requirements from management fro load test In-experienced staff No requirements analysis performed for load test Easy to get carried away in load testing

The Approach Perform requirement analysis to get information as –Type of load test –User load estimation –User load distribution –User activity analysis –Production environment analysis –Database size –Report generation –Simple metric collection

Type of Load Test Determine the goal of the test –Do we intent to find the synchronization problems? –Do we intend to perform a load test? Or a stress test? Or a performance test?

Synchronization Problem Tracing Load Test Goal of this test is to determine the synchronous issues and trouble some areas.Goal of this test is to determine the synchronous issues and trouble some areas. This test may need vu-generated scripts with lots of rendezvous points or rendezvous points at each post/action.This test may need vu-generated scripts with lots of rendezvous points or rendezvous points at each post/action.

Load/stress/performance Different type of tests :Different type of tests : –Load test determines how is the performance of application under the concurrent user sessions for typical user scenario. The think time taken into consideration in these test scripts. –Stress test examines how application behaves under maximum load. In simple terms find the upper threshold for the application below which it can work normally. Think time ignored in these tests. –Performance test indicates response time for the entire application from the user’s perspective.

What Do U Want? Do determine what kind of test do you want. Then plan ahead.

User Load Estimation A detailed feed back form the marketing/business development will give a idea of the user load or the number of users using the product. This will determine the load to be used against the product in testing. An inexperienced staff may configure a load test to simulate 1000 v-user but user base for the application may be not more than 400. This may result in licenses being lost for the v-user and time and efforts as well.

User Load Distribution A detailed feed back form the marketing/business development will give a idea of the user load distribution. The user load may be peak in the morning or afternoon and very less in the evening. This may also help determine the concurrent users and simultaneous users.

User Load Distribution This factor will input to the scenarios to be used and configured in the load test. E.G. BD may come up with a user load of 1000 users per day and each grouped to perform certain activity as say 30% in section A of application rest in section B of the application etc.

User Activity Analysis A detailed discussion with marketing/BD may reveal the user activity details on which detailed scripts can be written. E.G. In morning there may be 200 forms submitted or in evening most of the users may login and perform results generation activity so in morning scenario out of 1000 concurrent user, 70% may be performing this activity.

Production Environment Analysis A discussion with the I.T. Department will throw light on deployment environment. This may input valuable information as does the environment have enough hardware? Is it running in a clustered environment?

Production Environment Analysis Mirror the production environment into a test bed. Alternatively create test bed and after load test suggest production environment to management.

Database Size The database size does matter in the load test.The database size does matter in the load test. Bulky the database, more the latency.Bulky the database, more the latency. Define the database size prior to load test e.G. Conducting first set of test on a 50K sized DB then a 100K sized DB and so forth.Define the database size prior to load test e.G. Conducting first set of test on a 50K sized DB then a 100K sized DB and so forth.

Report Generation Generate two types of reportsGenerate two types of reports –Load runner detailed reports for engineering department –Generic reports for the activities performed in the scenario and response time details with other observation and conclusions for the management Generating graphs also helpsGenerating graphs also helps –Helps in tracking per load cycle results –Easy interpretation for people

Simple Metric Collection Basic metrics can be collected as follows: –CPU utilization : should not exceed 60%. –Per page size. This is a indicator of the bulky-ness of the page. Response time for each transaction. –Configuration details. –Test bed details.

Simple Metric Collection –Total hits and hits/second, should not be greater than 20 or request queue details need to be collected. –% Failed transactions, should not be greater than 5%. –Number of processes running on server. –Memory details.

Simple Metric Collection Load runner can be used to collect the above metrics.Load runner can be used to collect the above metrics. Other option is to use O.S. Specific tools.Other option is to use O.S. Specific tools.

Plan on the Above Analysis – Clubbing All Together After the requirement analysis, feed all the data into a test plan.After the requirement analysis, feed all the data into a test plan. Test plan will contain the type of test to perform, test bed details, load/user details and activity scenarios.Test plan will contain the type of test to perform, test bed details, load/user details and activity scenarios.

Plan on Scenarios Plan scenarios for execution based on the above input and different daytime for the day as morning scenario, afternoon scenario etc.Plan scenarios for execution based on the above input and different daytime for the day as morning scenario, afternoon scenario etc. Each scenario may scale to 3 to 4 hours. So activity analysis as number of forms submitted per day etc and time may help to set the number of iteration for each scenario.Each scenario may scale to 3 to 4 hours. So activity analysis as number of forms submitted per day etc and time may help to set the number of iteration for each scenario.

Follow up Action:scripts Create test scripts with vu-generator for the interactive activities to be performed with application.Create test scripts with vu-generator for the interactive activities to be performed with application. Unit test in vu-generator debug mode.Unit test in vu-generator debug mode. Also run the same in 10 user 10 iteration load runner scenario mode. Use the option “show v-user” to check for the activities being performed.Also run the same in 10 user 10 iteration load runner scenario mode. Use the option “show v-user” to check for the activities being performed. Parameterize scripts and co-related them.Parameterize scripts and co-related them. Make scripts dynamic, more efforts to be put in for making dynamic than just co- relating the scripts.Make scripts dynamic, more efforts to be put in for making dynamic than just co- relating the scripts.

More on Scripts Add comments and queries to fetch the parameterized data from database to make it user independent.Add comments and queries to fetch the parameterized data from database to make it user independent. Logs may reveal error which at time may be hidden.Logs may reveal error which at time may be hidden. In runtime settings, use option as mark each step as transaction to prevent adding manually transaction function for each step.In runtime settings, use option as mark each step as transaction to prevent adding manually transaction function for each step.

Configuring Scenarios Recommended to unique create groups, each group is represented by one script.Recommended to unique create groups, each group is represented by one script. Use ramp-up and ramp-down features to prevent instantaneous loads on load test server. Load runner gives one click access to pre-configured “slow ramp-up” and “ramp up” scenario.Use ramp-up and ramp-down features to prevent instantaneous loads on load test server. Load runner gives one click access to pre-configured “slow ramp-up” and “ramp up” scenario. If scripts are dynamic then recommended to use duration based scenario.If scripts are dynamic then recommended to use duration based scenario. More refined control can be achieved for scenario by scheduling by group rather than scheduling by scenario.More refined control can be achieved for scenario by scheduling by group rather than scheduling by scenario.

Configuring Scenarios Enable standard logging.Enable standard logging. One click generator configuration can be performed using load runner.One click generator configuration can be performed using load runner. In runtime settings, use option as mark each step as transaction to prevent adding manually transaction function for each step.In runtime settings, use option as mark each step as transaction to prevent adding manually transaction function for each step. The think time in-between two iterations is recommended in load tests.The think time in-between two iterations is recommended in load tests. Proxy may or may not be needed. Recommended not to use proxy to get a benchmark results first, then run the same scripts though proxy and compare results.Proxy may or may not be needed. Recommended not to use proxy to get a benchmark results first, then run the same scripts though proxy and compare results.

Configuring Scenarios Simulating browser cache option may be turned off to make sure each request is fetched form the server.Simulating browser cache option may be turned off to make sure each request is fetched form the server. Bandwidth throttling may or may not be used as per requirements.Bandwidth throttling may or may not be used as per requirements. Enable web performance graphs option in load runner to monitor at test runtime the results.Enable web performance graphs option in load runner to monitor at test runtime the results.

Configuring Scenarios Disable or enable “continue on error” option. Recommended to enable it for cluster fail-over tests and also regular load test.Disable or enable “continue on error” option. Recommended to enable it for cluster fail-over tests and also regular load test. The option to run v-user as a process or thread may be used as per requirements. Recommended to use option is thread to prevent overhead of the memory and system resources. But also more threads per process makes the process unstable. Load runner allows configuration of number of thread per process for stability.The option to run v-user as a process or thread may be used as per requirements. Recommended to use option is thread to prevent overhead of the memory and system resources. But also more threads per process makes the process unstable. Load runner allows configuration of number of thread per process for stability.

Execute Tests and Report Prepare test bed and execute planned scenarios. Recommended server restart before each test cycle. Generate reports for each cycle.

In a Nutshell Planned approach make life simple and makes load test simple too. Requirement analysis is important activity before starting load test. Metrics are the end results so save results for each cycle and analyze. FLY HIGH with simple minds and simple practices !!

Glossary LR- load runnerLR- load runner O.S. – Operating systemO.S. – Operating system BD – business developmentBD – business development

Q & A