parent
8b9c750344
commit
d220cb5992
|
@ -558,6 +558,9 @@ public class TestPlanReportService {
|
|||
testPlanLog.info("ReportId[" + testPlanReport.getId() + "] COUNT OVER. COUNT RESULT :" + JSONObject.toJSONString(testPlanExecuteResult));
|
||||
|
||||
TestPlanSimpleReportDTO reportDTO = testPlanService.buildPlanReport(executeInfo, testPlanReport.getTestPlanId(),false);
|
||||
//更新执行时间
|
||||
reportDTO.setStartTime(testPlanReport.getStartTime());
|
||||
reportDTO.setEndTime(System.currentTimeMillis());
|
||||
testPlanReportContentMapper.updateByPrimaryKeySelective(parseReportDaoToReportContent(reportDTO, reportContent));
|
||||
|
||||
String testPlanStatus = this.getTestPlanReportStatus(testPlanReport, reportDTO);
|
||||
|
|
|
@ -1646,7 +1646,6 @@ public class TestPlanService {
|
|||
|
||||
buildApiReport(report, config, executeInfo, planId, saveResponse);
|
||||
buildLoadReport(report, config, executeInfo, planId, saveResponse);
|
||||
report.setEndTime(System.currentTimeMillis());
|
||||
return report;
|
||||
}else {
|
||||
return null;
|
||||
|
|
|
@ -155,7 +155,7 @@ export default {
|
|||
},
|
||||
created() {
|
||||
this.refreshButtonActiveClass(this.activeDom);
|
||||
if (this.currentApi.id !== null && (this.currentProtocol === "HTTP" || this.currentProtocol === "TCP")) {
|
||||
if (this.currentApi.id && (this.currentProtocol === "HTTP" || this.currentProtocol === "TCP")) {
|
||||
this.mockSetting();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue