create a scenario _____________________________________________________________________________________ create a scenario we open the load runner controller. select start > programs > loadrunner > controller the following window appears.
since we donot have an existing scenario. we open a new scenario.
1
create a scenario _____________________________________________________________________________________ the following screen appears
note that the controller window has four tabs this corresponds to four views. see page 37 of controller user’s guide for details and explanations.
2
create a scenario _____________________________________________________________________________________ click the hosts tab. the following window opens with one host called localhost.
digression : opening an existing scenario and saving a scenario are discussed in the manual controller user’s guide pages 39,40.
3
create a scenario _____________________________________________________________________________________ now let us add our script to the scenario. click scripts tab in the controller window. now the controller menu bar shows “scripts” menu. select scripts > add as shown in the screen.
4
create a scenario _____________________________________________________________________________________ the following window appears.
5
create a scenario _____________________________________________________________________________________ click the browse button to the right of the path box. the open test dialog box appears. once you select the path and the file name of the new script, note that the “run_time settings” button becomes activated. click this button and check the iteration details and make sure that the settings are what you had given. if not select “script” from the menubar and click “refresh option”. see the screen below.
6
create a scenario _____________________________________________________________________________________ now we would like to add vusers to our scenario. before that we create vuser groups to organize the vusers in a scenario into manageable groups. the groups should contain vusers with shared or similar characteristics. for example, you can create a vuser group for all vusers that run the same script. to create a vuser group. click the vusers tab in the controller window to open the vusers view. click anywhere in the group area. the group menu appears in the loadrunner menu bar. select group > add group. see the screen below.
7
create a scenario _____________________________________________________________________________________ click add group button. the add group dialog box opens. enter the group name, vuser quantity, host name and script name. see the screen below.
8
create a scenario _____________________________________________________________________________________ click ok to get the following screen.
this is how we create a scenario. *** end of the document ***
9