result = eop.test__finished(response);
}
else if (opType == "/test-clear") {
- result = eop.test__clear(response);
+ auto it = j.find("id");
+ int id = (it != j.end() && it->is_number_integer()) ? it->get<int>() : -1; // default is: all
+ result = eop.test__clear(response, id);
}
else if (opType == "/test-junit") {
auto it = j.find("targetFile");