Not able to fetch Json object from restassured Response(in json)
Try to use the line below to translate restassured response body to JSONObject format:
JSONObject responseJSONObject = new JSONObject(response.getBody().asString);
Try to use the line below to translate restassured response body to JSONObject format:
JSONObject responseJSONObject = new JSONObject(response.getBody().asString);