FastHttpLocust gives error when using valid url.
See original GitHub issueWhen using FastHttpLocust with an valid URL, the following error is emitted.
LocustError: Invalid host (`https://hostname/path`). The specified host string must be a base URL without a trailing slash.
The regex r"^https?://[^/]+$"
in file locust/contrib/fasthttp.py
seems to be wrong.
It maches https://hostname
and not https://hostname/path
error message warned about https://hostname/path/
Environment settings
- OS: Windows 10
- Python version: 2.7
- Locust version: 0.13.5
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Python HTTP request failing with zlib.error: Error -5 while ...
I am trying to make a HTTP call here using fasthttp library in python. While running the get request as in below example...
Read more >Increase performance with a faster HTTP client
Parses the JSON response to a dict called js in the response object. Marks the request as failed if the response was not...
Read more >Use test_network_timeout_setting in locust With Examples ...
Learn how to use test_network_timeout_setting function in locust framework for your next python automation project with LambdaTest Automation Testing ...
Read more >Locust - Read the Docs
Grouping requests to URLs with dynamic parameters . ... Locust has a neat HTML+JS user interface that shows relevant test details in ...
Read more >Open source load testing tool review 2020 - Grafana k6
A colleague working with k6 suggested we'd add a tool built with Rust and ... of Locust - it is (as far as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That is a great Name. 😉
(btw, my name is also Lars 😉