I m using Java API’s & trying to achieve following
- Create a TestRun with specific name - Ex : Today’s Date.
- Get IDs with corresponding Title from this newly created TestRun.
Currently I able to create a TestRun , but it always named as Master and not able to get the IDs and names.
client = new APIClient("https://xxxxxxxxxxxx.testrail.io/"); client.setUser("xxxxxxxxxxxx"); client.setPassword("xxxxxxxxxxx"); //Object project = client.sendGet("get_projects"); Object listOfTestcases = client.sendGet("get_cases/1"); //client.sendGet("get_runs/1"); client.sendPost("add_run/1", listOfTestcases);
After this step , Testrun created successfully and all Test cases got added. But i m not able define required name of the testrun and also not able to read test case Ids. Please help.