Comments (5)
Thanks a lot @rajusreenivasan and this is an excellent suggestion, happy to extend the tool into this direction!
Now, the output you see is expected (in its current implementation) as the target
is launched in-process and the HTTP API call also is in-process. Technically, there are two Go routines running with one being the target
binary that is assumed to expose a HTTP API and one that carries out the load testing.
It should be straight-forward to add a, say --base-url
parameter that defaults to http://127.0.0.1
and that you can use to point it to an external API.
Does this make sense?
from right-size-guide.
Added support for the base URL in v0.96. I do note, however, that the results might not be what you'd expect in a real-world setup (since the load is now in the external service rather than in the process itself, which was the intention of the stress test in the first place). Let me know what you think, please.
from right-size-guide.
from right-size-guide.
The tool measures the resource usage of --target
.
from right-size-guide.
"It should be straight-forward to add a, say --base-url parameter that defaults to http://127.0.0.1 and that you can use to point it to an external API. Does this make sense?"
Definitely, this solution should solve our problem. Thanks for considering our requirement.
from right-size-guide.
Related Issues (3)
- rsg for testing Docker API HOT 2
- How to use your tool HOT 4
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 right-size-guide.