????????????session????????? JSESSIONID?????? ???????????????

 

 

-C ” c1=1234??c2=2??c3=3?? JSESSIONID=FF056CD16DA9D71CB131C1D56F0319F8″ ??
-H attribute Add Arbitrary header line?? eg. ‘Accept-Encoding: gzip’ Inserted after all normal header lines. (repeatable)
-A attribute Add Basic WWW Authentication?? the attributes
are a colon separated username and password.
-P attribute Add Basic Proxy Authentication?? the attributes
are a colon separated username and password.

 

????//-P proxy-auth-username:password ??????????????BASIC??????Ρ?????????????????:?????????base64???????????????????????????(???? ???????401??????????)??????????????????

 

 

-X proxy:port Proxyserver and port number to use
-V Print version number and exit
-k Use HTTP KeepAlive feature
-d Do not show percentiles served table.
-S Do not show confidence estimators and warnings.
-g filename Output collected data to gnuplot format file.
-e filename Output CSV file with percentages served
-h Display usage information (this message)

 

????//-attributes ??????????????. ?????????и????????????????????????????????????в??????????????????????????????????????????????в?????????????????????? HTTP/1.x; ???????Щ’???’?????????? strstr(3)?????????????????????????????????????ab??????????????????

???????????????????? -c ?? -n ???????????????:

????# ab -c 5000 -n 600http://127.0.0.1/index.php

????ApacheBench?÷????

??????Linux??????????Apache??????????У?

????# ab -n 4000 -c 1000 http://www.ha97.com/

?????????Win???£???cmd?????д????cd??apache???????bin???£?

????-n?????4000???????????4000??????-c?????1000???????1000???????????1000????????????????????????????????URL??

????????????????????????????