https://github.com/andboson/ab-go
apache ab testing tool port in golang
https://github.com/andboson/ab-go
apache-ab golang graphics load-testing stress-testing testing
Last synced: 5 months ago
JSON representation
apache ab testing tool port in golang
- Host: GitHub
- URL: https://github.com/andboson/ab-go
- Owner: andboson
- License: mit
- Archived: true
- Created: 2015-07-07T14:04:12.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-11-07T06:30:18.000Z (over 3 years ago)
- Last Synced: 2025-08-13T19:39:42.484Z (10 months ago)
- Topics: apache-ab, golang, graphics, load-testing, stress-testing, testing
- Language: Go
- Homepage:
- Size: 19.5 MB
- Stars: 25
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ab-go [](https://travis-ci.org/andboson/ab-go)
Inspired by `apache ab testing tool`. Created with `golang`.
Features:
- File with post data strings
- File with urls strings
- Headers file
- Real-time stats
- Sends result to Slack
run ./ab-go for usage
## run options:
##### -n
Number of requests sended to server.
##### -c
Number of concurrency requests in one batch.
##### -d
String with post data
##### -p
String with filename contains post data strings
##### -u
String with filename contains urls strings
##### -H
String with header
##### -h
String with filename contains headers strings
##### -t
Number of milliseconds request timeout
##### -test
String with time duration. Enable cycled tests with sending results to graphics.
Sample values: "5m", "60s", "24h". Value "0" starts endless testing mode.
Run with this flag and open `localhost:9999` (default port) in your browser
Data is updated every second.
##### -port
Embedded web-server port. Used with `-test` flag
##### -slack
String with Slack endpoint url (incoming WebHoock) for sending results.
##### -name
String of tested api name, who will be presented in results message in Slack. Used with `-slack` flag
##### -k
Use HTTP KeepAlive feature
-----------------
#### build:
mkdir $GOPATH/src/github.com/andboson/ab-go && cd $GOPATH/src/github.com/andboson/ab-go
git clone git@github.com:andboson/ab-go.git .
make