RabbitTester - housekeeper-software/coocare GitHub Wiki
目的
模拟后端测试前端压力 侦听端口在 18081: ws://47.92.164.31:18081/coocare
启动测试
{
"cmd":"start",
"user":[
"C0000000001",
"C0000000002",
"C0000000003",
"C0000000004",
"C0000000005",
"C0000000006",
"C0000000007",
"C0000000008",
"C0000000009",
"C0000000010"
],
"host":"192.168.180.70:5672",
"vhost":"/",
"username":"root",
"password":"ssc82893388",
"exchange":"huiguanjia_dl",
"message":{
"type":0,
"text":"this is a text message"
},
"sendCount":1000, #发多少组
"sendPerTime":50, # 每个时钟发多少组,提高并发
"sendInterval":10, # 时间间隔
"reportInterval":5000
}
停止测试
{"cmd":"stop"}