Comments (6)
I had the needs for this a while ago. I ended up with wrapping the client.get/post functions where I prefixed or suffixed the "name" keyword argument with "[GET]" or "[POST]".
A better way would be if Locust handled this internally so that the request method could have its own column in the UI, which could be better designed and sorted on.
from locust.
I agree. And I think that two different HTTP request methods to the same URL, should then be treated separately in the web UI.
from locust.
I've implemented this functionality in a feature-branch named http-methods (commit 6db337d). Give it a quick try or just check through the commit and see if you see any oddities. The tests should pass but are still a bit WIP regarding using flask rather than gevent for the test web server.
from locust.
This issue were solved in the latest commit.
from locust.
Nice! Sorry, I was going to check out the branch before, but it totally slipped my mind.
Btw, a nice thing to use if one wants some code review on a feature branch, is to do a pull request from that feature branch into master.
from locust.
Ah, cool, didn't know you could do that.
from locust.
Related Issues (20)
- Locust spams error if Host is invalid HOT 1
- [LocustLineChart] Implement an option/configuration for users to customize the color of the LocustLineChart. HOT 7
- CVE-2023-6246 vulnerability with latest docker image. HOT 2
- Add support with logging.config.dictConfig HOT 2
- Modern UI - User class picker - add option to enable/disable everything.
- Allow users to define custom metrics to track HOT 1
- Modern UI: ability to sort tables by column specific column HOT 1
- After launching the web interface and accessing I see CRITICAL/locust.web 404 Not Found in output HOT 4
- Modern UI: Add exception message column on the Exception Statistics HOT 1
- Modern UI: Average Response Time and 95th percentile have the same color HOT 2
- Same API call of the different URL string. HOT 1
- [Report][Modern-UI] HTML report is blank HOT 9
- Feature Request: Support for multiple real users to access the Locust UI simultaneously, each managing their own tests HOT 1
- Bug / Feature request: Time intensive `custom_messages` functions trigger heartbeat timeout HOT 4
- Blank page when accessing Locust Web UI via reverse proxy with subpath HOT 3
- SocketIOUser send method supports specific subscribe request HOT 1
- Statistics not visible while testing WebSockets using User module
- Python Crash during running distributed mode HOT 2
- Workers shutting down with getting no response from master after stopping or ending a load run HOT 3
- Need http2 requests support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locust.