code: @Given("^I( securely)? send requests to '([^:]+?)(:.+?)?'$")
      public void setupRestClient(String isSecured, String restHost, String restPort) {
          String restProtocol = "http://";
  
          if (isSecured != null) {
              restProtocol = "https://";
          }
  
  
          if (restHost == null) {
              restHost = "localhost";
          }
  
          if (restPort == null) {
              if (isSecured == null) {
                  restPort = ":80";
              } else {
                  restPort = ":443";
              }
          }
  
          commonspec.setRestProtocol(restProtocol);
          commonspec.setRestHost(restHost);
          commonspec.setRestPort(restPort);
      }
docs: Send requests to {@code restHost @code restPort}.
  
  @param restHost host where api is running
  @param restPort port where api is running