Author: jfrederic.clere(a)jboss.com
Date: 2008-03-29 04:46:21 -0400 (Sat, 29 Mar 2008)
New Revision: 1487
Modified:
sandbox/httpd/src/java/TestHttpClient.java
Log:
Add test of STATUS.
Modified: sandbox/httpd/src/java/TestHttpClient.java
===================================================================
--- sandbox/httpd/src/java/TestHttpClient.java 2008-03-29 08:45:41 UTC (rev 1486)
+++ sandbox/httpd/src/java/TestHttpClient.java 2008-03-29 08:46:21 UTC (rev 1487)
@@ -61,6 +61,11 @@
else if (command.compareToIgnoreCase("DUMP")==0) {
pm = (PostMethod) new DumpMethod(URL);
}
+ else if (command.compareToIgnoreCase("STATUS")==0) {
+ pm = (PostMethod) new StatusMethod(URL);
+ pm.addParameter("JVMRoute","node1");
+ pm.addParameter("Load", "50");
+ }
else
pm = (PostMethod) new InfoMethod(URL);
Show replies by date