Chat now with support
Chat with Support

Benchmark Factory for Database 7.6 - User Guide

Getting Started Overview of Benchmark Factory Benchmark Factory Components Agents Connections Create and Edit Tests and Jobs Test Results and Run Reports Troubleshooting Licensing REST API

BFGetVar

Description:

 

Retrieves a previously stored value using $BFSetVar.  Allows a value to be passed from one transaction to another in conjunction with $BFSetVar, or when value is used multiple times within a transaction.  Each virtual user has its own variable space, so values are not shared between them.

Parameters:

 

VarName-An alphanumeric identifier of the value stored.

 

Syntax:

 

$BFGetVar("VarName")

Example:

 

$BFSetVar("Totalrow", "2") $BFGetVar("Totalrow") ; if $BFSetVar sets the variable "Totalrow" to 2, $BFGetVar("Totalrow") returns the number 2.

 

 

Related Documents