@Override
    protected String getRequestData() {
        /**
         * { "Users" : {"active": true/false, "admin": true/false, "password": password } }
         */
        JsonObject jsonObject;
        JsonObject jsonUserInfo = new JsonObject();

        jsonUserInfo.addProperty("active", isActive);
        jsonUserInfo.addProperty("admin", isAdmin);
        jsonUserInfo.addProperty("password", password);

        jsonObject = createJsonObject("Users", jsonUserInfo);
        Gson gson = new Gson();
        return gson.toJson(jsonObject);
    }
Get REST API path fragment for construction full URI.

@return - REST API path
ambari-funtest/src/test/java/org/apache/ambari/funtest/server/api/user/CreateUserWebRequest.java