public class HttpConnectorTestCase extends AbstractConnectorTestCase
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
connectorName, encoding
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 |
---|
HttpConnectorTestCase() |
doSetUp, doTearDown, getConnector, getConnectorAndAssert, testConnectorBeanProps, testConnectorExceptionHandling, testConnectorInitialise, testConnectorLifecycle, testConnectorListenerSupport, testConnectorMessageDispatcherFactory, testConnectorMessageRequesterFactory, testConnectorMuleMessageFactory
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, 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, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public org.junit.rules.ExpectedException thrown
public Connector createConnector() throws Exception
createConnector
in class AbstractConnectorTestCase
Exception
public String getTestEndpointURI()
getTestEndpointURI
in class AbstractConnectorTestCase
public Object getValidMessage() throws Exception
getValidMessage
in class AbstractConnectorTestCase
Exception
public void testInvalidListenerWhenAllInterfacesOneExists() throws Exception
Exception
public void testInvalidListenerWhenAddingAllInterfacesOne() throws Exception
Exception
public void findReceiverByStemConsideringAllInterfaces() throws Exception
Exception
public void lookupReceiverThatDoesNotExistsInThatPort() throws Exception
Exception
public void lookupReceiverThatDoesNotExistsInThatHost() throws Exception
Exception
public void lookupReceiverThatContainsPath() throws Exception
Exception
public void lookupReceiverThatContainsPathAsAllInterfaces() throws Exception
Exception
public void lookupReceiverThatExistsWithExactSamePath() throws Exception
Exception
public void lookupReceiverThatExistsWithExactSamePathAsAllInterfaces() throws Exception
Exception
public void lookupReceiverByRequestLineThatDoesNotExistsInThatPort() throws Exception
Exception
public void lookupReceiverByRequestLineThatDoesNotExistsInThatHost() throws Exception
Exception
public void lookupReceiverByRequestLineThatContainsPath() throws Exception
Exception
public void lookupReceiverByRequestLineThatContainsPathAsAllInterfaces() throws Exception
Exception
public void lookupReceiverByRequestLineThatExistsWithExactSamePath() throws Exception
Exception
public void lookupReceiverByRequestLineThatExistsWithExactSamePathAsAllInterfaces() throws Exception
Exception
public void tcpNoDelayDefaultSystemPropertyTrue() throws Exception
Exception
public void tcpNoDelayDefaultSystemPropertyFalse() throws Exception
Exception
public void tcpNoDelayHttpClientConnectionManagerConfiguration() throws Exception
Exception
public void httpClientDisableStaleConnectionDefault() throws Exception
Exception
public void httpClientDisableStaleConnectionSystemProperty() throws Exception
Exception
protected HttpConnector getInitialisedHttpConnector() throws Exception, InitialisationException
Exception
InitialisationException
protected void assertHttpClientStaleConnectionCheck(HttpConnector connector, boolean enabled) throws Exception, InitialisationException
Exception
InitialisationException
public void singleDispatcherPerEndpointSyetemProperty() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.