• notice
  • Congratulations on the launch of the Sought Tech site

The use of the stress test tool http_load and the parameter description report explanation

    http_load is a stress testing tool on the Linux platform.Can be used to test the throughput and load of the web server.http_load is based on the command line, simple, compact (less than 20K after compression), open source, free.The installation of the http_laod pressure measurement tool is as follows:

#http_laod pressure test tool installation wget http:// www.acme.com/software< /span> make install #The installation is very simple and fast, and the following information is displayed: This is the http_load command that can be executed< span class="pln"> #cp http_load /usr/local/bin #An error may occur during installation: /usr/local/man/man1 Because there is no such directory, create it and try the installation again.
The parameters of the http_load command:
http_load -p number of concurrent access processes -s access time URL file (txt file URL list per line)

Parameter description: 
-parallel Abbreviation -p: The number of concurrent user processes. 
-fetches abbreviation -f: total access times 
-rate abbreviation -r: access frequency per second 
-seconds abbreviation -s: total access time

    Test command: http_load -p 30 -s 10 url.txt The test report returned is as follows:

root@localhostspan class="pln"> code 200 -- 21
    Explanation of the test report:
The test has carried out a total of 21 For each request, the maximum number of concurrent processes is 30, the total transmission is 907207 bytes, and it runs for 10.0001 seconds.
The average amount of data transmitted per request is 43200.3, which is actually = total transmission/request times
The number of requests per second is 2.09998, and the number of data transmitted per second is 90720
The average connection time is 15.2955 milliseconds, the maximum response time 17.253msecs, the minimum response time 13.701msecs
The average response time is 968.356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

The number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

200 -- 21     Explanation of the test report:
The test made a total of 21 requests, the maximum number of concurrent processes is 30, the total transmission is 907207bytes, and it runs for 10.0001 seconds.
The average amount of data transmitted per request is 43200.3, which is actually = total transmission/request times
The number of requests per second is 2.09998, and the number of data transmitted per second is 90720
The average connection time is 15.2955 milliseconds, the maximum response time 17.253msecs, the minimum response time 13.701msecs
The average response time is 968.356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

The number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

200 -- 21     Explanation of the test report:
The test made a total of 21 requests, the maximum number of concurrent processes is 30, the total transmission is 907207bytes, and it runs for 10.0001 seconds.
The average amount of data transmitted per request is 43200.3, which is actually = total transmission/request times
The number of requests per second is 2.09998, and the number of data transmitted per second is 90720
The average connection time is 15.2955 milliseconds, the maximum response time 17.253msecs, the minimum response time 13.701msecs
The average response time is 968.356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

The number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

span class="lit">21     Explanation of the test report:
There were 21 requests in the test, the maximum number of concurrent processes was 30, and the total transmission was 907207bytes , Run for 10.0001 seconds.
The average amount of data transmitted per request is 43200.3, which is actually = total transmission/request times
The number of requests per second is 2.09998, and the number of data transmitted per second is 90720
The average connection time is 15.2955 milliseconds, the maximum response time 17.253msecs, the minimum response time 13.701msecs
The average response time is 968.356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

The number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

span class="lit">21     Explanation of the test report:
There were 21 requests in the test, the maximum number of concurrent processes was 30, and the total transmission was 907207bytes , Run for 10.0001 seconds.
The average amount of data transmitted per request is 43200.3, which is actually = total transmission/request times
The number of requests per second is 2.09998, and the number of data transmitted per second is 90720
The average connection time is 15.2955 milliseconds, the maximum response time 17.253msecs, the minimum response time 13.701msecs
The average response time is 968.356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

The number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

Finally, the number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

356 milliseconds, the maximum response time is 3807.22msecs, and the minimum response time is 42.817msecs

Finally, the number of various status codes returned by the server.Here are all 200 normal returns (502 will be returned when the server can’t support)

    http_load stress test tool download address: http_load stress test tool download address

Tags

Technical otaku

Sought technology together

Related Topic

1 Comments

author

lipitor pills & lt;a href="https://lipiws.top/"& gt;atorvastatin 10mg cheap& lt;/a& gt; lipitor for sale online

Grrluh

2024-03-09

Leave a Reply

+