解决测试计划性能测试相关bug
This commit is contained in:
@@ -283,6 +283,9 @@ public class JMeterGroupUtil {
|
||||
threadGroup.setDelay(0);
|
||||
if (executeType == 1) {
|
||||
threadGroup.setDuration(pressureSecond);
|
||||
threadGroup.setProperty(new TestElementProperty(ThreadGroup.MAIN_CONTROLLER, createLoopController(-1)));
|
||||
threadGroup.setProperty(new StringProperty(ThreadGroup.SCHEDULER, "true"));
|
||||
threadGroup.setProperty(new StringProperty(ThreadGroup.IS_SAME_USER_ON_NEXT_ITERATION, "true"));
|
||||
} else {
|
||||
threadGroup.setProperty(new TestElementProperty(ThreadGroup.MAIN_CONTROLLER, createLoopController(loops)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user