mkdir test
cd test? ? ?vi url.txt? ? http://toy1.weather.com.cn/search?cityname=shanghai
???? ??? ??? ??? ??? ??? ??? ??? ? http://toy1.weather.com.cn/search?cityname=shanghai
???? ??? ??? ??? ??? ??? ??? ? ? ? http://toy1.weather.com.cn/search?cityname=shanghai
???? ??? ??? ??? ??? ??? ??? ? ? ? http://toy1.weather.com.cn/search?cityname=shanghai
???????????????????????????????????http://toy1.weather.com.cn/search?cityname=shanghai?保存文件
siege安裝:
$?wget?http://download.joedog.org/siege/siege-4.0.4.tar.gz
得到最新包siege-latest.tar.gz
解壓之。
$ tar xvf siege-latest.tar.gz
得到的具體版本就是siege-3.0.6
$ cd siege-3.0.6/
編譯的時候蜀肘,我只制定了安裝目錄:/usr/local/siege/
$?./configure?--prefix=/usr/local/siege/
$?make?
$ sudo make?install
命令行輸入:siege? ? ?
如上圖绊汹,則安裝成功
GET方法:
siege -b -c 10 -t 60s -f url.txt
POST方法:
siege -b -c 3 -r 10 "http://39.106.38.50:8090/api/v1/account/user/new_login POST <./peo.json"
--------------------------------------------------------------------------------
http_load安裝:
$?wget?http://acme.com/software/http_load/http_load-09Mar2016.tar.gz
得到最新包http_load-09Mar2016
解壓之。
$ tar xvf?http_load-09Mar2016.tar.gz
得到的具體版本就是http_load-09Mar2016
$ cd http_load-09Mar2016/
$?make?
$ sudo make?install
命令行輸入:http_load? ? ??
如上圖扮宠,則安裝成功
通常:參數(shù)pf一起使用西乖,參數(shù)rs一起使用狐榔。
GET方法:
http_load -p 10 -f 100 ./test/url.txt
POST方法:
http_load_post -p 10 -f 10 ./test/url.txt
--------------------------------------------------------------------------------
http_load_post安裝:
直接使用,不用make、make install
#? ? 便捷的傳輸工具
yum install lrzsz -y
rz? ?從windows 上傳文件到 linux
sz? ?xxx 從linux 下載 xxx文件到 windows