Package | Description |
---|---|
net.grinder.script |
Interfaces and classes for use by scripts.
|
Modifier and Type | Method and Description |
---|---|
void |
Statistics.StatisticsForTest.addDouble(String statisticName,
double value)
Add
value to the double statistic
statisticName . |
void |
Statistics.StatisticsForTest.addLong(String statisticName,
long value)
Add
value to the long statistic statisticName . |
Statistics.StatisticsForTest |
Statistics.getForCurrentTest()
Access to the statistics for the current test.
|
Statistics.StatisticsForTest |
Statistics.getForLastTest()
Access the statistics for the last completed test.
|
void |
Statistics.registerDataLogExpression(String displayName,
String expression)
Register a new "detail" statistic expression.
|
void |
Statistics.report()
Send any pending statistics for the last completed test to the data log and
the console.
|
void |
Statistics.setDelayReports(boolean b)
Use to delay reporting of the last test statistics to the log and the
console so that the script can modify them.
|
void |
Statistics.StatisticsForTest.setDouble(String statisticName,
double value)
Sets the double statistic
statisticName to the specified
value . |
void |
SSLControl.setKeyManagers(KeyManager[] keyManagers)
Set the JSSE
KeyManager s to use for the calling worker
thread/run. |
void |
SSLControl.setKeyStore(InputStream keyStoreInputStream,
String password)
Overloaded version of
setKeyStore for key stores of
the default type (usually jks ). |
void |
SSLControl.setKeyStore(InputStream keyStoreInputStream,
String password,
String keyStoreType)
Set a key store to use for the calling worker thread/run.
|
void |
SSLControl.setKeyStoreFile(String keyStoreFileName,
String password)
Overloaded version of
setKeyStoreFile for key stores of
the default type (usually jks ). |
void |
SSLControl.setKeyStoreFile(String keyStoreFileName,
String password,
String keyStoreType)
Set a key store to use for the calling worker thread/run.
|
void |
Statistics.StatisticsForTest.setLong(String statisticName,
long value)
Sets the long statistic
statisticName to the specified
value . |
void |
Statistics.StatisticsForTest.setSuccess(boolean success)
Convenience method that sets whether the last test should be considered a
success or not.
|
void |
Grinder.ScriptContext.stopThisWorkerThread()
Stop this worker thread immediately and cleanly.
|
Copyright © 2000-2014. All Rights Reserved.