Skip to content

package sender stress test tool

License

Notifications You must be signed in to change notification settings

joeke80215/psdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psdr

Send network packages and stress test

Usage

  • go install github.com/joeke80215/psdr
  • execute psdr -H <target host> -P <target port> -mt tcp

Example

psdr -H 192.168.100.100 -P 80 -mt tcp

Optional

  • -H : Target host (default "127.0.0.1")
  • -P : Target host port (default "8080")
  • -mt : Request method(tcp/udp/http) (default "udp")
  • -pn : Send how many packages (default 10)
  • -ps : Package size (byte) (default 1024)
  • -rn : Execute how many Routines (default 5)
  • -tm : Sleep time(millisecond) (default 1000)

Note

  • send total packages = routines(-rn) * packages(-ps)
  • watch out your cpu and memory when setting routines and packages