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

BFSetVarRtn

Description:

 

Stores and returns 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, $BFSetVarRtn is placed at the beginning of a dynamic statement, as scripts are evaluated from left to right.  

Parameters:

 

Variable Name (VarKey)-A string to store the a value.

 

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

Syntax:

 

$BFSetVarRtn("Varkey","Value")

Example:

 

$BFSetVarRtn("Totalrows", "2") ; returns  "2"

 

 

 

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating