0.0
No commit activity in last 3 years
No release in over 3 years
http client with thread
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

HttpMachinegun

It sends data (or get data) via http with The number-of-times thread.

install

gem install http_machinegun

usage

http_machinegun fire -u #{url}

###example

#simple get request by one times
http_machinegun fire -u http://localhost

#get request to 3000 port option by one times
http_machinegun fire -u http://localhost -p 3000

#post request with data by one times
http_machinegun fire -u http://localhost -d abc -m post
#or
http_machinegun fire -u http://localhost -d data.txt

#get request with data by ten times
http_machinegun fire -u http://localhost -t 10

###options

  • -u, --url target url

  • -p, --port target port

  • -d, --data_or_file string or file path

  • -m, --method http method (get,post,put,delete )

  • -t, --thread_number request number of times you want