지금 지원 담당자와 채팅
지원 담당자와 채팅

Benchmark Factory for Database 9.0 - User Guide

Welcome to Benchmark Factory What's New in Benchmark Factory Additional Resources Overview of Benchmark Factory Benchmark Factory Components Licensing Getting Started - the Benchmark Factory Workflow Agents Create and Edit Connections Create and Edit Tests and Jobs
Jobs View Pane Job Wizards Quickstart: Create a New Job Edit a Job Industry Standard Benchmark Tests Capture and Replay a Workload Artificial Test for Desired Effect Scalability Tests Custom Tests Create/Delete Benchmark Objects Execute External File Test Options for Create Objects Test Options for Transactions Job Setup Options Use Global Search/Replace Save Job as BMF Script Copy Test to Replay, Mix, Goal, or Scalability Test
Benchmarks How Do I... Settings Test Results and Run Reports BFScripts Repository Troubleshooting The Benchmark Factory REST API Appendix About Us Adding Virtual Users System/Upgrade Requirements/Supported Databases Shortcut Keys

$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"

 

 

 

 

$BFUserCounter

Description:

Returns the user counter.

Parameters:

N/A

Syntax:

$BFUserCounter()

Example:

$BFUserCounter() ; returns "1"

 

$BFUserID

Description:

Returns the current virtual user ID.

Parameters:

N/A

Syntax:

$BFUserID()

Example:

$BFUserID() ; returns "1"

 

$BFUserload

Description:

Returns the current user load for the test running.

Parameters:

N/A

Syntax:

$BFUserload()

Example:

$BFUserLoad() ; returns "4"

 

 

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택