/** * Get the description that shows up in JFileChooser filter menu. * * @return description */ @Override public String getDescription() { return JMeterUtils.getResString("keystore_desc"); //$NON-NLS-1$ }
public DistributedRunner(Properties props) { remoteProps = props; retriesNumber = JMeterUtils.getPropDefault(RETRIES_NUMBER, 1); continueOnFail = JMeterUtils.getPropDefault(CONTINUE_ON_FAIL, false); retriesDelay = JMeterUtils.getPropDefault(RETRIES_DELAY, 5000); }
/** * Throughput in bytes / second * * @return throughput in bytes/second */ public double getBytesPerSecond() { return getRatePerSecond(bytes); }
@Override public Object clone() { return super.clone(); } }
public void moveDelta() { previous = delta; delta = new Calculator(name); }
/** * * @param init initialisation file * @param _log logger to pass to interpreter * @throws ClassNotFoundException when beanshell can not be instantiated */ public BeanShellInterpreter(String init, Logger _log) throws ClassNotFoundException { initFile = init; logger = _log; init(); }
/** * Helper method to do the actual work of fetching resources; allows * getResString(S,S) to be deprecated without affecting getResString(S); */ private static String getResStringDefault(String key, String defaultValue) { return getResStringDefault(key, defaultValue, null); }
/** * Returns the cached result from calling * InetAddress.getLocalHost().getHostName() * * @return local host name */ public static synchronized String getLocalHostName(){ if (localHostName == null) { getLocalHostDetails(); } return localHostName; }
@Override public Object clone() { return super.clone(); } }
/** * Gets the JMeter copyright. * * @return the JMeter copyright string */ public static String getJMeterCopyright() { return JMeterVersion.getCopyRight(); }
/** {@inheritDoc} */ @Override public String toString() { return JMeterUtils.getResString("view_results_render_html_embedded"); // $NON-NLS-1$ }
/** * Sent bytes / second * * @return throughput in bytes/second */ public double getSentBytesPerSecond() { return getRatePerSecond(sentBytes); }
/** * Resets the BeanShell interpreter. * * @throws ClassNotFoundException if interpreter cannot be instantiated */ public void reset() throws ClassNotFoundException { init(); }
/** {@inheritDoc} */ @Override public String toString() { return JMeterUtils.getResString("view_results_render_document"); // $NON-NLS-1$ }
/** * Returns the throughput associated to this sampler in requests per second. * May be slightly skewed because it takes the timestamps of the first and * last samples as the total time passed, and the test may actually have * started before that start time and ended after that end time. * * @return throughput associated to this sampler in requests per second */ public double getRate() { return getRatePerSecond(count); }
/** * Returns a String for the title of the attributes-panel as set up in the * properties-file using the lookup-constant "mailer_attributes_panel". * * @return The title of the component. */ public String getAttributesTitle() { return JMeterUtils.getResString("mailer_attributes_panel"); //$NON-NLS-1$ }
/** * {@inheritDoc} */ @Override protected String getTimerRangeLabelKey() { return JMeterUtils.getResString("gaussian_timer_range"); //$NON-NLS-1$ }
/** {@inheritDoc} */ @Override public String toString() { return JMeterUtils.getResString("xpath_tester"); // $NON-NLS-1$ }
/** {@inheritDoc} */ @Override public String toString() { return JMeterUtils.getResString("view_results_render_html_formatted"); // $NON-NLS-1$ }
/** * Create a new ArgumentsPanel as a standalone component. */ public ArgumentsPanel() { this(JMeterUtils.getResString("user_defined_variables"),null, true, true);// $NON-NLS-1$ }