Class LocalHostAddressFunction

java.lang.Object
org.citrusframework.functions.core.LocalHostAddressFunction
All Implemented Interfaces:
org.citrusframework.functions.Function

public class LocalHostAddressFunction extends Object implements org.citrusframework.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.
  • Constructor Details

    • LocalHostAddressFunction

      public LocalHostAddressFunction()
  • Method Details

    • execute

      public String execute(List<String> parameterList, org.citrusframework.context.TestContext context)
      Specified by:
      execute in interface org.citrusframework.functions.Function