Skip to content

Basic Load Testing / Web Stresser written in GoLang.

Notifications You must be signed in to change notification settings

regmicmahesh/stresser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stresser

This is a very basic stress testing tool written in go.

Currently, it hits the requested amount of get requests in your domain / path with provided number of goroutines.

Installation

If you have go installed, you can simple run the main.go file or the whole package.

git clone https://github.com/regmicmahesh/stresser
cd stresser
go build .
#If you want to install
go install .

Now you're ready to run the stresser.

#Local Build
./stresser
#Installation
stresser

Or you can use the docker image provided.

docker run regmicmahesh/stresser -h

Usage

You can check the help file by executing the given command.

❯ ./stresser -h
Usage of ./stresser:
  -c int
        Number of hits. (default 100)
  -t int
        Number of threads. (default 4)
  -u string
        URL (default "https://google.com")

The help command is self explanatory.

Example

Stress testing http://localhost with 1000 hits on 20 threads.

stresser -u http://localhost -c 1000 -t 20

Contribution

Every minor/major contribution is welcomed and highly appreciated.

About

Basic Load Testing / Web Stresser written in GoLang.

Resources

Stars

Watchers

Forks

Packages

No packages published