use of org.apache.jmeter.testelement.property.BooleanProperty in project jmeter-plugins by undera.
the class AbstractGraphPanelVisualizer method modifyTestElement.
@Override
public void modifyTestElement(TestElement c) {
super.modifyTestElement(c);
c.setProperty(new LongProperty(INTERVAL_PROPERTY, interval));
c.setProperty(new BooleanProperty(GRAPH_AGGREGATED, isAggregate));
c.setProperty(new StringProperty(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getIncludeSampleLabels()));
c.setProperty(new StringProperty(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS, graphPanel.getRowSelectorPanel().getExcludeSampleLabels()));
c.setProperty(new StringProperty(CorrectedResultCollector.START_OFFSET, graphPanel.getRowSelectorPanel().getStartOffset()));
c.setProperty(new StringProperty(CorrectedResultCollector.END_OFFSET, graphPanel.getRowSelectorPanel().getEndOffset()));
c.setProperty(new BooleanProperty(CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpInc()));
c.setProperty(new BooleanProperty(CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE, graphPanel.getRowSelectorPanel().isSelectedRegExpExc()));
}
use of org.apache.jmeter.testelement.property.BooleanProperty in project jmeter by apache.
the class BooleanPropertyConverter method marshal.
/**
* {@inheritDoc}
*/
@Override
public void marshal(Object obj, HierarchicalStreamWriter writer, MarshallingContext arg2) {
BooleanProperty prop = (BooleanProperty) obj;
writer.addAttribute(ConversionHelp.ATT_NAME, ConversionHelp.encode(prop.getName()));
writer.setValue(prop.getStringValue());
}
use of org.apache.jmeter.testelement.property.BooleanProperty in project jmeter by apache.
the class ThreadGroupGui method modifyTestElement.
/**
* Modifies a given TestElement to mirror the data in the gui components.
*
* @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
*/
@Override
public void modifyTestElement(TestElement tg) {
super.configureTestElement(tg);
if (tg instanceof AbstractThreadGroup) {
((AbstractThreadGroup) tg).setSamplerController((LoopController) loopPanel.createTestElement());
}
tg.setProperty(AbstractThreadGroup.NUM_THREADS, threadInput.getText());
tg.setProperty(ThreadGroup.RAMP_TIME, rampInput.getText());
if (showDelayedStart) {
tg.setProperty(ThreadGroup.DELAYED_START, delayedStart.isSelected(), false);
}
tg.setProperty(new BooleanProperty(ThreadGroup.SCHEDULER, scheduler.isSelected()));
tg.setProperty(ThreadGroup.DURATION, duration.getText());
tg.setProperty(ThreadGroup.DELAY, delay.getText());
tg.setProperty(AbstractThreadGroup.IS_SAME_USER_ON_NEXT_ITERATION, sameUserBox.isSelected());
}
use of org.apache.jmeter.testelement.property.BooleanProperty in project jmeter by apache.
the class ProxyControl method setNotifyChildSamplerListenerOfFilteredSamplers.
public void setNotifyChildSamplerListenerOfFilteredSamplers(boolean b) {
notifyChildSamplerListenersOfFilteredSamples = b;
setProperty(new BooleanProperty(NOTIFY_CHILD_SAMPLER_LISTENERS_FILTERED, b));
}
use of org.apache.jmeter.testelement.property.BooleanProperty in project jmeter by apache.
the class ProxyControl method setUseKeepAlive.
public void setUseKeepAlive(boolean b) {
useKeepAlive = b;
setProperty(new BooleanProperty(USE_KEEPALIVE, b));
}
Aggregations