Project Attributes

Project attributes are name-value pairs with some additional information, which can be defined for a project. Each virtual user is initialized at runtime with these attributes. A useful scenario is to parameterize the BDL scripts on the project level.

Project attributes can be defined in Silk Performer's Project > Project Attributes menu. An attribute consists of a name, a type, a value, and a default value. The type specifies the way how the value and the default value of an attribute should be interpreted.

Possible attribute types are:

Depending on the type of the attribute, the project attributes can be accessed in the script via the following BDL functions:
注: The name of an attribute is case sensitive.