How to configure a sampler to use variable timezones
Problem Copied
You would like to configure a sampler so that it can be used in different timezones.
Possible solution(s) Copied
Set up your sampler to use an active times variable. On two or more managed entities, define the same variable name but reference different active times.
Example
-
Open the gateway setup editor and Go to Active Times and click New Active Time. Fill up the files with selected timezone (example: America-New York, Asia-Manila)
-
Click on Active Times again then click Advanced. Make sure that the “gateway-controlled active time” is enabled.
-
Go to your Sampler -> Advanced Tab -> Active Times -> select “var” from the options and assign a variable name (ex. MNL)
-
Go to your managed entity -> Advanced Tab -> Var. Type in the variable name that you have assigned in your Sampler (ex. MNL), select activeTime in options list and enter the name of the active time that you have created in the Active Time field.
The sampler will use the variable set, MNL, to refer to the Active Time in Managed Entity.