diff --git a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/service/TestPlanEngine.java b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/service/TestPlanEngine.java index 6229b84a..4d02ebc4 100644 --- a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/service/TestPlanEngine.java +++ b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/service/TestPlanEngine.java @@ -128,6 +128,7 @@ public class TestPlanEngine implements TaskCompleteCallback, throws IllegalParameterException { TestPlan testPlan = this.getTestPlanFactory().createATestPlanWithoutId( testPlanBusinessModel, user, testPlanRunId); + testPlan.addObserver(this); Logger.getLogger(TestPlanService.class).info( "test plan name:" + testPlan.getName()); return this.getTestPlanRepository().attach(testPlan);