一、背景
运行时遇到有时候通过,有时候不通过,报错“SocketTimeException: read Time out” 百度后仍无解
二、解决方法
1、 线程组设置:“Delay Tread creation until needed”
2、system.properties 文件里面修改 client timeout = 30000
3、每个http 请求的 Timeouts ,connect=30000 response=30000
从此再无read time out
网上解锁说是jmeter 等待服务器2秒没有返回就自动断了连接。
本文介绍了解决JMeter中出现的“SocketTimeException:readTimeout”错误的方法,包括调整线程组设置、修改system.properties文件中的clienttimeout参数及设置HTTP请求的超时时间。
2277

被折叠的 条评论
为什么被折叠?



