安装:

cnpm install hiper -g

使用方法:

终端输入命令:hiper 测试的网址

# 当我们省略协议头时,默认会在url前添加`https://`

 # 最简单的用法
 hiper baidu.com

 # 如何url中含有任何参数,请使用双引号括起来
 hiper "baidu.com?a=1&b=2"

 #  加载指定页面100次
 hiper -n 100 "baidu.com?a=1&b=2"

 #  禁用缓存加载指定页面100次
 hiper -n 100 "baidu.com?a=1&b=2" --no-cache

 #  禁JavaScript加载指定页面100次
 hiper -n 100 "baidu.com?a=1&b=2" --no-javascript
 
 #  使用GUI形式加载指定页面100次
 hiper -n 100 "baidu.com?a=1&b=2" -H false

 #  使用指定useragent加载网页100次
 hiper -n 100 "baidu.com?a=1&b=2" -u 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"

  

 

 

相关文章:

  • 2021-09-19
  • 2021-12-06
  • 2021-04-06
  • 2021-06-09
  • 2021-09-16
  • 2021-10-29
  • 2021-10-05
  • 2022-01-10
猜你喜欢
  • 2021-12-05
  • 2021-07-19
  • 2021-05-18
  • 2021-11-26
  • 2021-09-08
相关资源
相似解决方案