Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Deep Dive into HPE LoadRunner Controller

DZone's Guide to

Deep Dive into HPE LoadRunner Controller

Here's an in-depth guide to using HPE LoadRunner Controller, with an intro, goal-oriented scenario, and manual scenario.

Free Resource

xMatters delivers integration-driven collaboration that relays data between systems, while engaging the right people to proactively resolve issues. Read the Monitoring in a Connected Enterprise whitepaper and learn about 3 tools for resolving incidents quickly.

In this article, you are going to learn about HPE LoadRunner Controller. HPE LoadRunner software package mainly consists of three installable:  VuGen, Controller, and Analysis. VuGen is to record and create scripts; Controller is to create scenarios, and Analysis is for analyzing the test results.

Introduction to HPE LoadRunner Controller

Controller is one of the critical components in LoadRunner workflow which helps to create scenarios. The scenario is a collection of one or more scripts. A scenario defines the test duration, how the virtual user should simulate, how actions should be performed, and which machines should generate load/inject.

You define following fields while creating the scenario in the HPE LoadRunner controller.

  • Scenario Type
  • Scripts
  • Vusers
  • Machine
  • Load Pattern
  • Graphs to monitor

Image title

When you invoke Controller, you will get above screenshot where you need to select the scenario type and the scripts to be load tested. There are two types of scenario: Goal-oriented and Manual scenario.

Goal-oriented Scenario

Goal-oriented scenario helps to define our goals to achieve where LoadRunner automatically builds a scenario. E.g. if you want to inject 50 hits per second, just mention the goal as shown in the below screenshot.

Image title

Following goal-oriented scenario is possible to create in Controller:

  1. Virtual Users
  2. Pages per minute
  3. Hits per second
  4. Transactions per second
  5. Transaction response time

Image title

Controller can run Vuser scripts as well as system/unit tests such as Selenium tests, NUnit, and JUnit tests.

Manual Scenario

Manual scenario helps to build a scenario by mentioning VUsers, load generators and the load pattern. You can design a manual scenario by using following mode: Vuser group and percentage mode.

  • Vuser group mode helps you define the scenario by entering the number of Vusers for the script to each group.
  • Percentage mode allows you to distribute the VUsers as per the percentage allocated for each script.

Service Level Agreement can also be created for both the types of scenarios in HPE LoadRunner Controller. In next article, you are going to learn about how to design a goal-oriented scenario. Please do share my article if you like it

3 Steps to Monitoring in a Connected Enterprise. Check out xMatters.

Topics:
loadrunner ,load testing

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}