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
GLOBALS.participant.global_id(int): ID of participant that is executing the test. This ID is unique inside whole test.
GLOBALS.participant.id(int): ID of participant that is executing the test. This ID is unique inside a group.
GLOBALS.participant.name(str): name of the participant as defined in the participant configuration.
GLOBALS.group.id(int): ID of the group of given participant which is executing the test. This ID is unique within the test run.
GLOBALS.group.name(str): name of the group as defined in the group configuration.
GLOBALS.run.id(int): ID of this test run.
GLOBALS.run.participant.id(int): ID of the given run participant. The ID is globally unique and therefore will never match even across test runs.
GLOBALS.test.name(str): name of current test.
GLOBALS.network(str): network conditions of given participant.
GLOBALS.browser(str): browser version used by given participant.
GLOBALS.media_type(str): media type of given participant.
GLOBALS.location(str): location of given participant