private String getRequestUrl() {
        StringBuilder requestUrl = new StringBuilder(getUrl());

        if (StringUtils.isNotEmpty(getQueryString())) {
            requestUrl.append("?");
            requestUrl.append(getQueryString());
        }

        return requestUrl.toString();
    }
Executes the current request by using HttpClient methods and returns the response.

@return - Response from the Ambari server/Agent server.
@throws IOException
ambari-funtest/src/test/java/org/apache/ambari/funtest/server/AmbariHttpWebRequest.java