Explain me on how I can parse the JSON within the test.
Hello Joe,
You can use the below code block to parse the JSON file by providing the file location. Here is the code snippet:
JSONParser parser = new JSONParser();
JSONObject config = (JSONObject) parser.parse(new FileReader("src/test/resources/conf/" + config_file));