ab??LoadRunner????????ab?????÷???
???????????? ???????[ 2013/8/14 15:11:03 ] ????????
????ab???????ApacheBench???? Apache ?????????С???????????? HTTP Server ??benchmark testing????????????????????????С??????apache??bin?????棬???????????????????????£????????????cmd???????????ab.exe?????????C:WINDOWSsystem32·???£??????????ú???????
????loadrunner???ú???????о????ab????????????????????
????1.ab?????????????????????????loadrunner??????????????????????????????????????????????????????????????
????2.ab???????С????ò??????????????????????????loadrunner??????????????????????????????loadrunner????????????????μ??
????3.ab?????С???????????? ??????????????????????????????loadrunner???????????????????????????????????????????飬?? ??????????????????????????linux????loadrunner?и????????????????????????1????????????? 2??????????? 3???????????? 3?????λ?????????????????Щab???????????????
????4.????????????????????????????????????????????д??????????????????????????Σ??????????????????loadrunner???????????????????????????loadrunner???????????????????????????ab????????????????????
??????????2????????????????????????????????????ab??????????????????????????????????????2~3??????????????????????????ò???????????
???????????????????????濴??????С???????????????
?????????????????1?????????????????????????????????????ab????????????????
-n requests Number of requests to perform
//????????????е????????????????????????????
-c concurrency Number of multiple requests to make
//??β???????????????????????????
-t timelimit Seconds to max. wait for responses
//?????????е????????????????????-n 50000??????????????????????????????????????????????????????????????
-p postfile File containing data to POST
//?????????POST??????????.
-T content-type Content-type header for POSTing
//POST??????????Content-type??????
-v verbosity How much troubleshooting info to print
//?????????????????? - 4????????????????? 3????????????????????(404?? 200??)?? 2??????????????????????????? -V ????汾????????
-w Print out results in HTML tables
//??HTML??????????????????????????????????п????????
-i Use HEAD instead of GET
// ???HEAD??????????GET??
-x attributes String to insert as table attributes
//
-y attributes String to insert as tr attributes
//
-z attributes String to insert as td or th attributes
//
-C attribute Add cookie?? eg. 'Apache=1234. (repeatable)
//-C cookie-name=value ???????????Cookie:?С? ??????????name=value??????????????????????????
-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)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11