0

I am using locust for load testing, I have deployed locust in kubernetes with master and workers. I am testing with 100 users and Hatch rate 20 users. After certain requests, I am continuously facing the issue with 'HttpConnectionClosed'. I have researched lot on this but none of them given me clue.

enter image description here

I really appreciate if anyone help me.

Sanjay Chintha
  • 326
  • 1
  • 4
  • 21

1 Answers1

0

This means that the HTTP server unexpectedly closed or reset the connection before Locust received the HTTP headers (or possibly some network element between Locust and the server interrupted the connection)

The source is here: https://github.com/gwik/geventhttpclient/blob/aea7c3a61fd9c88159f6f929888879705faecc25/src/geventhttpclient/response.py#L195

You might want to try the regular HttpUser instead of FastHttpUser to see if there is some subtle difference (or maybe a more clear error message), but this is most likely a "real" issue, not a Locust problem.

Cyberwiz
  • 11,027
  • 3
  • 20
  • 40