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

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

$BFRandStr

Description:

Returns a random string determined by a mode and having a length n.

Parameters:

 

Length n-The length of a string.

 

Mode constant-One of the following:

 

ALPHA-Returns only random letters.

 

ALPHA_LOWER-Returns random lowercase letters.

 

ALPHA_NUM-Returns random letters and numbers.

 

ALPHA_UPPER-Returns random uppercase letters.

 

ANY-Returns any random ASCII characters.

 

NUM-Returns only numbers.

 

RANGE-Returns ASCII characters in the range specified.

Syntax:

$BFRandStr(n,[constant],[1..255],[1..255])

Example:

$BFRandStr(10) ; Returns 10 random characters.

$BFRandStr(1,RANGE,65,67) ; Returns either A, B, or C.

 

 

 

$BFURandList

Description:

Randomly select unique items from a list.

Parameters:

string1-The first string to return from a list.

 

string2-The second string to return from a list.

 

stringN-The last string to return from a list.

Syntax:

$BFURandList(string1,string2,… stringN)

Example:

 

$BFURandList("Red", "White", "Blue", "Yellow") ; returns Blue the first time this function executes then Yellow, Red, White, and Blue for subsequent executions of this function. Notice that Blue did not repeat until all other colors returned.

 

$BFList

Description:

Returns an item from a list. The item returned depends on the mode selected.

Parameters:

 

Retrieval Mode:

Random: Select a random item from the list.

SEQUENTIAL: Select each item sequentially.

UNIQUE: Select a non-repeating item from the list.

string1-The first string to return from a list.

string2-The second string to return from a list.

stringN-The last string to return from a list.

Syntax:

$BFList(Retrieval Mode, string1,string2,… stringN)

Example:

$BFList (Sequential "1", "2", "3", "4")

Returns  1

             2

            etc.

$BFList (Random 1, 2, 3, 4)

Returns 2

            3

            3

            1

            2

            4

            etc.

$BFList (Unique, "1", "2", "3","4")

Returns 2

            4

            3

            1

            2

            etc.

 

 

String Manipulation

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택