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 even across test runs.

  • test.name (String): name of the current test.

  • network (String): network conditions of given participant.

  • browser (String): browser version used by given participant.

  • mediaType (String): media type of given participant.

  • location (String): location of given participant.

‚Äč