Skip to content

amp http

Brendon Jones edited this page Mar 21, 2019 · 4 revisions

NAME

amp-http - AMP standalone HTTP fetch test

SYNOPSIS

amp-http [-cdhkpvx] [-a user_agent] [-m max_con] [-o max_persistent_con] [-P proxy] [-r max_pipeline] [-s max_con_per_server] [-S sslversion] [-z pipe_size] [-I iface] [-4 address] [-6 address] [-Q codepoint] -u url

DESCRIPTION

amp-http is the standalone version of the amplet2(8) HTTP fetch test. Given a URL to a webpage it will fetch the page and most of the other content required to properly display it - CSS, images, javascript, etc. It will however not parse javascript, so won't fetch objects from URLs that are constructed programatically.

OPTIONS

-a, --user-agent agent Specify User-Agent string. The default is "AMP HTTP test agent".

-c, --cached Allow cached content.

-d, --dontparse Don't parse fetched URL for more objects.

-h, --help Show summary of options.

-I, --interface iface Specifies the interface (device) that tests should use when sending packets. By default the interface will be selected according to the routing table.

-k, --no-keep-alive Disable keep-alives. The default is enabled.

-m, --max-con count Set the maximum number of connections to count. The default is 24.

-o, --max-persistent-con-per-server count Set the maximum number of persistent connections per server to count. The default is 2.

-p, --pipeline Enable pipelining. The default is disabled.

-P, --proxy proxy Proxy server to use to access the given URL. Passed straight through to libcurl. Expected to be in the libcurl proxy string format: [protocol://][user:password@]proxyhost[:port]. See https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html for more information.

-Q, --dscp codepoint IP differentiated services codepoint to set. This should be a string representing a 6-bit value in binary, octal, decimal or hexadecimal, or the short name of a predefined, commonly used codepoint. The default is 0.

-r, --max-pipelined-requests count Set the maximum number of pipelined requests to count. The default is 4.

-s, --max-con-per-server count Set the maximum number of connections per server to count. The default is 8.

-S, --sslversion version Force SSL version (sslv3, tlsv1, etc).

-v, --version Show version of program.

-x, --debug Enable extra debugging output.

-z, --pipe-size count Set the threshold of pipelined requests in a pipe before a new pipeline is created. The default is 2.

-4, --ipv6 a.b.c.d Specifies the source IPv4 address that tests should use when sending packets to IPv4 targets. This address must belong to one of the interfaces. By default the IPv4 address of the outgoing interface will be used.

-6, --ipv6 a:b:c:d:e:f:g:h Specifies the source IPv6 address that tests should use when sending packets to IPv6 targets. This address must belong to one of the interfaces. By default the IPv6 address of the outgoing interface will be used.

SEE ALSO

amplet2(8), amplet2-remote(8), amp-icmp(8), amp-trace(8), amp-dns(8), amp-throughput(8), amp-tcpping(8), amp-udpstream(8).

AUTHOR

amp-http was written by Brendon Jones <[email protected]>.

This manual page was written by Brendon Jones <[email protected]>.

Clone this wiki locally