Rate This Document
Findability
Accuracy
Completeness
Readability

Running httpress

  • HTTP short connections:
    1
    httpress -n 3000000 -c 300 -t 30 http://IP:PORT1/index.html
    
  • HTTP persistent connections:
    1
    httpress -n 10000000 -c 300 -t 30 -k http://IP:PORT1/index.html
    
  • HTTPS short connections:
    1
    httpress -n 100000 -c 300 -t 30 https://IP:PORT2/index.html
    
  • HTTPS persistent connections:
    1
    httpress -n 10000000 -c 300 -t 30 -k https://IP:PORT2/index.html
    
    Table 1 Parameters in the commands

    Parameter

    Description

    -n

    Number of requests

    -t

    Number of threads

    -c

    Concurrency

    IP

    IP address of the Nginx server

    PORT1

    HTTP port of the Nginx server

    PORT2

    HTTPS port of the Nginx server