Skip to content Skip to sidebar Skip to footer

Locust.io Load Testing Getting "connection Aborted Badstatusline" Errors

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(\'Connection aborted.\', BadSt

Solution 1:

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.

Post a Comment for "Locust.io Load Testing Getting "connection Aborted Badstatusline" Errors"