Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hartfordfive/gobench
A simple HTTP stress testing tool
https://github.com/hartfordfive/gobench
Last synced: about 8 hours ago
JSON representation
A simple HTTP stress testing tool
- Host: GitHub
- URL: https://github.com/hartfordfive/gobench
- Owner: hartfordfive
- License: mit
- Created: 2013-09-13T12:44:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-05T12:56:18.000Z (about 8 years ago)
- Last Synced: 2023-08-03T20:23:02.380Z (over 1 year ago)
- Language: Go
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
gobench
=======A simple HTTP stress testing tool
## Notice
**This project is no longer maintained. Considering it was from my earlier days in Go development, it has a variety of bugs, especially concurency related ones. Unfortunately these won't be fixed, although I may eventually decided to create a new and improved version.**
Sample Usage Example:
-----------------------go run gobench -u "http://www.yourdomain.com" -c 5 -m 25 -cf cookies.txt -ul useragentlist.txt
or with compiled binary:
./gobench -u "http://www.yourdomain.com" -c 5 -m 25 -cf cookies.txt -ul useragentlist.txt
Mandatory Parameter Details:
------------------------
`-u` : The url to test**
`-m` : The total number of requests to sendOptional Parameter Details:
------------------------
`-c` : The number of requests to run concurently
`-p` : The number of processors to use
`-tw` : The number of milliseconds to wait between requests
`-pd` : The POST data file to use for the requets
`-l` : The file containing the list of URLs to request. When specified, the `-u` parameter is ignored.**
`-cf` : The file containing the cookie data
`-ul` : The file contianing the list of user-agents to use for requests randomly. (One UA per line)The following sample files have been included in the configs directory for the `-pd`, `-l`, `-cf` and `-ul` flags:
- cookies.txt
- postdata.txt
- ua.txt
- urls.txt