Prerequisites
Description
In testing AI services using HTTP Server-Sent Events (SSE), HttpUser allows handling of streaming data efficiently. However, using FastHttpUser for performance benefits isn't feasible due to its lack of streaming support.
Proposed Enhancement:
Implement iter_lines support in FastHttpUser to process streaming responses efficiently.
Maintain the performance benefits that FastHttpUser offers.
Benefits:
Expands FastHttpUser to handle real-time data and streaming APIs.
Simplifies testing by allowing users to utilize performance benefits without additional handling logic.
Provides consistent capabilities across user classes in Locust.
I believe this enhancement will increase Locust's versatility.
Thank you for considering this suggestion