Locust.io Load Testing getting “Connection aborted BadStatusLine” Errors

后端 未结 1 1398
旧时难觅i
旧时难觅i 2021-02-13 02:02

I\'m using Locust.io to load test an application. I will get a random error that I am unable to pinpoint the problem:

1) ConnectionError(ProtocolError(\\\'Connectio

相关标签:
1条回答
  • 2021-02-13 02:40

    BadStatusLine is most likely a server side issue. See for example this answer https://stackoverflow.com/a/1767954/1591921 It could be some sort of flood/DoS protection on the server.

    Connection reset by peer could also be any number of things, but it is most likely a server/network issue, not an issue on the loadgen side (perhaps connections are idle for too long, or there is a max connection age somewhere)

    I dont think there are any general answers to this question, it all depends on your system under test.

    0 讨论(0)
提交回复
热议问题