triggerProperties.put("period",
createProperyValue(Long.class, Long.toString(currentStrategy.getInterval() / 1000)));
}
if (loadStrategy instanceof ThreadCountChangeLoadStrategy) {
loadUITriggerType = RAMP_TRIGGER;
ThreadCountChangeLoadStrategy currentStrategy = (ThreadCountChangeLoadStrategy) loadStrategy;
long end = extractLongProperty("end");
triggerProperties.put(
"end",
createProperyValue(
Long.class,
Long.toString(end
* (currentStrategy.getEndThreadCount() / currentStrategy.getStartThreadCount()))));
if (loadTest.getLimitType().equals(LoadTestLimitTypesConfig.TIME)) {
triggerProperties
.put("period", createProperyValue(Long.class, Long.toString(loadTest.getTestLimit())));
}
}