goreplay简单使用方法

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//捕获服务器流量到本地
sudo ./gor --input-raw :8082 --output-file=requests.gor
 
//从本地文件回放流量
./gor --input-file requests_0.gor --output-http="http://172.16.106.237:8082"
 
//实时将流量请求打印到终端
sudo ./gor --input-raw :8082 --output-stdout
 
//复制流量实时转发到另一台服务器
sudo ./gor --input-raw :8082 --output-http="http://172.16.106.237:8082"
 
//放大流量
./gor --input-file "requests.gor|200%" --output-http="http://172.16.106.237:8082"
 
//缩小流量
./gor --input-file "requests.gor|20%" --output-http="http://172.16.106.237:8082"

  

posted @   ☞@_@  阅读(60)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· 单线程的Redis速度为什么快?
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
点击右上角即可分享
微信分享提示