diff --git a/backend/src/main/java/io/metersphere/commons/utils/ErrorReportLibraryUtil.java b/backend/src/main/java/io/metersphere/commons/utils/ErrorReportLibraryUtil.java index e41c234c11..8691e2f132 100644 --- a/backend/src/main/java/io/metersphere/commons/utils/ErrorReportLibraryUtil.java +++ b/backend/src/main/java/io/metersphere/commons/utils/ErrorReportLibraryUtil.java @@ -26,9 +26,9 @@ public class ErrorReportLibraryUtil { if (StringUtils.startsWith(assertion.getContent(), ERROR_CODE_START)) { errorReportAssertionList.add(assertion); }else { + otherAssertionCount ++; if(!assertion.isPass()){ hasOtherErrorAssertion = true; - otherAssertionCount ++; } } } diff --git a/frontend/src/business/components/track/plan/view/comonents/load/LoadCaseReportView.vue b/frontend/src/business/components/track/plan/view/comonents/load/LoadCaseReportView.vue index 2e234ee4cf..7fc9991891 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/LoadCaseReportView.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/LoadCaseReportView.vue @@ -264,10 +264,14 @@ export default { } }, clearData() { + this.show = false; this.startTime = '0'; this.endTime = '0'; this.minutes = '0'; this.seconds = '0'; + this.$nextTick(() => { + this.show = true; + }) }, stopTest(forceStop) { this.result = this.$get('/performance/stop/' + this.reportId + '/' + forceStop, () => {