Description: |
Returns the current number of iterations of a test. |
Parameters: |
N/A |
Syntax: |
$BFNumberOfIterations() |
Example: |
$BFNumberOfIterations() ; returns "1" |
Description: |
Returns driver specific information, such as database name. |
Parameters: |
Profile (constant)-The following provides a list of database type constants:
MSSQL (native), SAP:
ORACLE:
ODBC, MYSQL (ODBC), MSSQL (ODBC):
DB2:
|
Syntax: |
$BFProfile(constant) |
Example: |
$BFProfile(USERNAME) ; returns 'sa' |
Description: |
Returns the run ID of the current test. |
Parameters: |
N/A |
Syntax: |
$BFRunID() |
Example: |
$BFRunID() ; returns "186" |
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 |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center