Modifier and Type | Method and Description |
---|---|
static void |
ScenarioExecution.execute(String scenarioFile,
Properties properties)
Executes the given scenario in the same way as PerfCake was started from the command line.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageGenerator.close()
Closes and finalizes the generator.
|
void |
AbstractMessageGenerator.close()
Closes and finalizes the generator.
|
void |
MessageGenerator.init(MessageSenderManager messageSenderManager,
List<MessageTemplate> messageStore)
Initializes the generator.
|
void |
RampUpDownGenerator.init(MessageSenderManager messageSenderManager,
List<MessageTemplate> messageStore) |
void |
AbstractMessageGenerator.init(MessageSenderManager messageSenderManager,
List<MessageTemplate> messageStore)
Initializes the generator.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractProfile.init(String profileSource) |
void |
Profile.init(String profileSource)
Initializes the profile, e.g. reads data from an external file.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpReceiver.start() |
void |
AbstractAutoSpawnReceiver.start() |
void |
Receiver.start()
Starts all receiver threads.
|
Modifier and Type | Method and Description |
---|---|
MessageSender |
MessageSenderManager.acquireSender()
Gets a free sender from the pool.
|
void |
MessageSenderManager.addSenderInstance(MessageSender sender)
Adds
MessageSender into available senders and initializes it. |
void |
MessageSenderManager.close()
Finalizes the message sender manager and disconnects all message senders from their target.
|
void |
AbstractSender.close() |
void |
MessageSender.close()
Closes the sender.
|
void |
LdapSender.doClose() |
void |
Jms11Sender.doClose() |
void |
JmsSender.doClose() |
void |
ScriptSender.doClose() |
void |
MqttSender.doClose() |
void |
DummySender.doClose() |
void |
RequestResponseJmsSender.doClose() |
void |
RequestResponseJms11Sender.doClose() |
void |
CoapSender.doClose() |
void |
WebSocketSender.doClose() |
void |
CamelSender.doClose() |
abstract void |
AbstractSender.doClose() |
void |
ChannelSender.doClose() |
void |
LdapSender.doInit(Properties messageAttributes) |
void |
AbstractSocketSender.doInit(Properties messageAttributes) |
void |
CommandSender.doInit(Properties messageAttributes) |
void |
Jms11Sender.doInit(Properties messageAttributes) |
void |
JdbcSender.doInit(Properties messageAttributes) |
void |
JmsSender.doInit(Properties messageAttributes) |
void |
GroovySender.doInit(Properties messageAttributes) |
void |
HttpSender.doInit(Properties messageAttributes) |
void |
ScriptSender.doInit(Properties messageAttributes) |
void |
MqttSender.doInit(Properties messageAttributes) |
void |
DummySender.doInit(Properties messageAttributes) |
void |
RequestResponseJmsSender.doInit(Properties messageAttributes) |
void |
RequestResponseJms11Sender.doInit(Properties messageAttributes) |
void |
CoapSender.doInit(Properties messageAttributes) |
void |
WebSocketSender.doInit(Properties messageAttributes) |
void |
CamelSender.doInit(Properties messageAttributes) |
abstract void |
AbstractSender.doInit(Properties messageAttributes) |
void |
HttpsSender.doInit(Properties messageAttributes) |
Serializable |
ChannelSenderDatagram.doSend(Message message,
MeasurementUnit measurementUnit) |
void |
MessageSenderManager.init()
Initializes the message sender by creating all the message sender instances.
|
void |
AbstractSender.init() |
void |
MessageSender.init()
Initializes the sender.
|
Modifier and Type | Method and Description |
---|---|
void |
SequenceManager.addSequence(String id,
Sequence sequence)
Registers a new sequence in the registry.
|
abstract void |
AbstractSequence.doReset() |
void |
PrimitiveNumberSequence.reset() |
void |
FileLinesSequence.reset() |
default void |
Sequence.reset()
Resets the sequence.
|
void |
RandomUuidSequence.reset() |
void |
RandomSequence.reset() |
void |
NumberSequence.reset() |
void |
AbstractSequence.reset() |
Modifier and Type | Class and Description |
---|---|
class |
ReportingException
Indicates problems while reporting results.
|
Modifier and Type | Method and Description |
---|---|
void |
C3ChartHelper.close()
Closes the data files.
|
void |
C3ChartDataFile.close()
Closes the output channel.
|
void |
C3ChartHelper.compileResults(boolean autoCombine)
Creates the final result report compiling all the previous charts together.
|
void |
C3ChartDataFile.open()
Opens the data file for output of additional values.
|
Constructor and Description |
---|
C3ChartData(String baseName,
Path target)
Reads the chart data from the appropriate data file.
|
Modifier and Type | Method and Description |
---|---|
void |
Scenario.close()
Finalizes the scenario.
|
Scenario |
XmlFactory.getScenario() |
Scenario |
ScenarioFactory.getScenario()
Constructs the scenario based on previously loaded data.
|
Scenario |
DslFactory.getScenario() |
void |
Scenario.init()
Initializes the scenario execution.
|
void |
XmlFactory.init(URL scenarioUrl) |
void |
ScenarioFactory.init(URL scenarioUrl)
Initializes all resources needed to prepare the scenario object.
|
void |
DslFactory.init(URL scenarioUrl) |
static Scenario |
ScenarioLoader.load(String scenario)
Loads
Scenario from the location specified with the system property -Dscenario=<scenario name> . |
ScenarioBuilder |
ScenarioBuilder.putSequence(String sequenceId,
Sequence sequence)
Registers a new sequence under the given property name.
|
void |
Scenario.run()
Executes the scenario.
|
Constructor and Description |
---|
ScenarioBuilder(RunInfo runInfo,
MessageGenerator messageGenerator,
MessageSender messageSender)
Gets a new ScenarioBuilder instance.
|
ScenarioBuilder(RunInfo runInfo,
MessageGenerator messageGenerator,
String senderClass,
Properties senderProperties)
Gets a new ScenarioBuilder instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
Utils.copyTemplateFromResource(String resource,
Path target,
Properties properties)
Takes a resource as a StringTemplate, renders the template using the provided properties and stores it to the given path.
|
static String |
Utils.getResource(String resource)
Obtains the needed resource with full-path.
|
static URL |
Utils.getResourceAsUrl(String resource)
Obtains the needed resource with full-path as URL.
|
static SSLContext |
SslSocketFactoryFactory.newSslContext(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword)
Gets a new SSL context configured with the provided key and trust store using TLS protocol.
|
static SSLContext |
SslSocketFactoryFactory.newSslContext(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword,
String protocol)
Gets a new SSL context configured with the provided key and trust store.
|
static SSLSocketFactory |
SslSocketFactoryFactory.newSslSocketFactory(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword)
Gets a new SSL socket factory configured with the provided key and trust store using TLS protocol.
|
static SSLSocketFactory |
SslSocketFactoryFactory.newSslSocketFactory(String keyStoreLocation,
String keyStorePassword,
String trustStoreLocation,
String trustStorePassword,
String protocol)
Gets a new SSL socket factory configured with the provided key and trust store.
|
static String |
Utils.readTemplateFromResource(String resource,
Properties properties)
Reads the given resource and processes it as a template.
|
static void |
Utils.writeFileContent(File file,
String content)
Atomically writes given content to a file.
|
static void |
Utils.writeFileContent(Path path,
String content)
Atomically writes given content to a file.
|
static void |
Utils.writeFileContent(String fileName,
String content)
Atomically writes given content to a file.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidationException
Indicates problems in message validation.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationManager.setQueueFile(File queueFile)
Sets a different location of the file queue for storing message responses.
|
Constructor and Description |
---|
FileQueue(File queueFile)
Creates a new
FileQueue that stores items in a specified file. |
FileQueue(String filename)
Creates a new
FileQueue that stores items in a file on a specified path. |
ValidationManager()
Creates a new validator manager.
|
Copyright © 2010–2017 PerfCake Community. All rights reserved.