1.0.2 • Published 3 years ago

hiter v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

hiter.js

HTTP(S) benchmark tools

with web and cli interfaces

Usage:

npx hiter
   Usage: fshar COMMAND [arguments]...
    
    Commands:
    web                             start the web server
       [-port 8080]                 listening port
       [-host 127.0.0.1]            address to bind       
       [-noAuth]                    disable basic authentication
       [-username]                  username for authentication
       [-password]                  password for authentication
       
    start                           start stress test
        -target url                 example https://hostname.xyz/search?q=*
       [-concurrent 8]              cuncurrent requests number
       [-method GET]                GET or SET          
       [-payload {"foo" : "bar"}]   
    

Example:

#take down a mem-cached laravel website  
hiter -target https://wpdomain.com/search?q=* -concurrent 1024

#start a webserver at 1337 port
hiter web -port 1337 -host 0.0.0.0 -password s3curePass

note: you can use * in target url to replace it with a random string