@Override
  public void configure(TestElement el) {
    super.configure(el);
    useGroupName.setSelected(el.getPropertyAsBoolean(USE_GROUP_NAME, false));
    saveHeaders.setSelected(el.getPropertyAsBoolean(SAVE_HEADERS, true));

    jPanelFilter.setIncludeSampleLabels(
        el.getPropertyAsString(CorrectedResultCollector.INCLUDE_SAMPLE_LABELS));
    jPanelFilter.setExcludeSampleLabels(
        el.getPropertyAsString(CorrectedResultCollector.EXCLUDE_SAMPLE_LABELS));

    if (!CorrectedResultCollector.EMPTY_FIELD.equals(
        el.getPropertyAsString(CorrectedResultCollector.START_OFFSET))) {
      jPanelFilter.setStartOffset((el.getPropertyAsLong(CorrectedResultCollector.START_OFFSET)));
    }
    if (!CorrectedResultCollector.EMPTY_FIELD.equals(
        el.getPropertyAsString(CorrectedResultCollector.END_OFFSET))) {
      jPanelFilter.setEndOffset((el.getPropertyAsLong(CorrectedResultCollector.END_OFFSET)));
    }

    jPanelFilter.setSelectedRegExpInc(
        el.getPropertyAsBoolean(CorrectedResultCollector.INCLUDE_REGEX_CHECKBOX_STATE));
    jPanelFilter.setSelectedRegExpExc(
        el.getPropertyAsBoolean(CorrectedResultCollector.EXCLUDE_REGEX_CHECKBOX_STATE));

    if (el instanceof CorrectedResultCollector) {
      setUpFiltering((CorrectedResultCollector) el);
    }
  }
 @Override
 public void configure(TestElement element) {
   super.configure(element);
   // N.B. this will be a config element, so we cannot use the getXXX() methods
   classname.setText(element.getPropertyAsString(TCPSampler.CLASSNAME));
   server.setText(element.getPropertyAsString(TCPSampler.SERVER));
   // Default to original behaviour, i.e. re-use connection
   reUseConnection.setSelected(element.getPropertyAsBoolean(TCPSampler.RE_USE_CONNECTION, true));
   port.setText(element.getPropertyAsString(TCPSampler.PORT));
   // filename.setText(element.getPropertyAsString(TCPSampler.FILENAME));
   timeout.setText(element.getPropertyAsString(TCPSampler.TIMEOUT));
   setNoDelay.setSelected(element.getPropertyAsBoolean(TCPSampler.NODELAY));
   requestData.setText(element.getPropertyAsString(TCPSampler.REQUEST));
 }
 @Override
 public void configure(TestElement element) {
   scriptField.setText(element.getPropertyAsString(BeanShellAssertion.SCRIPT));
   filename.setText(element.getPropertyAsString(BeanShellAssertion.FILENAME));
   parameters.setText(element.getPropertyAsString(BeanShellAssertion.PARAMETERS));
   resetInterpreter.setSelected(
       element.getPropertyAsBoolean(BeanShellAssertion.RESET_INTERPRETER));
   super.configure(element);
 }
 @Override
 public void configure(TestElement el) {
   super.configure(el);
   useGroupName.setSelected(el.getPropertyAsBoolean(USE_GROUP_NAME, false));
   saveHeaders.setSelected(el.getPropertyAsBoolean(SAVE_HEADERS, true));
 }