Skip to content

The timeout for get requests is placed in params #223

@GeraldWhitehead

Description

@GeraldWhitehead

I'm using locust's FastHttpUser for stress testing, and after I set the timeout timeout, if it's a get request, it's added to the params. I checked your documentation and found that there is no timeout parameter, so I changed the parameter to network_timeout, and when I run the test, it is also added to the params, as follows
image
I checked the source code and found that kw is assigned to params when params is None, I don't understand why it is set this way, how should I set the timeout correctly?
image
The version I am using is 2.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions