LoadRunner Operator

This page introduces the LoadRunner operator, a workflow operator that allows piloting performance tests on a target system by leveraging Micro Focus LoadRunner. This page assumes you are familiar with the definition of a workflow and its tasks. If it is not the case, then check Creating automation workflows.

Prerequisites

This section provides the minimum requirements that you should meet in order to use this operator.

Supported versions

  • Micro Focus LoadRunner 12.60 or 2020

  • Microsoft Windows Server 2016 or 2019

    • Powershell version 5.1 or greater

User and WinRM configuration

To configure WinRM to allow Akamas to launch tests please read the Integrating LoadRunner Professional page.

All LoadRunner test files (VuGen scripts and folder, lrs files) and their parent folders, must be readable and writable by the user account used by Akamas.

Configuration options

When you define a task that uses the LoadRunner operator you should specify some configuration information to allow the operator to connect to the LoadRunner controller and execute a provided test scenario.

You can specify configuration information within the arguments that are part of a task in the YAML of the definition of a workflow.

You can avoid specifying each configuration information at the task level, by including a component property with the name of a component; in this way, the operator will take any configuration information from the properties of the referenced component

Required properties

  • controller - a set of pieces of information useful for connecting to the LoadRunner controller

  • scenarioFile - the path to the scenario file within the LoadRunner controller to execute the performance test

  • resultFolder - the path to the performance tests results folder with the LoadRunner controller

Connect to a LoadRunner controller

To make it possible for the operator to connect to a LoadRunner controller to execute a performance test you can use the controller property within the workflow task definition:

controller:
  hostname: loarrunner.example.com
  username: Domain\LoadRunnerUser
  password: j(sBdH5fsG9.I56P%7n2XPjmgO6!ARm=

Operator arguments

This table reports the configuration reference for the arguments section.

Important notice: remember to escape your path with 4 backslashes (e.g. C:\\\\Users\\\\\…)

Controller arguments

This table reports the configuration reference for the controller section which is an object with the following fields:

Important notice: remember to escape your path with 4 backslashes (e.g. C:\\\\Users\\\\\…)

Examples

A simple performance test

name: "task1"
operator: "LoadRunner"
arguments:
  controller:
    hostname: loarrunner.example.com
    username: Domain\LoadRunnerUser
    password: j(sBdH5fsG9.I56P%7n2XPjmgO6!ARm=
  scenarioFile: 'C:\Users\LoadRunnerUser\Desktop\test\scenario\Scenario1.lrs'
  resultFolder: 'c:\Temp\{study}\{exp}\{trial}'
  timeout: 15m
  checkFrequency: 30sL

Last updated