51Testing软件测试论坛

标题: jmeter进行tcp协议压测报500:Caused by: java.net.SocketTimeoutException: Read ... [打印本页]

作者: 测试积点老人    时间: 2022-4-14 11:51
标题: jmeter进行tcp协议压测报500:Caused by: java.net.SocketTimeoutException: Read ...
jmeter进行tcp协议压测报500:Caused by: java.net.SocketTimeoutException: Read timed out
  1. org.apache.jmeter.protocol.tcp.sampler.ReadException:
  2. at org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl.read(BinaryTCPClientImpl.java:145) ~[ApacheJMeter_tcp.jar:5.3]
  3. at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:398) [ApacheJMeter_tcp.jar:5.3]
  4. at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:630) [ApacheJMeter_core.jar:5.3]
  5. at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558) [ApacheJMeter_core.jar:5.3]
  6. at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489) [ApacheJMeter_core.jar:5.3]
  7. at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) [ApacheJMeter_core.jar:5.3]
  8. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
  9. Caused by: java.net.SocketTimeoutException: Read timed out
  10. at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_152]
  11. at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_152]
  12. at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_152]
  13. at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_152]
  14. at java.net.SocketInputStream.read(SocketInputStream.java:127) ~[?:1.8.0_152]
  15. at org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl.read(BinaryTCPClientImpl.java:127) ~[ApacheJMeter_tcp.jar:5.3]
复制代码




作者: bellas    时间: 2022-4-15 10:39
参考下这个链接https://blog.csdn.net/ceo158/article/details/9251825
作者: qqq911    时间: 2022-4-15 11:14
设置接收结尾符
作者: kallinr    时间: 2022-4-15 11:44
不清楚
作者: jingzizx    时间: 2022-4-15 16:14
读超时,




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2