Class SoapComponentContextTest


  • public class SoapComponentContextTest
    extends Object
    • Constructor Detail

      • SoapComponentContextTest

        public SoapComponentContextTest()
    • Method Detail

      • testBorrowServiceClient_002

        public void testBorrowServiceClient_002()
                                         throws Exception

        Check the max size of the web-service client pool if parameter 'max-http-connections-per-host' is unset:

        • it is equals to the max size of the processor pool,
        • check that the right exception is thrown when the pool is exhausted,
        • web-service client is available after one was returned
        Throws:
        Exception
      • testGetWsClientMaxPoolSize_000

        public void testGetWsClientMaxPoolSize_000()
                                            throws Exception

        Check the value returns by SoapComponentContext.getConnMaxSize() if parameter 'max-http-connections-per-host' is set to a valid value.

        Expected value is its default value: max size of the processor pool.

        Throws:
        Exception
      • testGetWsClientMaxPoolSize_100

        public void testGetWsClientMaxPoolSize_100()
                                            throws Exception

        Check the value returns by SoapComponentContext.getConnMaxSize() if parameter 'max-http-connections-per-host' is negative.

        Expected value is its default value: max size of the processor pool.

        Throws:
        Exception
      • testGetWsClientMaxPoolSize_101

        public void testGetWsClientMaxPoolSize_101()
                                            throws Exception

        Check the value returns by SoapComponentContext.getConnMaxSize() if parameter 'max-http-connections-per-host' is set to 0.

        Expected value is its default value: max size of the processor pool.

        Throws:
        Exception
      • testGetWsClientMaxPoolSize_102

        public void testGetWsClientMaxPoolSize_102()
                                            throws Exception

        Check the value returns by SoapComponentContext.getConnMaxSize() if parameter 'max-http-connections-per-host' is set to not number value.

        Expected value is its default value: max size of the processor pool.

        Throws:
        Exception
      • testGetWsClientMaxPoolSize_103

        public void testGetWsClientMaxPoolSize_103()
                                            throws Exception

        Check the value returns by SoapComponentContext.getConnMaxSize() if parameter 'max-http-connections-per-host' is set to an empty String.

        Expected value is its default value: max size of the processor pool.

        Throws:
        Exception