Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 678 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 678 Bytes

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