fix(测试计划): 性能测试批量执行执行状态未更新
This commit is contained in:
parent
97ea6bae07
commit
ad7c1e40c8
|
@ -10,5 +10,6 @@ public enum ReportTriggerMode {
|
||||||
CASE,
|
CASE,
|
||||||
TEST_PLAN_SCHEDULE,
|
TEST_PLAN_SCHEDULE,
|
||||||
TEST_PLAN_API,
|
TEST_PLAN_API,
|
||||||
API_PLAN
|
API_PLAN,
|
||||||
|
BATCH
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@ public class LoadReportStatusEvent implements LoadTestFinishEvent {
|
||||||
@Override
|
@Override
|
||||||
public void execute(LoadTestReport loadTestReport) {
|
public void execute(LoadTestReport loadTestReport) {
|
||||||
if (StringUtils.equals(ReportTriggerMode.MANUAL.name(), loadTestReport.getTriggerMode())
|
if (StringUtils.equals(ReportTriggerMode.MANUAL.name(), loadTestReport.getTriggerMode())
|
||||||
|
|| StringUtils.equals(ReportTriggerMode.BATCH.name(), loadTestReport.getTriggerMode())
|
||||||
|| StringUtils.equals(ReportTriggerMode.TEST_PLAN_SCHEDULE.name(), loadTestReport.getTriggerMode())
|
|| StringUtils.equals(ReportTriggerMode.TEST_PLAN_SCHEDULE.name(), loadTestReport.getTriggerMode())
|
||||||
|| StringUtils.equals(ReportTriggerMode.TEST_PLAN_API.name(), loadTestReport.getTriggerMode())) {
|
|| StringUtils.equals(ReportTriggerMode.TEST_PLAN_API.name(), loadTestReport.getTriggerMode())) {
|
||||||
if (StringUtils.equalsAny(loadTestReport.getStatus(),
|
if (StringUtils.equalsAny(loadTestReport.getStatus(),
|
||||||
|
|
Loading…
Reference in New Issue