SlideShare a Scribd company logo
Load Testing Approach Quick Guide to Plan and Execute Load Test Using Load Runner! -Ranjit [email_address]
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. 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 : 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. 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.
Report Generation Generate 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 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. 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. 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. 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. 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. Parameterize scripts and co-related them. 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. 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.
Configuring Scenarios 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. 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.
Configuring Scenarios Enable standard logging. 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. 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.
Configuring Scenarios 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. 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. 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 runner O.S. – Operating system BD – business development
Q & A

More Related Content

What's hot (20)

PDF
LoadRunner Performance Testing
Atul Pant
 
PPTX
Loadrunner Interview quetion & answers
Nancy Nelida
 
PPT
Loadrunner presentation
medsherb
 
PPTX
Load Runner
Shama Ahsan
 
PPTX
What is Loadrunner ?
Guru99
 
PPT
Load runner 8.0
medsherb
 
PPTX
HP LoadRunner - What it is and How it works
Dhrumil Patel
 
DOCX
Loadrunner interview questions and answers
Garuda Trainings
 
PPTX
Cloud Performance Testing with LoadRunner
Richard Bishop
 
PDF
LoadRunner walkthrough
Bhuvaneswari Subramani
 
PPTX
QSpiders - Introduction to Performance Testing
Qspiders - Software Testing Training Institute
 
PPT
Performance testing jmeter
Bhojan Rajan
 
PDF
Load testing with Blitz
Lindsay Holmwood
 
PDF
Loadrunner vs Jmeter
Atul Pant
 
PPT
Performance Testing With Loadrunner
vladimir zaremba
 
DOC
Performance testing interview questions updated 090812
chandra sekhar
 
PDF
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
Shay Ginsbourg
 
PDF
Ginsbourg.com - Performance and Load Test Report Template LTR 1.2
Shay Ginsbourg
 
DOC
LoadTracer
omer basha
 
DOCX
Performance testing interview questions and answers
Garuda Trainings
 
LoadRunner Performance Testing
Atul Pant
 
Loadrunner Interview quetion & answers
Nancy Nelida
 
Loadrunner presentation
medsherb
 
Load Runner
Shama Ahsan
 
What is Loadrunner ?
Guru99
 
Load runner 8.0
medsherb
 
HP LoadRunner - What it is and How it works
Dhrumil Patel
 
Loadrunner interview questions and answers
Garuda Trainings
 
Cloud Performance Testing with LoadRunner
Richard Bishop
 
LoadRunner walkthrough
Bhuvaneswari Subramani
 
QSpiders - Introduction to Performance Testing
Qspiders - Software Testing Training Institute
 
Performance testing jmeter
Bhojan Rajan
 
Load testing with Blitz
Lindsay Holmwood
 
Loadrunner vs Jmeter
Atul Pant
 
Performance Testing With Loadrunner
vladimir zaremba
 
Performance testing interview questions updated 090812
chandra sekhar
 
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
Shay Ginsbourg
 
Ginsbourg.com - Performance and Load Test Report Template LTR 1.2
Shay Ginsbourg
 
LoadTracer
omer basha
 
Performance testing interview questions and answers
Garuda Trainings
 

Viewers also liked (16)

PPT
Performance Testing
sharmaparish
 
PPTX
Introduction to performance testing
Tharinda Liyanage
 
PDF
Microservices_vs_SOA
Yakov Liskoff
 
PPT
Soap Vs Rest
sreekveturi
 
PPTX
Oslo Schibsted Performance Gathering
Almudena Vivanco
 
PPTX
A Short History of Performance Engineering
Alexander Podelko
 
PPT
Web test
Raghu Kiran
 
PDF
Understanding Microservice Performance
Rob Harrop
 
PPTX
How to Get Automatic Analysis for Load Test Results
Clare Avieli
 
PPT
Web performance testing
Patrick Meenan
 
PPT
Analyzing Performance Test Data
Optimus Information Inc.
 
PPSX
Performance testing for web applications – techniques, metrics and profiling
TestCampRO
 
PPTX
Performance Test Automation Framework Presentation
Mikhael Gelezov
 
PPTX
Load runner & win runner
Himanshu
 
PPTX
An Introduction to Performance Testing
David Tzemach
 
PPT
Soap vs. rest - which is right web service protocol for your need?
Vijay Prasad Gupta
 
Performance Testing
sharmaparish
 
Introduction to performance testing
Tharinda Liyanage
 
Microservices_vs_SOA
Yakov Liskoff
 
Soap Vs Rest
sreekveturi
 
Oslo Schibsted Performance Gathering
Almudena Vivanco
 
A Short History of Performance Engineering
Alexander Podelko
 
Web test
Raghu Kiran
 
Understanding Microservice Performance
Rob Harrop
 
How to Get Automatic Analysis for Load Test Results
Clare Avieli
 
Web performance testing
Patrick Meenan
 
Analyzing Performance Test Data
Optimus Information Inc.
 
Performance testing for web applications – techniques, metrics and profiling
TestCampRO
 
Performance Test Automation Framework Presentation
Mikhael Gelezov
 
Load runner & win runner
Himanshu
 
An Introduction to Performance Testing
David Tzemach
 
Soap vs. rest - which is right web service protocol for your need?
Vijay Prasad Gupta
 
Ad

Similar to Quick guide to plan and execute a load test (20)

PPTX
QSpiders - Introduction to JMeter
Qspiders - Software Testing Training Institute
 
PDF
Application Performance, Test and Monitoring
Dony Riyanto
 
DOC
Loadrunner Online Training
Srihitha Technologies
 
PPT
PERFTEST.ppt
hemanthKumar954692
 
PPT
PERFTEST.ppt
MeghanaAkkapalli
 
PDF
Load Runner Methodology to Performance Testing
ijtsrd
 
PPTX
QSpiders - Installation and Brief Dose of Load Runner
Qspiders - Software Testing Training Institute
 
PPTX
Neev Load Testing Services
Neev Technologies
 
PPT
JMeter
Md Samsul Kabir
 
PPT
Getting Started with Apache Jmeter
Mindfire Solutions
 
PDF
Load testing web based applications
Jitendra Yadav
 
PPT
advanced_load_runner.ppt
SunilKumar61580
 
PPT
Performance testing material
Keylabstraining Bangalore
 
PPT
Less11 3 e_loadmodule_1
Suresh Mishra
 
DOCX
Load Runner Online Training
QEdge Tech
 
PPT
Load Testing Strategy 101
iradari
 
PDF
Loadtesting wuc2009v2
ravneetraman
 
PPTX
Load Testing: See a Bigger Picture
Alexander Podelko
 
PPT
Performance and load testing
sonukalpana
 
PDF
Performance testing methodologies and tools
Alexander Decker
 
QSpiders - Introduction to JMeter
Qspiders - Software Testing Training Institute
 
Application Performance, Test and Monitoring
Dony Riyanto
 
Loadrunner Online Training
Srihitha Technologies
 
PERFTEST.ppt
hemanthKumar954692
 
PERFTEST.ppt
MeghanaAkkapalli
 
Load Runner Methodology to Performance Testing
ijtsrd
 
QSpiders - Installation and Brief Dose of Load Runner
Qspiders - Software Testing Training Institute
 
Neev Load Testing Services
Neev Technologies
 
Getting Started with Apache Jmeter
Mindfire Solutions
 
Load testing web based applications
Jitendra Yadav
 
advanced_load_runner.ppt
SunilKumar61580
 
Performance testing material
Keylabstraining Bangalore
 
Less11 3 e_loadmodule_1
Suresh Mishra
 
Load Runner Online Training
QEdge Tech
 
Load Testing Strategy 101
iradari
 
Loadtesting wuc2009v2
ravneetraman
 
Load Testing: See a Bigger Picture
Alexander Podelko
 
Performance and load testing
sonukalpana
 
Performance testing methodologies and tools
Alexander Decker
 
Ad

Recently uploaded (20)

PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Practical Applications of AI in Local Government
OnBoard
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 

Quick guide to plan and execute a load test

  • 1. Load Testing Approach Quick Guide to Plan and Execute Load Test Using Load Runner! -Ranjit [email_address]
  • 2. 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.
  • 3. 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
  • 4. 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
  • 5. 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?
  • 6. Synchronization Problem Tracing Load Test 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.
  • 7. Load/stress/performance 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.
  • 8. What Do U Want? Do determine what kind of test do you want. Then plan ahead.
  • 9. 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.
  • 10. 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.
  • 11. 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.
  • 12. 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.
  • 13. 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?
  • 14. Production Environment Analysis Mirror the production environment into a test bed. Alternatively create test bed and after load test suggest production environment to management.
  • 15. Database Size The database size does matter in the load test. 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.
  • 16. Report Generation Generate 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 helps Helps in tracking per load cycle results Easy interpretation for people
  • 17. 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.
  • 18. 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.
  • 19. Simple Metric Collection Load runner can be used to collect the above metrics. Other option is to use O.S. Specific tools.
  • 20. Plan on the Above Analysis – Clubbing All Together 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.
  • 21. Plan on Scenarios 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.
  • 22. Follow up Action:scripts Create test scripts with vu-generator for the interactive activities to be performed with application. 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. Parameterize scripts and co-related them. Make scripts dynamic, more efforts to be put in for making dynamic than just co-relating the scripts.
  • 23. More on Scripts 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. In runtime settings, use option as mark each step as transaction to prevent adding manually transaction function for each step.
  • 24. Configuring Scenarios 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. 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.
  • 25. Configuring Scenarios Enable standard logging. 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. 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.
  • 26. Configuring Scenarios 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. Enable web performance graphs option in load runner to monitor at test runtime the results.
  • 27. Configuring Scenarios 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.
  • 28. Execute Tests and Report Prepare test bed and execute planned scenarios. Recommended server restart before each test cycle. Generate reports for each cycle.
  • 29. 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 !!
  • 30. Glossary LR- load runner O.S. – Operating system BD – business development
  • 31. Q & A