Skip to content

asheghi/hiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiter.js

HTTP(S) benchmark tool

with web and cli interfaces

Usage:

npx hiter
   Usage: hiter 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 with web gui at port 1337
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