上一篇 下一篇 分享链接 返回 返回顶部

使用curl命令进行试验访问网站的响应时间段

发布人:管理员 发布时间:2025-03-02 11:23 阅读量:127

使用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。

目录结构
全文