Variables

Variables #

Loadero offers some variables that can be accessed in the script. These variables hold information relevant to the participant that is executing the test. Variables are available through client.globals directive.

  • participant.globalID (Number): ID of participant that is executing the test. This ID is unique inside whole test.
  • participant.id (Number): ID of participant that is executing the test. This ID is unique inside group.
  • participant.name (String): name of the participant as defined in the participant configuration.
  • group.id (Number): ID of the group of given participant that is executing test. This ID is unique within test run.
  • group.name (String): name of the group as defined in the group configuration.
  • run.id (Number): ID of the given test run.
  • run.participant.id (Number) ID of the given run participant. The ID is globally unique and therefore will never match across all test runs.
  • test.name (String): name of the current test.
  • test.participantTimeout (Number): participant timeout in seconds of test.
  • test.startInterval (Number): start interval in seconds of test.
  • test.totalParticipants (Number): total participant count in test.
  • audioFeed (String): audio feed of given participant.
  • browser (String): browser version used by given participant.
  • computeUnit (String): compute unit of given participant.
  • location (String): location of given participant.
  • mediaType (String): media type of given participant.
  • network (String): network conditions of given participant.
  • videoFeed (String): video feed of given participant.