Converse agora com nosso suporte
Chat com o suporte

Benchmark Factory for Database 8.2 - User Guide

Getting Started Licensing Overview of Benchmark Factory Benchmark Factory Components Agents Create and Edit Connections Create and Edit Tests and Jobs Test Results and Run Reports Troubleshooting The Benchmark Factory REST API

About Scripts

Benchmark Factory provides scripting capabilities known as BFScripts. This feature allows you to customize and randomize the load testing process by using scripts and a number of built-in functions.

The built-in functions are formulas that take one or more values (arguments), perform an operation, and return a value that simulates real-world user activity. These functions can be used alone or as building blocks for creating complex user activity.  Randomized data is important when attempting to simulate real-world user activity because data that is random prevents a server from using data stored in its cache.

In the Benchmark Factory console, fields with a yellow background allow you to insert BFScripts. To learn how to use scripts, see BFScript Wizard.

The following is a list of available scripts/functions:

Category Script/  Function

Dates and Numbers

$BFCreditCardExp

$BFCurrentDate

$BFCurrentDateTime

$BFDate

File Access

$BFFileArray

Global Variables

$BFGetGlobalVar

$BFSetGlobalVar

$BFSetGlobalVarRtn

Name and Address

$BFAddress

$BFAddress2

$BFCity

$BFCompany

$BFCountry

$BFEMail

$BFFirstName

$BFFullName

$BFLastName

$BFMiddleInitial

$BFPhone

$BFState

$BFZipCode

Numerical Manipulation

$BFFormat

$BFProd

$BFSum

Random Numbers

$BFRand

$BFRandRange

$BFURand

$BFURandRange

Random Strings

$BFCreditCard

$BFRandList

$BFRandMultiList

$BFRandStr

$BFURandList

$BFList

String Manipulation

$BFAsc

$BFChr

$BFConcat

$BFLeft

$BFLen

$BFLower

$BFMid

$BFRight

$BFTrim

$BFTrimLeft

$BFTrimRight

$BFUpper

Test Info

$BFGetVar

$BFMaxNode

$BFNode

$BFNumberOfIterations

$BFProfile

$BFRunID

$BFSetVar

$BFSetVarRtn

$BFUserCounter

$BFUserID

$BFUserLoad

$BFNextUserload

$BFPrevUserload

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação