beapi-io / beapi-bench Goto Github PK
View Code? Open in Web Editor NEWTool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing.
License: Apache License 2.0
Tool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing.
License: Apache License 2.0
I can use GIST to store HTML templates for creating benchmark output
(ie https://gist.githubusercontent.com/orubel/159e94db62023c78a07ebe6d86633763/raw)
Reading that in via a template generator can help me create file and simplify the script. :)
https://apimetrics.io/api-technology/kpis-apis/
Some of these are provided by apacheBench here: https://stackoverflow.com/questions/2820306/definition-of-connect-processing-waiting-in-apache-bench
Not collecting this last bit of data but very easy to add this in via regex.
Need to gather data for failed requests rather than having entire test fail.
Show number of failed requests in comparison. Al;ways forget this as I never have failed requests :)
Shooting this URL:
https://xxx.com/client/api/Users?Issuer=true&Limit=100&SortFields=name&SortDirs=asc
Got in the server's log:
https://xxx.com/client/api/Users?Issuer
URL is truncated after the Issuer Query param.
Instead of just outputting via graphing tool, maybe output images to CDN for 'url' and pull them all for one HTML report.
Doing api call more than once would overwrite images for url; note NOT URI... that way different URI would overwrite as well.
If person wanted to save report, they can save to their desktop.
optional headers can be supplied but are not being added to the AB test. Need to add them in.
Now that I have changed the data output from gnuplot to html, I realize that their are a world of options just by altering the data output. We can:
Output format may have to be an option: gdoc, png, html (default)
Need to add '-p' flag to comply with apacheBench rules and accept file for POST/PUT
Also usage needs to be documented
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.