public abstract class JMeterPluginsUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
CHARSET |
static String |
ENCODING |
static String |
WIKI_BASE |
| Constructor and Description |
|---|
JMeterPluginsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Component |
addHelpLinkToPanel(Container panel,
String helpPage)
Find in panel appropriate place and put hyperlink there.
|
static void |
collectionPropertyToTableModelRows(org.apache.jmeter.testelement.property.CollectionProperty prop,
org.apache.jmeter.gui.util.PowerTableModel model) |
static void |
collectionPropertyToTableModelRows(org.apache.jmeter.testelement.property.CollectionProperty prop,
org.apache.jmeter.gui.util.PowerTableModel model,
Class[] columnClasses) |
static void |
doBestCSVSetup(org.apache.jmeter.samplers.SampleSaveConfiguration conf) |
static String |
getEnvDefault(String propName,
String defaultVal)
Get a String value (environment) with default if not present.
|
static float |
getFloatFromString(String stringValue,
float defaultValue) |
static String |
getJMeterHomeFromCP(String classpathSTR) |
static int |
getSecondsForShortString(String string) |
static String |
getShortHostname(String host) |
static String |
getStackTrace(Exception ex) |
static String |
getVersion() |
static String |
getWikiLinkText(String wikiPage) |
static void |
openInBrowser(String string) |
static String |
prefixLabel(String label) |
static void |
prepareJMeterEnv(String homeDir) |
static String |
replaceRNT(String str) |
static org.apache.jmeter.testelement.property.CollectionProperty |
tableModelRowsToCollectionProperty(org.apache.jmeter.gui.util.PowerTableModel model,
String propname) |
static org.apache.jmeter.testelement.property.CollectionProperty |
tableModelRowsToCollectionPropertyEval(org.apache.jmeter.gui.util.PowerTableModel model,
String propname) |
public static final String WIKI_BASE
public static final String ENCODING
public static final Charset CHARSET
public static org.apache.jmeter.testelement.property.CollectionProperty tableModelRowsToCollectionProperty(org.apache.jmeter.gui.util.PowerTableModel model,
String propname)
public static org.apache.jmeter.testelement.property.CollectionProperty tableModelRowsToCollectionPropertyEval(org.apache.jmeter.gui.util.PowerTableModel model,
String propname)
public static void collectionPropertyToTableModelRows(org.apache.jmeter.testelement.property.CollectionProperty prop,
org.apache.jmeter.gui.util.PowerTableModel model)
public static void collectionPropertyToTableModelRows(org.apache.jmeter.testelement.property.CollectionProperty prop,
org.apache.jmeter.gui.util.PowerTableModel model,
Class[] columnClasses)
public static Component addHelpLinkToPanel(Container panel, String helpPage)
panel - - supposed to be result of makeTitlePanel()helpPage - wiki page name, not full URLAbstractJMeterGuiComponentpublic static void doBestCSVSetup(org.apache.jmeter.samplers.SampleSaveConfiguration conf)
public static void openInBrowser(String string)
public static float getFloatFromString(String stringValue, float defaultValue)
public static int getSecondsForShortString(String string)
public static String getVersion()
public static String getEnvDefault(String propName, String defaultVal)
propName - the name of the environment variable.defaultVal - the default value.public static void prepareJMeterEnv(String homeDir)
Copyright © 2016. All rights reserved.