/** * Sets the host to use. * * @param hostname The hostname to use. */ public void setHost(final String hostname) { this.host.setText(hostname); }
/** * Sets the password to use. * * @param pwd The password to use. */ public void setPwd(final String pwd) { this.pwd.setText(pwd); }
/** * Sets the path of the trust store. * * @param path The path to the trust store. */ public void setTrustStorePath(final String path) { this.trustStorePath.setText(path); }
/** * Sets the user to use. * * @param username The user name to use. */ public void setUser(final String username) { this.user.setText(username); }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); refNamesField.setText(""); //$NON-NLS-1$ jsonPathExpressionsField.setText(""); //$NON-NLS-1$ matchNumbersField.setText(""); //$NON-NLS-1$ defaultValuesField.setText(""); //$NON-NLS-1$ computeConcatenationField.setSelected(JSONPostProcessor.COMPUTE_CONCATENATION_DEFAULT_VALUE); }
/** {@inheritDoc} */ @Override public void clearData() { this.boundaryExtractorDataField.setText(""); // $NON-NLS-1$ this.boundaryExtractorFieldLeft.setText(""); // $NON-NLS-1$ this.boundaryExtractorFieldRight.setText(""); // $NON-NLS-1$ this.boundaryExtractorResultField.setText(""); // $NON-NLS-1$ }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); xpathQueryField.setText(""); // $NON-NLS-1$ defaultField.setText(""); // $NON-NLS-1$ refNameField.setText(""); // $NON-NLS-1$ matchNumberField.setText(XPathExtractor.DEFAULT_VALUE_AS_STRING); // $NON-NLS-1$ xml.setDefaultValues(); }
public void clear() { this.consumerKey.setText(""); this.consumerSecret.setText(""); this.httpMethods.setText("GET"); this.hostBaseUrl.setText(""); this.headers.setText(""); this.resource.setText(""); this.port.setText("8080"); this.useKeepAlive.setSelected(true); this.automaticRedirect.setSelected(true); this.body.setText(""); }
public void clear() { this.consumerKey.setText(""); this.consumerSecret.setText(""); this.httpMethods.setText("GET"); this.hostBaseUrl.setText(""); this.headers.setText(""); this.resource.setText(""); this.port.setText("8080"); this.useKeepAlive.setSelected(true); this.automaticRedirect.setSelected(true); this.body.setText(""); }
@Override public void clearGui() { super.clearGui(); jsonInputTextField.setText(""); }
@Override public void clearGui() { super.clearGui(); jsonPath.setText("$."); jsonValue.setText(""); jsonValidation.setSelected(false); expectNull.setSelected(false); invert.setSelected(false); isRegex.setSelected(true); inputJSON.setSelected(true); }
@Override public void configure(TestElement el) { super.configure(el); if (el instanceof RegExUserParameters){ RegExUserParameters re = (RegExUserParameters) el; paramNamesGrNrField.setText(re.getRegParamNamesGrNr()); paramValuesGrNrField.setText(re.getRegExParamValuesGrNr()); refRegExRefNameField.setText(re.getRegExRefName()); } }
@Override public void clearGui() { super.clearGui(); jsonPath.setText("$."); jsonValue.setText(""); jsonValidation.setSelected(false); expectNull.setSelected(false); invert.setSelected(false); isRegex.setSelected(true); }
@Override public void configure(TestElement element) { super.configure(element); JSONPostProcessor config = (JSONPostProcessor) element; showScopeSettings(config, true); refNamesField.setText(config.getRefNames()); jsonPathExpressionsField.setText(config.getJsonPathExpressions()); matchNumbersField.setText(config.getMatchNumbers()); defaultValuesField.setText(config.getDefaultValues()); computeConcatenationField.setSelected(config.getComputeConcatenation()); }
@Override public void configure(TestElement el) { super.configure(el); XPathExtractor xpe = (XPathExtractor) el; showScopeSettings(xpe,true); xpathQueryField.setText(xpe.getXPathQuery()); defaultField.setText(xpe.getDefaultValue()); refNameField.setText(xpe.getRefName()); matchNumberField.setText(xpe.getMatchNumberAsString()); getFragment.setSelected(xpe.getFragment()); xml.configure(xpe); }
@Override public void configure(TestElement element) { super.configure(element); JSONToXMLConverter conv = null; if (element instanceof JSONToXMLConverter) { conv = (JSONToXMLConverter) element; jsonInputTextField.setText(conv.getJsonInput()); } }
@Override public void configure(TestElement el) { super.configure(el); XPath2Extractor xpe = (XPath2Extractor) el; showScopeSettings(xpe, true); xpathQueryField.setText(xpe.getXPathQuery()); defaultField.setText(xpe.getDefaultValue()); refNameField.setText(xpe.getRefName()); matchNumberField.setText(xpe.getMatchNumberAsString()); namespacesTA.setText(xpe.getNamespaces()); getFragment.setSelected(xpe.getFragment()); }
@Override public void configure(TestElement element) { super.configure(element); JSONPathAssertion jpAssertion = (JSONPathAssertion) element; jsonPath.setText(jpAssertion.getJsonPath()); jsonValue.setText(jpAssertion.getExpectedValue()); jsonValidation.setSelected(jpAssertion.isJsonValidationBool()); expectNull.setSelected(jpAssertion.isExpectNull()); invert.setSelected(jpAssertion.isInvert()); isRegex.setSelected(jpAssertion.isUseRegex()); }