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

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

$BFNumberOfIterations

Description:

Returns the current number of iterations of a test.

Parameters:

N/A

Syntax:

$BFNumberOfIterations()

Example:

$BFNumberOfIterations() ; returns "1"

 

$BFProfile

Description:

Returns driver specific information, such as database name.

Parameters:

Profile (constant)-The following provides a list of database type constants:

 

MSSQL (native), SAP:

  • SERVERNAME
  • DATABASE
  • USERNAME

ORACLE:

  • NETSERVICENAME
  • USERNAME

ODBC, MYSQL (ODBC), MSSQL (ODBC):

  • DATASOURCENAME
  • USERNAME

DB2:

  • DATABASEALIAS
  • USERNAME

Syntax:

$BFProfile(constant)

Example:

$BFProfile(USERNAME) ; returns 'sa'

 

 

 

$BFRunID

Description:

Returns the run ID of the current test.

Parameters:

N/A

Syntax:

$BFRunID()

Example:

$BFRunID() ; returns  "186"

 

 

$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

 

 

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택