@Override
    protected String getRequestData() {
        /**
         * {
         * "RequestInfo" : {"context" : requestContext},
         * "Body" : {"ServiceComponentInfo" : {"state" : componentState, "recovery_enabled": recoveryEnabled}}
         * }
         */
        JsonObject jsonObject = new JsonObject();
        jsonObject.add("RequestInfo", createJsonObject("context", requestContext));
        JsonObject jsonScInfoObj = new JsonObject();
        jsonScInfoObj.addProperty("state", String.valueOf(componentState));
        jsonScInfoObj.addProperty("recovery_enabled", String.valueOf(recoveryEnabled));
        jsonObject.add("Body", createJsonObject("ServiceComponentInfo", jsonScInfoObj));
        Gson gson = new Gson();
        return gson.toJson(jsonObject);
    }
Constructs the request data.

@return - Request data.
ambari-funtest/src/test/java/org/apache/ambari/funtest/server/api/servicecomponent/SetServiceComponentStateWebRequest.java