使用curl命令进行试验访问网站的响应时间段
使用curl命令进行测试运行访问网站的响应时光
1.按下“Win+R”,打开运行界面,然后输入cmd然后回车确认打开字符界面。
2.不使用代理进行测试运行访问网站的响应时光:
输入:
curl -o /dev/null -s -w
time_connect:%{time_connect}\ntime_starttransfer:%{time_starttransfer}\ntime_total:%{time_total}\n
"目标设定站"
下图是访问www.baidu.com为例子。
3.使用代理进行测试运行访问网站的响应时光:
输入:
curl -x http://Authkey:Authpwd@ip:接口 -o /dev/null -s -w
time_connect:%{time_connect}\ntime_starttransfer:%{time_starttransfer}\ntime_total:%{time_total}\n
"目标设定站 "
下图是以隧道代理为例子进行测试运行,测试运行的目标设定站为www.baidu.com。