Running an Entire Scenario - LoadRunner

You can run all the Vusers and Vuser groups in a scenario, or you can select the specific Vuser groups and Vusers that you want to run. Note that when you run an entire scenario, LoadRunner does not begin running Vusers until they all have reached theReadystate. However, if you run individual groups or Vusers, LoadRunner runs each Vuser as soon as it reaches the Readystate. The following section describes how to run an entire scenario. “Controlling Vuser Groups” and “Controlling Individual Vusers” describe how to manipulate Vuser groups and individual Vusers.

To run an entire scenario:

  1. Open an existing scenario or create a new one. Select the Run tab. The Scenario Groups pane appears in the top left corner of the screen.
  2. To run an entire scenario

  3. Select Scenario > Start, or click Start Scenario. The Controller starts initializing the Vusers and distributing them to their designated load generators, where they begin to execute their Vuser scripts. If you have not specified a results directory for the scenario, the Set Results Directory dialog box opens. During scenario execution, you can manipulate individual Vusers and Vuser groups. This is described in “Controlling Vuser Groups” below and “Controlling Individual Vusers”.
  4. Select Scenario > Stop/Resume Ramp Upto stop the ramp up process. Select it again to resume the ramping up of Vusers.
  5. Select Scenario> Stop/Resume Ramp Downto stop the ramp down process. Select it again to resume the ramping down of Vusers.
  6. Select Scenario > Stop, or click Stop to terminate the scenario. If you selected the Stop immediately option in the Run-Time Settings tab of the Options dialog box, all of the Vusers in the scenario move to the Exiting status. If you selected the Wait for the current iteration to end beforeexiting or Wait for the current action to end before exiting options in the Run-Time Settings tab of the Options dialog box, the Vusers in the scenario move to the Gradual Exiting status and exit the scenario gradually. To stop the Vusers immediately, click Stop Now.
  7. Select Scenario >Reset, or click Reset to reset all Vusers to their pre-scenario Down status.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

LoadRunner Topics