| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Benchmark API performance by sending custom HTTP requests defined in a JSON configuration.
Ensure Bun is installed. If it's not, install it with:
npm install -g bunClone the repository and install dependencies:
git clone https://github.com/CodingBoson/ApiBenchmark.git
cd ApiBenchmark
bun installRun the benchmark with:
bun start ./examples/test.json 10Below is an example configuration:
{
"name": "My Benchmark",
"host": "https://myhost.com",
"path": "api/example",
"request": {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": {
"userId": 1
}
}
}| Back | FazBrowse Home | New Git URL |