I want to create a new run and pass the status ID. When I create a new run the status ID is not passed.
Map data = new HashMap();
d = (JSONObject) client.sendPost(“add_run/1/”, data);
It is because the add_result_for_case is still pointing to the old test run and the new run has a new run ID. Is there a way I could have the data populate in the new run automatically?
add_result_for_case/"new run ID "/“new case ID”,data
Maybe something like runID + 1 since it increments by one.