Skip to main content


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 GLOBALS constant using the following methods:

  • GLOBALS.participant.global_id (int): ID of participant that is executing the test. This ID is unique inside whole test.
  • (int): ID of participant that is executing the test. This ID is unique inside a group.
  • (str): name of the participant as defined in the participant configuration.
  • (int): ID of the group of given participant which is executing the test. This ID is unique within the test run.
  • (str): name of the group as defined in the group configuration.
  • (int): ID of this test run.
  • (int): ID of the given run participant. The ID is globally unique and therefore will never match across all test runs.
  • (str): name of current test.
  • GLOBALS.test.participant_timeout (int): participant timeout in seconds of test.
  • GLOBALS.test.start_interval (int): start interval in seconds of test.
  • GLOBALS.test.total_participants (int): total participant count in test.
  • GLOBALS.audio_feed (str): audio feed of given participant.
  • GLOBALS.browser (str): browser version used by given participant.
  • GLOBALS.compute_unit (str): compute unit of given participant.
  • GLOBALS.location (str): location of given participant.
  • GLOBALS.media_type (str): media type of given participant.
  • (str): network conditions of given participant.
  • GLOBALS.video_feed (str): video feed of given participant.

Sample Usage

def test_on_loadero(driver: TestUIDriver) -> None:
f"running participant {} "
f"with id {} in group "
f"{} with {} "
f"id in test {}",