Load Testing Scenarios Illinois

In real world scenario, the actual users do not log on and off the system exactly at the same time. Here we instruct the LoadRunner users to gradually log on to and off the system by scheduling the scenario.

Local Companies

RSM McGladrey, Inc.
(847) 910-7047
1006 Prairie View Parkway
Hampshire, IL
RSM McGladrey, Inc.
(847) 910-7047
1006 Prairie View Parkway
Hampshire, IL
Equilibrium I T Solutions Inc
(773) 205-0200
5080 N Elston Ave
Chicago, IL
Electron Consulting, Inc.
630-299-4992
Naperville, IL
STL Technology Partners
(309) 699-6389
630 High Point Lane
East Peoria, IL
Heart Technologies, Inc.
(309) 427-7000
3105 N. Main Street
East Peoria, IL
PAETEC
(217) 241-9973
1227 North Olde Farm Road
Peoria, IL
Keystone Steel & Wire Company
(309) 697-7020
7000 SW Adams Street
Peoria, IL
Interlync Internet Services, Inc.
847.803.9030
PO BOX 866
Chicago, IL
Chicago On Call
(312) 464-8116
500 N. Michigan Ave.
Chicago, IL

Provided By:

How to design a Scenario for Load testing using HP - LoadRunner?

Author: yogindernath

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 Tutorial: 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".Select a script out of the list of Scripts already available. Selected Scripts appear in the Scenario pane. Alternatively we can click the "Browse" button & navigate to the desired script ( for example: say basic_script) lying in our known directory.

Step - 3: Adding a script to the load test:

For the sake of illustration here we shall use just one Vuser script describing a single group of users performing identical actions. Whereas in case of real world scenario involving variety of user profiles, we can create different groups running several scripts with different user settings.

Step - 4: Defining the group attributes for the script:

a) Locate the desired script:
Navigate to find out that that our desired script (basic_script in this case) appears in the Group Name column of the Scenario Groups pane.

b) Change Scenario group name: Select the script and click the "Details" button to launch the "Group Information" dialog box. Provide easily understandable enter a more meaningful name, for example travel_agent.

c) Vusers Quantity: Provide the desired number of Vusers intended to be created in the group.

Click "OK" to display the name in the Scenario Groups pane under the Design tab.

Step - 5: Adding a load generator or localhost: for creating load on our application by running the Vusers.

a) For using already available Load Generator:
Click the "Load Generators" button In the Design view to launch the "Load Generators" dialog box.

b) For creating & using a new Load Generator: When the desired load generator does not appear in the list, select "Add" from the Load Generator Name list to launch the "Add New Load Generator" dialog box.



Provide the information like "Name" of the load generator and the type of "Platform" on which the load generator is running. Click "OK" to close the "Add New Load Generator" dialog box.



Involves instructing the Controller to make attempts to connect to the load generator machine.

a) Select "localhost" and click "Connect".

b) When the connection gets established, the status changes from "Down" to "Ready". Click "Close".



Step - 6: Testing the Load Generator Connection:

Step - 7: Scheduling of scenario in schedule pane of the Controller window:


In real world scenario, the actual users do not log on and off the system exactly at the same time. Here we instruct the LoadRunner users to gradually log on to and off the system by scheduling the scenario.


Select "Scenario" radio button under "Schedule by" and select "Real-life schedule" radio button under "Run Mode", in the "Scenario schedule" Dialog Box;

Step - 8: Setting the schedule actions definitions in Actions Grid:


In the Global Schedule Actions Grid four definitions are set.


We need to Double-click on every action in the first column like 1) Initialize 2) Start Vusers 3) Duration 4) End Vusers, one by one in the above Action grid to launch the respective dialog Boxes for defining the settings.

Step - 9: Initializing of Vusers - for getting ready for the load test run by running the vuser_init action in the script & readying the load generators.

Double-click "Initialize" in the Action grid to launch the "Edit Action" dialog box. For this tutorial, select the radio button of "Initialize all Vusers simultaneously".

Step - 10: Starting of Vusers at specified Intervals: Double-click "Start Vusers" in the Action grid to launch the "Edit Action" dialog box.

For this tutorial, feed 8 Vusers in the Start Vusers box, and select the second option box & feed 2 Vusers every 30 seconds.

Step - 11: Specifying a duration: Through "Interactive Schedule Graph" a duration is defined so that the Vusers keep on doing the scheduled action for a specific period thereby enabling us to measure the continuous load on the server.

During the specified duration, the script will keep on doing as much iterations as possible irrespective of the number of iterations defined in the script's run-time settings.

Click the "Duration" in the Action grid or click the horizontal line representing the duration in the graph. The time line gets highlighted and a dot and a diamond appear at its endpoints. Drag the diamond shaped endpoint to set the desired time say 00:11:30. This means that Vusers shall run for a duration of 10 minutes.

Step - 12: Stopping of Vusers - is done gradually.

Double-click "Stop Vusers" in the Action grid to launch the "Edit Action" dialog box.

For this tutorial, select the second option box & feed 2 Vusers every 30 seconds.



Step - 13: Configuring the Run-time settings: to define the behavior of the Vusers during the test.

Click the "Run -Time Settings" button in the "Design" tab. Then select the desired script and modify the following run-time settings if necessary.

a) Run Logic to define the number of times a user repeats a group of actions.



b) Pacing to define the time to wait before repeating an action.

c) Log to define the type of information needed to be captured during the test.

d) Think Time to define the time a user stops to think between steps.

e) Speed Simulation to define network connections like modem, DSL or cable.

f) Browser Emulation to define different browsers.

g) Content Check for automatically detecting user-defined errors.

Step - 14: Enabling think time - Select the "General:Think Time" node. Select "Replay think time" radio button, and select the "Use random percentage of recorded think time" radio button. For this tutorial, specify a minimum of 50% and a maximum of 150%.



Step - 15: Enabling the logging option- Select the "General:Log" node. Select "Enable logging" check Box. In the Log options, select "Always send messages". Select "Extended log" radio button, and select "Data returned by server" check box for this tutorial.

Click "OK" to close the Run -Time settings dialog Box.

Step - 16: Configuring the Windows Resources monitor: To view the performance of every single tier, server and component of the application during the load test in real time.

a) Opening of the Run view - by clicking the "Run" tab in the Controller window to display the Windows Resources graph which is one of four default graphs getting displayed in the graph viewing area.



Right-click the "Windows Resources graph" and select Add Measurements to open the Windows Resources dialog box.

b) Selection of monitored server - Click "Add" In the Monitored Server Machines section of the Windows Resources dialog box to open the "Add Machine" dialog box.



Type "localhost" in the "Name" field & specify the Name of the Platform say Win 2000 in the "Platform" field. Click "OK" to close the "Add Machine" dialog box.

c) Activation of the monitor - by clicking "OK" in the Windows Resources dialog box.

With these steps the design of our Scenario gets complete & becomes ready for the load testing.


About the Author:

Moderator of website http://www.softwaretestinggenius.com

Article Source: http://www.articlesbase.com/information-technology-articles/how-to-design-a-scenario-for-load-testing-using-hp-loadrunner-828287.html

Featured Local Company

RSM McGladrey, Inc.

(847) 910-7047
1006 Prairie View Parkway
Hampshire, IL
http://rsmi.com

RSM McGladrey, Inc. is the 5th largest public accounting and consulting firm with more than 100 offices nationwide. Our firm has 10 offices in North Carolina. We offer a wide variety of Business consulting services including Telecommunications, Call Center, Data Networks, Cable Infrastructure Engineering, Network Security and Business Recovery Planning. We specialize in the healthcare, education, financial institutions, Non-Profit and governmental marketplaces.

Related Articles
- 10 Ways to Help Increase Your Cash Flow Illinois
As any small business owner knows, maintaining smooth cash flow requires juggling nearly every facet of a business, from staying on top of accounts receivable, to extending lines of credit, to managing inventory. The following are 10 things you can do to increase your cash flow.
- 10 Important Facts about Payroll Tax Problems Illinois
- Screening Church Staff And Volunteers Illinois
- How To Format A Resume Illinois
- The Power Of A Mastermind Group Illinois
- 10 Ways to Pay Less in Tax Illinois
- "Assembly Work At Home" Scam Illinois
- Criminal Background Check vs. Background Check Illinois
- At Home Business Opportunities Illinois
- How To Buy Office Furniture On A Tight Budget Illinois
Regional Articles
- Load Testing Scenarios Addison IL
- Load Testing Scenarios Algonquin IL
- Load Testing Scenarios Alsip IL
- Load Testing Scenarios Alton IL
- Load Testing Scenarios Arlington Heights IL
- Load Testing Scenarios Aurora IL
- Load Testing Scenarios Barrington IL
- Load Testing Scenarios Bartlett IL
- Load Testing Scenarios Batavia IL
- Load Testing Scenarios Belleville IL
- Load Testing Scenarios Bellwood IL
- Load Testing Scenarios Belvidere IL
- Load Testing Scenarios Bensenville IL
- Load Testing Scenarios Berwyn IL
- Load Testing Scenarios Bloomingdale IL
- Load Testing Scenarios Bloomington IL
- Load Testing Scenarios Blue Island IL
- Load Testing Scenarios Bolingbrook IL
- Load Testing Scenarios Bourbonnais IL
- Load Testing Scenarios Bridgeview IL
- Load Testing Scenarios Buffalo Grove IL
- Load Testing Scenarios Calumet City IL
- Load Testing Scenarios Carbondale IL
- Load Testing Scenarios Carol Stream IL
- Load Testing Scenarios Carpentersville IL
- Load Testing Scenarios Champaign IL
- Load Testing Scenarios Chicago Heights IL
- Load Testing Scenarios Chicago IL
- Load Testing Scenarios Cicero IL
- Load Testing Scenarios Clarendon Hills IL
- Load Testing Scenarios Collinsville IL
- Load Testing Scenarios Country Club Hills IL
- Load Testing Scenarios Crete IL
- Load Testing Scenarios Crystal Lake IL
- Load Testing Scenarios Danville IL
- Load Testing Scenarios Decatur IL
- Load Testing Scenarios Deerfield IL
- Load Testing Scenarios Dekalb IL
- Load Testing Scenarios Des Plaines IL
- Load Testing Scenarios Dolton IL
- Load Testing Scenarios Downers Grove IL
- Load Testing Scenarios East Moline IL
- Load Testing Scenarios East Peoria IL
- Load Testing Scenarios East Saint Louis IL
- Load Testing Scenarios Edwardsville IL
- Load Testing Scenarios Effingham IL
- Load Testing Scenarios Elgin IL
- Load Testing Scenarios Elk Grove Village IL
- Load Testing Scenarios Elmhurst IL
- Load Testing Scenarios Elmwood Park IL
- Load Testing Scenarios Evanston IL
- Load Testing Scenarios Evergreen Park IL
- Load Testing Scenarios Fairview Heights IL
- Load Testing Scenarios Franklin Park IL
- Load Testing Scenarios Freeport IL
- Load Testing Scenarios Galesburg IL
- Load Testing Scenarios Glen Ellyn IL
- Load Testing Scenarios Glendale Heights IL
- Load Testing Scenarios Glenview IL
- Load Testing Scenarios Godfrey IL
- Load Testing Scenarios Granite City IL
- Load Testing Scenarios Grayslake IL
- Load Testing Scenarios Gurnee IL
- Load Testing Scenarios Harvey IL
- Load Testing Scenarios Harwood Heights IL
- Load Testing Scenarios Hazel Crest IL
- Load Testing Scenarios Highland Park IL
- Load Testing Scenarios Hinsdale IL
- Load Testing Scenarios Homewood IL
- Load Testing Scenarios Jacksonville IL
- Load Testing Scenarios Joliet IL
- Load Testing Scenarios Kankakee IL
- Load Testing Scenarios Kewanee IL
- Load Testing Scenarios La Grange IL
- Load Testing Scenarios Lake Bluff IL
- Load Testing Scenarios Lake Villa IL
- Load Testing Scenarios Lake Zurich IL
- Load Testing Scenarios Lansing IL
- Load Testing Scenarios Lemont IL
- Load Testing Scenarios Libertyville IL
- Load Testing Scenarios Lisle IL
- Load Testing Scenarios Lockport IL
- Load Testing Scenarios Lombard IL
- Load Testing Scenarios Loves Park IL
- Load Testing Scenarios Machesney Park IL
- Load Testing Scenarios Matteson IL
- Load Testing Scenarios Mattoon IL
- Load Testing Scenarios Maywood IL
- Load Testing Scenarios Mchenry IL
- Load Testing Scenarios Melrose Park IL
- Load Testing Scenarios Midlothian IL
- Load Testing Scenarios Mokena IL
- Load Testing Scenarios Moline IL
- Load Testing Scenarios Morris IL
- Load Testing Scenarios Morton Grove IL
- Load Testing Scenarios Morton IL
- Load Testing Scenarios Mount Prospect IL
- Load Testing Scenarios Mundelein IL
- Load Testing Scenarios Murphysboro IL
- Load Testing Scenarios Naperville IL
- Load Testing Scenarios New Lenox IL
- Load Testing Scenarios Niles IL
- Load Testing Scenarios Normal IL
- Load Testing Scenarios North Chicago IL
- Load Testing Scenarios Northbrook IL
- Load Testing Scenarios O Fallon IL
- Load Testing Scenarios Oak Forest IL
- Load Testing Scenarios Oak Lawn IL
- Load Testing Scenarios Oak Park IL
- Load Testing Scenarios Orland Park IL
- Load Testing Scenarios Palatine IL
- Load Testing Scenarios Palos Hills IL
- Load Testing Scenarios Park Forest IL
- Load Testing Scenarios Park Ridge IL
- Load Testing Scenarios Pekin IL
- Load Testing Scenarios Peoria IL
- Load Testing Scenarios Plainfield IL
- Load Testing Scenarios Prospect Heights IL
- Load Testing Scenarios Quincy IL
- Load Testing Scenarios Riverdale IL
- Load Testing Scenarios Rochelle IL
- Load Testing Scenarios Rock Falls IL
- Load Testing Scenarios Rock Island IL
- Load Testing Scenarios Rockford IL
- Load Testing Scenarios Rolling Meadows IL
- Load Testing Scenarios Romeoville IL
- Load Testing Scenarios Roscoe IL
- Load Testing Scenarios Roselle IL
- Load Testing Scenarios Round Lake IL
- Load Testing Scenarios Saint Charles IL
- Load Testing Scenarios Schaumburg IL
- Load Testing Scenarios Skokie IL
- Load Testing Scenarios South Elgin IL
- Load Testing Scenarios South Holland IL
- Load Testing Scenarios Springfield IL
- Load Testing Scenarios Streamwood IL
- Load Testing Scenarios Streator IL
- Load Testing Scenarios Sycamore IL
- Load Testing Scenarios Taylorville IL
- Load Testing Scenarios Tinley Park IL
- Load Testing Scenarios Urbana IL
- Load Testing Scenarios Vernon Hills IL
- Load Testing Scenarios Villa Park IL
- Load Testing Scenarios Waukegan IL
- Load Testing Scenarios West Chicago IL
- Load Testing Scenarios Westchester IL
- Load Testing Scenarios Westmont IL
- Load Testing Scenarios Wheaton IL
- Load Testing Scenarios Wheeling IL
- Load Testing Scenarios Wilmette IL
- Load Testing Scenarios Wood Dale IL
- Load Testing Scenarios Woodridge IL
- Load Testing Scenarios Woodstock IL
- Load Testing Scenarios Zion IL
Related Articles
- Criminal Background Check vs. Background Check Illinois
People are often confused about the difference between a background check and a criminal background check, and rightfully so. There is often little difference because regular background checks and criminal background checks both contain information about criminal history.
- "Assembly Work At Home" Scam Illinois
- 10 Important Facts about Payroll Tax Problems Illinois
- 10 Ways to Pay Less in Tax Illinois
- The Power Of A Mastermind Group Illinois
- Screening Church Staff And Volunteers Illinois
- At Home Business Opportunities Illinois
- How To Format A Resume Illinois
- How To Buy Office Furniture On A Tight Budget Illinois
- 10 Ways to Help Increase Your Cash Flow Illinois
Related Local Events
Virtualization / Consolidation Strategies - Implementation Strategies
Dates: 12/10/2009 - 12/10/2009
Location: The Donald E. Stephens Convention Center
Rosemont, IL
View Details

BIO - International Convention and Exhibition for Biotechnology
Dates: 5/2/2010 - 5/5/2010
Location: McCormick Place
Chicago, IL
View Details

PTXi - Process Technology Expo International
Dates: 5/4/2010 - 5/6/2010
Location: Donald E. Stephens Convention Center
Rosemont, IL
View Details

The CIO Agenda - 2010 and Beyond
Dates: 11/5/2009 - 11/5/2009
Location: The Donald E. Stephens Convention Center
Rosemont, IL
View Details

Information Systems Governance Strategies
Dates: 9/24/2009 - 9/24/2009
Location: The Donald E. Stephens Convention Center
Rosemont, IL
View Details

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Advertising Family Home Services Real Estate Resources
Business Services Fashion Industrial Goods & Services Retail & Consumer Services
Career Financial Services Insurance Software
Cars Food & Beverage Internet Technology
Computer Hardware Franchise Legal Telecommunications
Construction Health Miscellaneous Trade Shows
Education Holidays Nightlife Travel
Entertainment Home Appliances Online Database Weddings
Environmental Home Electronics Pets World History