Class WebTestGeolocation


  • public final class WebTestGeolocation
    extends Object
    Geo-physical location to run a web test from. You must specify one or more locations for the test to run from.
    • Constructor Detail

      • WebTestGeolocation

        public WebTestGeolocation()
    • Method Detail

      • location

        public String location()
        Get the location property: Location ID for the webtest to run from.
        Returns:
        the location value.
      • withLocation

        public WebTestGeolocation withLocation​(String location)
        Set the location property: Location ID for the webtest to run from.
        Parameters:
        location - the location value to set.
        Returns:
        the WebTestGeolocation object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.