I am using the API provided by Test rail to pull info using java. Below is my program.
APIClient client = new APIClient("https://test.testrail.net/index.php?/runs/view/154"); client.setUser("..");
client.setPassword("..");
JSONObject c = (JSONObject) client.sendGet("get_case/T54757");
System.out.println(c);
I downloaded the API and called the method as mentioned above.But every time the json response is returning null. Could any body please help?