Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 send

Optional 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