Description: |
Stores and returns 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, $BFSetVarRtn is placed at the beginning of a dynamic statement, as scripts are evaluated from left to right. |
Parameters: |
Variable Name (VarKey)-A string to store the a value.
Text to Store (Value)-A string value to be stored for later retrieval. |
Syntax: |
$BFSetVarRtn("Varkey","Value") |
Example: |
$BFSetVarRtn("Totalrows", "2") ; returns "2" |
Description: |
Returns the user counter. |
Parameters: |
N/A |
Syntax: |
$BFUserCounter() |
Example: |
$BFUserCounter() ; returns "1" |
Description: |
Returns the current virtual user ID. |
Parameters: |
N/A |
Syntax: |
$BFUserID() |
Example: |
$BFUserID() ; returns "1" |
Description: |
Returns the current user load for the test running. |
Parameters: |
N/A |
Syntax: |
$BFUserload() |
Example: |
$BFUserLoad() ; returns "4" |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center