refactor(接口测试): 用例批量执行增加返回数据
This commit is contained in:
parent
03c3a918bb
commit
af551e05f8
|
@ -199,9 +199,9 @@ public class ApiTestCaseController {
|
|||
|
||||
@PostMapping(value = "/batch/run")
|
||||
@MsAuditLog(module = OperLogModule.API_DEFINITION_CASE, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.caseId)", msClass = ApiTestCaseService.class)
|
||||
public void batchRun(@RequestBody ApiCaseRunRequest request) {
|
||||
public List<MsExecResponseDTO> batchRun(@RequestBody ApiCaseRunRequest request) {
|
||||
request.setTriggerMode(ReportTriggerMode.BATCH.name());
|
||||
apiCaseExecuteService.run(request);
|
||||
return apiCaseExecuteService.run(request);
|
||||
}
|
||||
|
||||
@PostMapping(value = "/jenkins/run")
|
||||
|
|
Loading…
Reference in New Issue