executeMethod.setUrl(path);
executeMethod.setHttpMethod(methodName);
Response response = method.getResponse();
if (response != null) {
Representation representation = response.getRepresentation();
if (representation != null) {
String mediaType = representation.getMediaType();
executeMethod.setResponseType(mediaType);
}
}
UnitAction unitAction = new UnitAction();