GetProfile Function

Action

Retrieves the name of the settings profile that the current virtual user uses.

Include file

Kernel.bdh

Syntax

GetProfile(): string;

Return value

The name of the profile.

Example

dcluser
  user
    TestUser
  transactions
    TGetProfile : 1;
  dcltrans

  transaction TGetProfile
  var
    sProfile: string;
  begin
    sProfile := GetProfile();
    write("profile = "); write(sProfile); writeln;
  end TGetProfile;

Output

profile = Loadtest