Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buihdk/ab
A tool for benchmarking your apache http server
https://github.com/buihdk/ab
Last synced: 23 days ago
JSON representation
A tool for benchmarking your apache http server
- Host: GitHub
- URL: https://github.com/buihdk/ab
- Owner: buihdk
- Created: 2019-04-15T12:04:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T12:55:05.000Z (over 5 years ago)
- Last Synced: 2024-05-16T23:55:13.622Z (7 months ago)
- Language: Go
- Homepage:
- Size: 11.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ab
https://httpd.apache.org/docs/2.4/programs/ab.htmlRun `./ab -n 100 -c 20 -s 1 -t 10 https://www.grab.com/vn`
## Set of user stories
### Required
* [x] Command-line argument parsing
* [x] Input params
* [x] Requests - Number of requests to perform
* [x] Concurrency - Number of multiple requests to make at a time
* [x] URL - The URL for testing
* [x] The program prints usage information if the wrong arguments are provided.
* [x] The program performs the specified HTTP requests and prints a summary of the results.
* [x] The program’s concurrency is implemented with goroutines.### Bonus
* [x] Extend input params with:
* [x] Timeout - Seconds to max. wait for each response
* [x] Timelimit - Maximum number of seconds to spend for benchmarking
* [ ] Prints key metrics of summary, such:
* [x] Server Hostname
* [x] Server Port
* [x] Document Path
* [x] Document Length
* [ ] Concurrency Level
* [x] Time taken for tests
* [x] Complete requests
* [x] Failed requests
* [x] Total transferred
* [ ] Requests per second
* [x] Time per request
* [ ] Transfer rate