SlideShare a Scribd company logo
1 of 60
PERFORMANCE TESTING USING
LOAD RUNNER
What is performance testing?
Performance testing is testing an application for speed,
stability and scalability in “Production like Environment” under
virtual user load to meet Non-Functional requirements. (NFR’s)
Speed: How fast the application responds to your request. In other
words, Response time should be less
Stability: Performance should not degrade even after using the
Application for very long time.
Scalability: Application’s ability to handle increasing user without
performance degradation
Purpose of Performance Testing
 To identify Performance Bottlenecks
 Functionality of the application should not
be changed under real world conditions Key
Notes: Performance Tester are required to
identify Performance Bottlenecks but not
Defects (Bugs)
LOAD RUNNER
Components of Load Runner
• Virtual User Generator
• Controller
• Analyzer
• Load Generator
Virtual User Generator (VuGen)
• VuGen is the main component of LR which is used
to create scripts to simulate user actions on the AUT.
• Scripts are created in C language of JavaScript
Language.
• The scripts are usually generated by recording the
events between client and server.
• Note: Scripts are executed using VuGen for not
applying the load. It is done only for debugging
purpose.
Controller Controller is configured to
• Number of Vusers
• Number of scripts to be executed.
• Number of LG’s
• Design Ramp up and ramp down
• Define the group name
Load Generator
• Load Generators are systems that will create Virtual
users.
• Depending on the hardware configuration of the LG,
number of Vusers generated by LG changes.
• Consider a case, where LG memory is 500 MB.
Since each Vusers is required to have 2.3 MB of
memory, this LG can support 220 Vusers (Approx)
• In the above case, we might require 5 LG’s to get a
Vusers load of 1000 users
Analyzer
• This component will provide the Test
Results.
• On further analysis of this test results,
one can identify Performance Bottlenecks
of the Application Under Test.
• Test report can also be prepared using
this component.
LoadRunner Architecture &
Installation
Load Runner Architecture
Where to install Load Runner
components?
• In a real time set-up..
 Vugen is installed on the performance tester’s
machine / desktop.
 Controller & LG’s are installed on different
windows machines / servers.
 Note: Each LG requires a separate machine
 Analysis is installed on the performance tester’s
machine / desktop. •
 For our session..
 All the components are installed on your desktop
Identify hardware and software needed
for installation
Installation of LR
•LR can be downloaded from following link
http://www8.hp.com/us/en/software-
solutions/loadrunner-load-testing/try-now.html
• Select Free trail
Installation of LR
• Complete the sign up process
• Download starts
Installation of LR
• Browse to DVD folder and Double click
on set-up file to start the installation
Installation of LR
• Select the required installation option as “Load
Runner Full Setup” and finish the installation.
• Note: Installation process might require latest
version of Java. So, when prompted, go ahead and
install
• Once the installation is complete, all the components
are installed on your desktop
Installation of LR
• For additional help, refer to the “HP LoadRunner
Installation Guide” in the DVD folder
Load Runner Basic Flow
Virtual User Generator
Functioning of Virtual User Generator
Virtual User :
• It is not the real users. It is a tool generated user. In
other words, human users are replaced by virtual
users.
Virtual User Script :
• The actions performed by the human users are
recorded in the form of a script. The scripts, when
replayed emulate the real user performing the business
actions.
Functioning of Virtual User Generator
Each Virtual user script will always have 3 default
transactions.
• Vuser_init:
• Actions:
• Vuser_end:
Steps to Create a Script in VUGEN
Steps to Create a Script
• Understand the AUT
• Record various transactions using VUGEN
• Enhance the script
• Play back to make sure there are no issues with the
script
Protocol Advisor
Protocol Advisor
• Select Record > Protocol Advisor > Analyze
Application.
• Try to walk through a variety of business processes
to make sure that your results are comprehensive.
Click Finish Analyzing to end the analysis and display
the results.
• As per the results, select the protocol and create a
new Vuser Script
Recording Options
Recording Options
• General
Recording
Script
Protocol
Code Generation
• Correlations
Configuration
HTML Based Script Vs URL Based Script
HTML Based Script Vs URL Based Script
HTML Based Script URL Based Script
The script size is small Script size is larger
Preferable when we are
interested in measuring
entire page load time
Based Preferred when
we want to measure
individual page
components (resources,
non resources) load
times
Transactions
Transactions
• Transactions measures the system performance
resulting from one or more user actions
• Only means of measuring application response
time and transaction pass/fail count
Think Time
Think Time
• The delay caused by the user between two
subsequent requests is called think time
• Inserted automatically by VuGen during recording
depending upon the Recording Options
Comments
Comments
• A comment can be added to provide additional
information on the script
• For inserting comments use
//
/* ……..*/
Check Points
Check Points
• Two types of Check Points are available
with VuGen
Text CP
Image CP
• It verifies if a particular text or image is
present on the web page.
• By adding the Check Point, one can
confirm if a particular transaction has
passed or failed.
Text checkpoints
Text checkpoints
• Check Point is placed on a particular text
available on the Web Page.
• Web_reg_find() function is used for
inserting the text check point
Image Check Point
Image Check Point
• Check Point is placed by using a ALT
or SRC attribute of a particular image
available on the Web Page.
• web_image_check() function is used
for inserting the text check point
Rendezvous Point
Rendezvous Point
• Rendezvous point is used to synchronize all the
Vusers to perform a particular transaction at the same
point of time.
• When a Vuser reaches the rendezvous point, the
Controller holds execution of the Vuser until all the
other participating Vusers reach the point.
• When all the participating vusers reach the
rendezvous point, these Vusers will be released all at
once to create a spike.
Parameterization
Parameterization
• It is a process by which a hard coded value is
replaced with a parameter in the script.
• This option helps the script to execute with multiple
values, thereby, simulating a real time scenario
Parameterization Steps Involved for
Parametrization
• Create a Parameter
• Assign the values to the Parameter
• Replace the Hard-coded values in the script with
these Parameters
Correlation
Correlation
• There are some dynamic values in the script which
changes from iteration to iteration.
• Since these values are dynamic in nature, their value
changes with each execution.
• So, there is a need for these dynamic values to be
captured from server response and pass it
subsequently to any part of script.
• Process of capturing these values using
web_Reg_Save_param_Ex function and pass it
wherever required is called correlation.
Automatic Correlation
Automatic Correlation
• Scan the script for identifying the values to be
correlated
• Vugen will provide the recommendations.
• Click on the value to be correlated and click on
“Apply”
Manual Correlation
Manual Correlation
• Identify the values to be correlated : Record the
same script twice and compare both the recordings
to identify the values
• Search for that value in the server response: Once,
the value is identified, check for that value in the
server response to identify left boundary and right
boundary
• Correlate: Correlate that value using
web_Reg_save_param_ex using LB and RB
• Replace: Replace the dynamic value present in
the script with the LR parameter of correlation
function.
Defining Rules for Correlation
Defining Rules for Correlation
• Rules can defined in the recording options for the
automatic correlation.
• This feature is useful, if your project contains lot of
scripts and there is necessity to correlate same values
multiple time.
Run Time Settings
Run Time Settings
• Run logic
• Pacing
• Log
• Think Time
• Speed Emulation
• Browser Emulation
• Preferences
Other Miscellaneous options
Other Miscellaneous options
•Logs
• Replay
• Recording
• Generation
Regenerating the Script
• Using this option, Script can be regenerated without
doing the recording again.
PERFORMANCE  TESTING  USING  LOAD RUNNER

More Related Content

What's hot

RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsQASymphony
 
Azure Durable Functions
Azure Durable FunctionsAzure Durable Functions
Azure Durable FunctionsKarthikeyan VK
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunnerKumar Gupta
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with PostmanPostman
 
How to Get Started With NGINX
How to Get Started With NGINXHow to Get Started With NGINX
How to Get Started With NGINXNGINX, Inc.
 
Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)Mindfire Solutions
 
Ginsbourg.com - Performance and load test report template ltr 2.0
Ginsbourg.com - Performance and load test report template ltr 2.0Ginsbourg.com - Performance and load test report template ltr 2.0
Ginsbourg.com - Performance and load test report template ltr 2.0Shay Ginsbourg
 
API Test Automation
API Test Automation API Test Automation
API Test Automation SQALab
 
Web Services and Introduction of SOAPUI
Web Services and Introduction of SOAPUIWeb Services and Introduction of SOAPUI
Web Services and Introduction of SOAPUIDinesh Kaushik
 
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem OverviewTOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem OverviewOpenTOSCA
 
Automation Testing With Appium
Automation Testing With AppiumAutomation Testing With Appium
Automation Testing With AppiumKnoldus Inc.
 
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...MinhTrnNht7
 

What's hot (20)

Tosca explained
Tosca explainedTosca explained
Tosca explained
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 
Azure Durable Functions
Azure Durable FunctionsAzure Durable Functions
Azure Durable Functions
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with Postman
 
Postman
PostmanPostman
Postman
 
How to Get Started With NGINX
How to Get Started With NGINXHow to Get Started With NGINX
How to Get Started With NGINX
 
Robot framework and selenium2 library
Robot framework and selenium2 libraryRobot framework and selenium2 library
Robot framework and selenium2 library
 
Neoload
Neoload Neoload
Neoload
 
Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)
 
Java Logging
Java LoggingJava Logging
Java Logging
 
Ginsbourg.com - Performance and load test report template ltr 2.0
Ginsbourg.com - Performance and load test report template ltr 2.0Ginsbourg.com - Performance and load test report template ltr 2.0
Ginsbourg.com - Performance and load test report template ltr 2.0
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Test studio
Test studioTest studio
Test studio
 
Web Services and Introduction of SOAPUI
Web Services and Introduction of SOAPUIWeb Services and Introduction of SOAPUI
Web Services and Introduction of SOAPUI
 
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem OverviewTOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview
TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview
 
Chef Cookbook Workflow
Chef Cookbook WorkflowChef Cookbook Workflow
Chef Cookbook Workflow
 
Automation Testing With Appium
Automation Testing With AppiumAutomation Testing With Appium
Automation Testing With Appium
 
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
 

Similar to PERFORMANCE TESTING USING LOAD RUNNER

Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Hima Bindu Kosuru
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answersGaruda Trainings
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.pptSunilKumar61580
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runnertelab
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxssuser20fcbe
 
Introduction to GOCD - Amulya Sharma
Introduction to GOCD - Amulya SharmaIntroduction to GOCD - Amulya Sharma
Introduction to GOCD - Amulya SharmaAmulya Sharma
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runnerHimanshu
 
Laravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsLaravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsMuhammad Shehata
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kckrishna chaitanya
 
Azure appservice
Azure appserviceAzure appservice
Azure appserviceRaju Kumar
 
Hsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfHsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfAAFREEN SHAIKH
 
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...Agile Testing Alliance
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)Lokesh Singrol
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Knoldus Inc.
 

Similar to PERFORMANCE TESTING USING LOAD RUNNER (20)

Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter
 
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.ppt
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
 
Load testing
Load testingLoad testing
Load testing
 
Introduction to Go
Introduction to GoIntroduction to Go
Introduction to Go
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
 
Introduction to GOCD - Amulya Sharma
Introduction to GOCD - Amulya SharmaIntroduction to GOCD - Amulya Sharma
Introduction to GOCD - Amulya Sharma
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
 
LoadTracer
LoadTracer LoadTracer
LoadTracer
 
Laravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsLaravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and Tools
 
JMeter
JMeterJMeter
JMeter
 
Performance testing with loadrunner by kc
Performance testing with loadrunner by kcPerformance testing with loadrunner by kc
Performance testing with loadrunner by kc
 
Azure appservice
Azure appserviceAzure appservice
Azure appservice
 
Hsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdfHsc IT Chap 3. Advanced javascript-1.pdf
Hsc IT Chap 3. Advanced javascript-1.pdf
 
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 

Recently uploaded

Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 

Recently uploaded (20)

Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 

PERFORMANCE TESTING USING LOAD RUNNER

  • 2. What is performance testing? Performance testing is testing an application for speed, stability and scalability in “Production like Environment” under virtual user load to meet Non-Functional requirements. (NFR’s) Speed: How fast the application responds to your request. In other words, Response time should be less Stability: Performance should not degrade even after using the Application for very long time. Scalability: Application’s ability to handle increasing user without performance degradation
  • 3. Purpose of Performance Testing  To identify Performance Bottlenecks  Functionality of the application should not be changed under real world conditions Key Notes: Performance Tester are required to identify Performance Bottlenecks but not Defects (Bugs)
  • 5. Components of Load Runner • Virtual User Generator • Controller • Analyzer • Load Generator
  • 6. Virtual User Generator (VuGen) • VuGen is the main component of LR which is used to create scripts to simulate user actions on the AUT. • Scripts are created in C language of JavaScript Language. • The scripts are usually generated by recording the events between client and server. • Note: Scripts are executed using VuGen for not applying the load. It is done only for debugging purpose.
  • 7. Controller Controller is configured to • Number of Vusers • Number of scripts to be executed. • Number of LG’s • Design Ramp up and ramp down • Define the group name
  • 8. Load Generator • Load Generators are systems that will create Virtual users. • Depending on the hardware configuration of the LG, number of Vusers generated by LG changes. • Consider a case, where LG memory is 500 MB. Since each Vusers is required to have 2.3 MB of memory, this LG can support 220 Vusers (Approx) • In the above case, we might require 5 LG’s to get a Vusers load of 1000 users
  • 9. Analyzer • This component will provide the Test Results. • On further analysis of this test results, one can identify Performance Bottlenecks of the Application Under Test. • Test report can also be prepared using this component.
  • 12. Where to install Load Runner components? • In a real time set-up..  Vugen is installed on the performance tester’s machine / desktop.  Controller & LG’s are installed on different windows machines / servers.  Note: Each LG requires a separate machine  Analysis is installed on the performance tester’s machine / desktop. •  For our session..  All the components are installed on your desktop
  • 13. Identify hardware and software needed for installation
  • 14. Installation of LR •LR can be downloaded from following link http://www8.hp.com/us/en/software- solutions/loadrunner-load-testing/try-now.html • Select Free trail
  • 15. Installation of LR • Complete the sign up process • Download starts
  • 16. Installation of LR • Browse to DVD folder and Double click on set-up file to start the installation
  • 17. Installation of LR • Select the required installation option as “Load Runner Full Setup” and finish the installation. • Note: Installation process might require latest version of Java. So, when prompted, go ahead and install • Once the installation is complete, all the components are installed on your desktop
  • 18. Installation of LR • For additional help, refer to the “HP LoadRunner Installation Guide” in the DVD folder
  • 21. Functioning of Virtual User Generator Virtual User : • It is not the real users. It is a tool generated user. In other words, human users are replaced by virtual users. Virtual User Script : • The actions performed by the human users are recorded in the form of a script. The scripts, when replayed emulate the real user performing the business actions.
  • 22. Functioning of Virtual User Generator Each Virtual user script will always have 3 default transactions. • Vuser_init: • Actions: • Vuser_end:
  • 23. Steps to Create a Script in VUGEN
  • 24. Steps to Create a Script • Understand the AUT • Record various transactions using VUGEN • Enhance the script • Play back to make sure there are no issues with the script
  • 26. Protocol Advisor • Select Record > Protocol Advisor > Analyze Application. • Try to walk through a variety of business processes to make sure that your results are comprehensive. Click Finish Analyzing to end the analysis and display the results. • As per the results, select the protocol and create a new Vuser Script
  • 27.
  • 29. Recording Options • General Recording Script Protocol Code Generation • Correlations Configuration
  • 30. HTML Based Script Vs URL Based Script
  • 31. HTML Based Script Vs URL Based Script HTML Based Script URL Based Script The script size is small Script size is larger Preferable when we are interested in measuring entire page load time Based Preferred when we want to measure individual page components (resources, non resources) load times
  • 33. Transactions • Transactions measures the system performance resulting from one or more user actions • Only means of measuring application response time and transaction pass/fail count
  • 35. Think Time • The delay caused by the user between two subsequent requests is called think time • Inserted automatically by VuGen during recording depending upon the Recording Options
  • 37. Comments • A comment can be added to provide additional information on the script • For inserting comments use // /* ……..*/
  • 39. Check Points • Two types of Check Points are available with VuGen Text CP Image CP • It verifies if a particular text or image is present on the web page. • By adding the Check Point, one can confirm if a particular transaction has passed or failed.
  • 41. Text checkpoints • Check Point is placed on a particular text available on the Web Page. • Web_reg_find() function is used for inserting the text check point
  • 43. Image Check Point • Check Point is placed by using a ALT or SRC attribute of a particular image available on the Web Page. • web_image_check() function is used for inserting the text check point
  • 45. Rendezvous Point • Rendezvous point is used to synchronize all the Vusers to perform a particular transaction at the same point of time. • When a Vuser reaches the rendezvous point, the Controller holds execution of the Vuser until all the other participating Vusers reach the point. • When all the participating vusers reach the rendezvous point, these Vusers will be released all at once to create a spike.
  • 47. Parameterization • It is a process by which a hard coded value is replaced with a parameter in the script. • This option helps the script to execute with multiple values, thereby, simulating a real time scenario Parameterization Steps Involved for Parametrization • Create a Parameter • Assign the values to the Parameter • Replace the Hard-coded values in the script with these Parameters
  • 49. Correlation • There are some dynamic values in the script which changes from iteration to iteration. • Since these values are dynamic in nature, their value changes with each execution. • So, there is a need for these dynamic values to be captured from server response and pass it subsequently to any part of script. • Process of capturing these values using web_Reg_Save_param_Ex function and pass it wherever required is called correlation.
  • 51. Automatic Correlation • Scan the script for identifying the values to be correlated • Vugen will provide the recommendations. • Click on the value to be correlated and click on “Apply”
  • 53. Manual Correlation • Identify the values to be correlated : Record the same script twice and compare both the recordings to identify the values • Search for that value in the server response: Once, the value is identified, check for that value in the server response to identify left boundary and right boundary • Correlate: Correlate that value using web_Reg_save_param_ex using LB and RB • Replace: Replace the dynamic value present in the script with the LR parameter of correlation function.
  • 54. Defining Rules for Correlation
  • 55. Defining Rules for Correlation • Rules can defined in the recording options for the automatic correlation. • This feature is useful, if your project contains lot of scripts and there is necessity to correlate same values multiple time.
  • 57. Run Time Settings • Run logic • Pacing • Log • Think Time • Speed Emulation • Browser Emulation • Preferences
  • 59. Other Miscellaneous options •Logs • Replay • Recording • Generation Regenerating the Script • Using this option, Script can be regenerated without doing the recording again.