摘要: 背景 进行ws的登录压测时,在高并发下很容易出现WebSocket I/O error: Read timed out,需要分析产生的原因。 分析过程 1、jmeter查看结果树 2、jmeter请求体,发现Response(read) timeout(ms)字段,填写了6000ms,即6s。遍历了 阅读全文
posted @ 2021-04-30 17:29 chooperman 阅读(4568) 评论(0) 推荐(0) 编辑
摘要: 由于性能测试需要,需指定请求到达ng后,ng后面的系统处理的时间,需要增加ng日志中关于系统处理时间的显示。 requesttime:"request_time"; log_format main '$remote_addr - $remote_user [$time_local];"$reques 阅读全文
posted @ 2021-04-30 16:18 chooperman 阅读(3959) 评论(0) 推荐(0) 编辑