Class LocalHostAddressFunction

  • All Implemented Interfaces:
    com.consol.citrus.functions.Function

    public class LocalHostAddressFunction
    extends Object
    implements com.consol.citrus.functions.Function
    Function gets the local host address. Usually some IP address (e.g. 192.168.2.100). This enables us to access the localhost dynamically in tests.
    Author:
    Christoph Deppisch
    • Constructor Detail

      • LocalHostAddressFunction

        public LocalHostAddressFunction()
    • Method Detail

      • execute

        public String execute​(List<String> parameterList,
                              com.consol.citrus.context.TestContext context)
        Specified by:
        execute in interface com.consol.citrus.functions.Function