立即与支持人员聊天
与支持团队交流

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

$BFRand

Description:

Returns a random integer between 0 and nMax. Each virtual user gets a different seed value to generate the same unique sequences for each run.

Parameters:

 

nMax-The maximum integer to be returned by the function.

Syntax:

$BFRand(nMax)

Example:

$BFRand(100) ; returns "45"

 

 

$BFRandRange

Description:

 

Returns a random integer ranging between nMin and nMax inclusive. Each virtual user gets a different seed value to generate sequences.

Parameters:

nMin-The minimum integer in a range.

nMax-The maximum integer in a range.

Syntax:

$BFRandRange(nMin,nMax)

Example:

$BFRandRange(200, 210) ; returns "202"

 

 

$BFURand

Description:

Returns a unique (non-repeating) random integer ranging between 1 and nMax. Each virtual user gets a different seed value to generate unique sequences for each run.

Parameters:

nMax-The maximum integer to be returned.

Syntax:

$BFURand(nMax)

Example:

 

$BFURand(100) ;

returns 78 the first time this function executes, and 50, and 19 for subsequent executions of this function.

 

 

 

 

 

 

 

$BFURandRange

Description:

Returns unique integers ranging between the value of nMin and the value of nMax inclusive.  Each virtual user gets a different seed value to generate unique sequences for each run.

Parameters:

nMin-The minimum range integer to return.

nMax-The maximum range integer to return.

Syntax:

$BFURandRange(nMin,nMax)

Example:

$BFURandRange(1,100) ;

returns 100 the first time this function executes and 95, and 85 for subsequent executions of this function.

 

 

 

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级