LoadRunner Controller User’s Guide - 제니시스기술 Controller User’s Guide, Version 7.6 This manual, and the accompanying software and other documentation, is protected by

Embed Size (px)

Text of LoadRunner Controller User’s Guide - 제니시스기술 Controller User’s Guide, Version 7.6...

  • LoadRunner Controller Users Guide

    Version 7.6

  • LoadRunner Controller Users Guide, Version 7.6

    This manual, and the accompanying software and other documentation, is protected by U.S. and

    international copyright laws, and may be used only in accordance with the accompanying license

    agreement. Features of the software, and of other products and services of Mercury Interactive

    Corporation, may be covered by one or more of the following patents: U.S. Patent Nos. 5,701,139;

    5,657,438; 5,511,185; 5,870,559; 5,958,008; 5,974,572; 6,138,157; 6,144,962; 6,205,122; 6,237,006;

    6,341,310; and 6,360,332. Other patents pending. All rights reserved.

    Mercury Interactive, the Mercury Interactive logo, WinRunner, XRunner, FastTrack, LoadRunner,

    LoadRunner TestCenter, TestDirector, TestSuite, WebTest, Astra, Astra SiteManager, Astra SiteTest,

    Astra QuickTest, QuickTest, Open Test Architecture, POPs on Demand, TestRunner, Topaz, Topaz

    ActiveAgent, Topaz Delta, Topaz Observer, Topaz Prism, Twinlook, ActiveTest, ActiveWatch,

    SiteRunner, Freshwater Software, SiteScope, SiteSeer and Global SiteReliance are registered trademarks

    of Mercury Interactive Corporation or its wholly-owned subsidiaries, Freshwater Software, Inc. and

    Mercury Interactive (Israel) Ltd. in the United States and/or other countries.

    ActionTracker, ActiveScreen, ActiveTune, ActiveTest SecureCheck, Astra FastTrack, Astra LoadTest,

    Change Viewer, Conduct, ContentCheck, Dynamic Scan, FastScan, LinkDoctor, ProTune, RapidTest,

    SiteReliance, TestCenter, Topaz AIMS, Topaz Console, Topaz Diagnostics, Topaz Open DataSource,

    Topaz Rent-a-POP, Topaz WeatherMap, TurboLoad, Visual Testing, Visual Web Display and WebTrace

    are trademarks of Mercury Interactive Corporation or its wholly-owned subsidiaries, Freshwater

    Software, Inc. and Mercury Interactive (Israel) Ltd. in the United States and/or other countries. The

    absence of a trademark from this list does not constitute a waiver of Mercury Interactives intellectual

    property rights concerning that trademark.

    All other company, brand and product names are registered trademarks or trademarks of their

    respective holders. Mercury Interactive Corporation disclaims any responsibility for specifying which

    marks are owned by which companies or which organizations.

    Mercury Interactive Corporation

    1325 Borregas Avenue

    Sunnyvale, CA 94089 USA

    Tel: (408) 822-5200

    Toll Free: (800) TEST-911, (866) TOPAZ-4U

    Fax: (408) 822-5300

    1999 - 2002 Mercury Interactive Corporation, All rights reserved

    If you have any comments or suggestions regarding this document, please send them via e-mail to

    documentation@merc-int.com.

    LRCTRUG7.6/01

  • Table of Contents

    Welcome to LoadRunner......................................................................xi

    Online Resources ..................................................................................xi

    LoadRunner Documentation Set........................................................ xii

    Using the LoadRunner Documentation Set ...................................... xiii

    Typographical Conventions...............................................................xiv

    PART I: UNDERSTANDING LOADRUNNER

    Chapter 1: Introduction .......................................................................3

    Application Load Testing .....................................................................3

    The LoadRunner Solution ....................................................................4

    Using LoadRunner.................................................................................5

    Working with LoadRunner ..................................................................6

    LoadRunner Vuser Technology.............................................................7

    LoadRunner Vuser Types.......................................................................8

    Chapter 2: The LoadRunner Testing Process......................................15

    Step I: Planning the Test ....................................................................16

    Step II: Creating the Vuser Scripts ....................................................16

    Step III: Creating the Scenario ............................................................16

    Step IV: Running the Scenario ...........................................................17

    Step V: Monitoring a Scenario ...........................................................18

    Step VI: Analyzing Test Results ..........................................................18

    Chapter 3: Load Test Planning............................................................19

    About Load Test Planning ...................................................................19

    Analyzing the Application ..................................................................20

    Defining Testing Objectives ................................................................23

    Planning LoadRunner Implementation..............................................25

    Examining Load Testing Objectives....................................................31

    iii

  • LoadRunner Controller Users Guide

    Chapter 4: The LoadRunner Controller at a Glance ...........................35

    Opening the Controller .....................................................................35

    Introducing the LoadRunner Controller ...........................................38

    Managing Scenario Files .....................................................................42

    Running a Scenario ...........................................................................44

    PART II : DESIGNING A SCENARIO

    Chapter 5: Creating a Manual Scenario .............................................49

    About Creating a Scenario ..................................................................50

    Creating Vuser Groups .......................................................................50

    Configuring Vusers in a Vuser Group ................................................56

    Configuring Load Generators ............................................................59

    Configuring Load Generator Settings ................................................62

    Configuring WAN Emulation Settings................................................70

    Configuring Scripts ............................................................................76

    Using Relative Paths for Scripts...........................................................79

    Chapter 6: Creating a Manual Scenario Using the Percentage Mode 81

    About Creating a Manual Scenario Using the Percentage Mode........81

    Defining the Total Number of Vusers ................................................82

    Assigning Properties to Scripts ............................................................83

    Configuring Scripts ............................................................................86

    Converting a Scenario to the Vuser Group Mode...............................89

    Chapter 7: Creating a Goal-Oriented Scenario .................................91

    About Planning a Goal-Oriented Scenario..........................................91

    Defining Scenario Goals .....................................................................94

    Assigning Properties to Scripts ............................................................99

    Configuring Scripts ..........................................................................102

    Chapter 8: Scheduling a Scenario .....................................................107

    About Scenario Scheduling ...............................................................108

    Delaying the Start of a Scenario .......................................................109

    Selecting a Schedule .........................................................................110

    Scheduling a Scenario ......................................................................111

    Scheduling Vuser Groups .................................................................115

    Adding Vusers to a Scheduled Scenario ............................................119

    iv

  • Table of Contents

    Chapter 9: Using Rendezvous Points ...............................................121

    About Using Rendezvous Points .......................................................121

    Setting the Rendezvous Attributes ...................................................123

    Setting the Rendezvous Policy ..........................................................125

    Disabling and Enabling Rendezvous Points......................................127

    Disabling and Enabling Vusers at Rendezvous Points ......................127

    Viewing Rendezvous Information ....................................................129

    Chapter 10: Configuring a Scenario .................................................131

    About Configuring a Scenario...........................................................131

    Configuring Scenario Run-Time Settings..........................................132

    Setting Timeout Intervals .................................................................133

    Setting the Run-Time File Location .................................................136

    Specifying Path Translation .............................................................138

    Chapter 11: Preparing to Run a Scenario .........................................139

    About Preparing to Run a Scenario ................

Recommended

View more >