user@host:~/java/ultraesb-1.7.0/lib/samples$ java -Xms512M -Xmx512M -server -XX:+UseParallelGC -cp soa-toolbox-1.6.0.jar:../commons-cli-1.2.jar:../log4j-1.2.15.jar org.adroitlogic.toolbox.javabench.JavaBench
usage: SOA-Toolbox/1.5.0 (c) 2010 AdroitLogic. All Rights Reserved
JavaBench [options]
http[s]://hostname[:port]/path
-c <concurrency> Concurrency while performing the benchmarking
session. The default is to just use a single
thread/client.
-g Accept GZip. Default is false
-H <header> Add arbitrary header line, eg. 'Accept-Encoding:
gzip' inserted after all normal header lines.
(repeatable as -H "h1: v1","h2: v2" etc)
-h Display usage information.
-k Enable the HTTP KeepAlive feature, i.e., perform
multiple requests within one HTTP session. Default
is no KeepAlive
-m <HTTP method> HTTP Method. Default is POST. Possible options are
GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE
-n <requests> Number of requests to perform for the benchmarking
session. The default is to just perform a single
request which usually leads to non-representative
benchmarking results.
-o Use HTTP/S 1.0
-p <POST-postFile> File containing data to POST.
-T <content-type> Content-type header to use for POST data.
-t <socket-Timeout> Client side socket timeout (in ms) - default 60
Secs
-u Chunk entity. Default is false
-v <verbosity> Set verbosity level - 4 and above prints response
content, 3 and above prints information on headers,
2 and above prints response codes (404, 200, etc.),
1 and above prints warnings and info.
-x Use Expect-Continue. Default is false