Sign inSign up

pedroperezmsft/httping

By pedroperezmsft

•Updated almost 9 years ago

Tool to measure HTTP/S response times

Image
0

10K+

pedroperezmsft/httping repository overview

⁠Usage
⁠Server mode (listener)

docker run pedroperezmsft/httping -listen port [OPTIONS]

It will start a listener on port and reply to any GET request as follows:

{
  "Hostname":"Server_Hostname",
  "ClientIP":"Client_IP",
  "Time":"Current_Timestamp"
}
⁠Client mode (original httping)

docker run pedroperezmsft/httping -url requested_url [OPTIONS]

⁠Options
-h
  Help

-url *https://github.com*
  Requested URL. If no protocol is specified with http:// or https:// the system will use http://

-count *10*
  Number of requests to send.
  Default: 10
  
-httpverb *GET*
  Verb to use for the HTTP request: GET or HEAD.
  Default: GET

-hostheader "github.com"
  Specify a custom Host: header

-json
  If specified, outputs the results in json format

Tag summary

Content type

Image

Digest

Size

5.8 MB

Last updated

almost 9 years ago

docker pull pedroperezmsft/httping