Chat now with support
Chat with Support

Benchmark Factory for Database 8.0 - 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 The Benchmark Factory REST API

BFSetVar

Description:

 

Stores a value for later use by $BFGetVar.  Used to store a value to be reused within its own transaction, or any transaction in a given user scenario.  Each virtual user gets its own variable space, so values are not shared between them.  Typically, $BFSetVar is placed at the beginning of a dynamic statement, as scripts are evaluated from left to right.  

Parameters:

 

Variable Name (VarName)-An alphanumeric identifier of the value stored.

 

Text to Store (Value)-A string.  The value to be stored for later retrieval.

Syntax:

 

Syntax:$BFSetVar("VarName", "Value")

Example:

 

$BFSetVar("Totalrow", "2") ; $BFSetVar sets the variable "Totalrow" to 2

 

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating