@Override
                public String handleResponse(final HttpResponse httpResponse)
                        throws ClientProtocolException, IOException {
                    int statusCode = httpResponse.getStatusLine().getStatusCode();
                    response.setStatusCode(statusCode);
                    HttpEntity entity = httpResponse.getEntity();
                    return entity != null ? EntityUtils.toString(entity) : null;
                }
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