[httperf] requests doesn't pass through proxy server

rahul gundecha rahoolgundecha at yahoo.co.in
Tue Oct 2 23:35:49 PDT 2007

Thanks alot Martin for your kind help.

I verified your solution by looking into header, "via" had entry for proxy. 

Thanks again for explaining the complete solution. I really appreciate that.


"Arlitt, Martin" <martin.arlitt at hp.com> wrote:        v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}           Hi Rahul
  httperf doesn’t know about proxies, so it won’t automatically discover the proxy from your environment variable.
  Although httperf was designed to work specifically with Web servers, you can make it work with a proxy:
  httperf –server=proxy-ipaddr –port=proxy-port –uri=https://server-ipaddr/uri
  For example, if your proxy’s IP address is and its port is 8088, and your Web server’s IP address  is (on the default port 80) then the following command should retrieve the home page from your web server via your proxy:
  httperf –server= –port=8088 –uri=
  if your Web server is running on a different port, e.g., 8000, then add that to the uri; e.g.,
  in other words, point httperf at the proxy instead of the server, and set the uri to what would appear in your browser’s address bar..
  To verify that this is going through the proxy, you can use the –print-reply=header option, and look for http headers like Proxy-Connection” or “Via”  (or look in your proxy and server logs, or use tcpdump, etc).
  I hope this helps.
  From: httperf-bounces at napali.hpl.hp.com [mailto:httperf-bounces at napali.hpl.hp.com] On Behalf Of rahul gundecha
 Sent: Monday, October 01, 2007 5:49 AM
 To: httperf at napali.hpl.hp.com
 Subject: [httperf] requests doesn't pass through proxy server
  Hi all,
 I am trying to test my proxy server performance. For that I am generating httperf requests to a web server. httperf client, proxy server & web server all are running in same LAN. 
 I have set environment variable http_proxy to my proxy address. But still httperf requests doesn't go through it. Whereas requests from browser goes through proxy.
  httperf --timeout=12 --client=0/1 --server= --port=80 --uri=/ --rate=2 --send-buffer=4096 --recv-buffer=16384 --num-conns=40 --num-calls=1
 Is anything missing here. Please suggest the solution.
  Save all your chat conversations. Find them online.
httperf mailing list
httperf at linux.hpl.hp.com

 Get the freedom to save as many mails as you wish. Click here to know how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://napali.hpl.hp.com/pipermail/httperf/attachments/20071003/19b1522d/attachment.htm

More information about the httperf mailing list