public class HttpThreadPoolTest extends AbstractTestCase
HttpThreadPool
expectedEx, shell, subFunction
Constructor and Description |
---|
HttpThreadPoolTest() |
Modifier and Type | Method and Description |
---|---|
protected org.ow2.petals.cli.extension.command.monitoring.mo.api.AbstractMonitoringSubFunction |
buildSubFunction() |
void |
testExecute_00()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided does not exist.
|
void |
testExecute_01()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
error occurs getting HTTP thread pool value.
|
void |
testExecute_02()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the max active threads of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the max active threads of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_03()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the current active threads of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the current active threads of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_04()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the current idle threads of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the current idle threads of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_05()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the max idle threads of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the max idle threads of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_06()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the max enqueued request number in HTTP server thread
pool,
Expected results:
no error,
the metric value associated to the max enqueued request number in HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_07()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the current enqueued request number in HTTP server
thread pool,
Expected results:
no error,
the metric value associated to the current enqueued request number in HTTP server thread pool is not
returned,
other values are correctly displayed.
|
void |
testExecute_08()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the max size of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the max size of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_09()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
a null value is returned for the metric associated to the min size of HTTP server thread pool,
Expected results:
no error,
the metric value associated to the min size of HTTP server thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_10()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the BC SOAP identifier provided exists,
no null value is returned for metric,
no error will occur.
|
void |
testExecute_Error_00()
Test the method 'execute()' against argument management, where:
no option is provided
Expected results: an error occurs about bad argument number.
|
void |
testExecute_Error_01()
Test the method 'execute()' against argument management, where:
an unregonized option is provided
Expected results: an error occurs about bad argument number.
|
assertCactiIncomingCountOutput, assertCactiIncomingResponseTimesOutput, assertCactiOutgoingCountOutput, assertCactiOutgoingResponseTimesOutput, assertCactiResponseTimesOutputOfQueryWithArg, clearDataSets
setUpFunction
protected org.ow2.petals.cli.extension.command.monitoring.mo.api.AbstractMonitoringSubFunction buildSubFunction()
buildSubFunction
in class AbstractMonitoringSubFunctionTest
public void testExecute_Error_00() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against argument management, where:
Expected results: an error occurs about bad argument number.
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_Error_01() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against argument management, where:
Expected results: an error occurs about bad argument number.
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_00() throws Exception
Test the method 'execute()' against processing, where:
Expected results: An error occurs about the unexisting component
Exception
public void testExecute_01() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results: An error occurs
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_02() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_03() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_04() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_05() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_06() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_07() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_08() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_09() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_10() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Copyright © 2005-2018 Linagora. All Rights Reserved.