public class MVELDeepAssignPerformanceTestCase extends AbstractMuleContextTestCase
Modifier and Type | Class and Description |
---|---|
static class |
MVELDeepAssignPerformanceTestCase.Contact |
static class |
MVELDeepAssignPerformanceTestCase.Payload |
Modifier and Type | Field and Description |
---|---|
protected MuleEvent |
event |
protected String |
mel |
protected MVELDeepAssignPerformanceTestCase.Payload |
payload |
org.databene.contiperf.junit.ContiPerfRule |
rule |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
MVELDeepAssignPerformanceTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
void |
createEventBaseline() |
protected MuleEvent |
createMuleEvent() |
int |
getTestTimeoutSecs()
Defines the timeout in seconds that will be used to run the test.
|
void |
mvelColdStart()
Cold start: - New expression for each iteration - New context (message) for each iteration
|
void |
mvelHotStart()
Hot start: - Same expression for each iteration - Same context (message) for each iteration
|
void |
mvelWarmStart()
Warm start: - Same expression for each iteration - New context (message) for each iteration
|
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public org.databene.contiperf.junit.ContiPerfRule rule
protected final String mel
protected final MVELDeepAssignPerformanceTestCase.Payload payload
protected MuleEvent event
public int getTestTimeoutSecs()
AbstractMuleTestCase
getTestTimeoutSecs
in class AbstractMuleTestCase
public void before()
@PerfTest(duration=30000, threads=1, warmUp=10000) @Required(median=4000) public void mvelColdStart()
@PerfTest(duration=30000, threads=1, warmUp=10000) @Required(median=25) public void mvelWarmStart()
@PerfTest(duration=30000, threads=1, warmUp=10000) @Required(median=25) public void mvelHotStart()
@PerfTest(duration=30000, threads=1, warmUp=10000) public void createEventBaseline()
protected MuleEvent createMuleEvent()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.