Curl
Curl http://192.168.1.101 // text access to Web sites
curl-a ' IE11 ' http://192.168.1.101 // simulate the browser as appropriate
Other common options:
-basic using HTTP Basic authentication
- u user:password Submit user name and password
--tcp-nodelay using the tcp_nodelay option
- e Specify which URL to jump from
--cacert specifying CA certificates
--compressed Requires that the returned data be in a compressed format
- H Custom header information is passed to the server
- I. only the response message header information is displayed
--limit-rate Set transfer speed
-0 using HTTP 1.0
httpd Bring your own tools:
htpasswd Basic authentication based on file implementation, the use of the account password file generation tool
Apachectl httpd bring your own service control script
Apxs provided by the Httpd-devel package, extended httpd tools that use third-party modules
Rotatelogs Log Scrolling tool:
Access.log à
Access.log,access.1.log
Access.log,access.1.log, Access.2.log
suexec temporarily switch to a specified user to run when accessing certain resources with special permissions configured
http pressure test tools:
Ab
Webbench
Http_load
Jmeter
LoadRunner
Tcpcopy
AB [OPTIONS] URL
- N Total number of requests
- C Number of concurrent simulations
- k test in persistent connect mode
You need to use ulimit-n 65535 to adjust the number of files that the current user can open simultaneously
Ab-c 100-n 10000 http://web1.test.com/test.html
// set concurrency to 100, send 10,000 requests altogether
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8C/4E/wKiom1hp9jjw6xJ7AAN0JirsFxY928.png "title=" B.png " alt= "Wkiom1hp9jjw6xj7aan0jirsfxy928.png"/>
HTTPD Common Tools