How to design a Scenario for Load testing using HP - LoadRunner?
Brief Introduction of Scenario: A scenario is a file containing all the information about groups of Vusers which emulate human users during our testing session.
It is a means through which we emulate a real-life user. When we run a scenario, the Vusers generate load on the server, and LoadRunner monitors the server and transaction performance.
Objective of this article: Is to design a scenario, which can be used to test an application under load. For illustration purpose, we shall create emulate the actions of say ten travel agents concurrently using the flight reservation system and analyze the performance of the system under load.
We shall create a scenario, which will emulate various actions performed by a group of ten travel agents. The user actions can be simultaneously logging on to the system, searching various flights, purchasing the desired flight tickets, checking itineraries and finally logging off the system.
Basic steps for designing a scenario for load testing are as under
Step – 1: Launching LoadRunner & its Controller Module:
a) Open the HP LoadRunner Launcher window by clicking "Start" > "Programs" > "LoadRunner" > "LoadRunner".
b) Open the LoadRunner Controller by clicking "Run Load Tests" In the "Load Testing tab". "New Scenario dialog box" shall open. Here we shall be able to select scripts for our new scenario.
Step – 2: Making a selection of method of creation of scenario: out of two methods like 1) Manual Scenario 2) Goal-Oriented Scenario – in case we wish LoadRunner to create a scenario for us.
In this tutorial we shall select a "Manual Scenario".
Complete Article is available at:
------------- http://www.softwaretestinggenius.com - http://www.softwaretestinggenius.com
A Storehouse of Complete Knowledge on Software Testing & QA under one Roof
|