Hi,
I am trying to run httest behind a proxy (proxy, 8080). How can I configure httest to use this proxy, or the system's proxy configurations. Currently I am failing to run the 'Wikipedia' example, probably because of this (error 670008).
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Its a key feature of httest not do anything automaticaly. No automatich follow redirects, no cookie handling and no proxy support. So you can do any nasty stuff with it :)
In your case this isn't that helpfull I know. I take transparent proxy support on my TODO List.
Hi,
I am trying to run httest behind a proxy (proxy, 8080). How can I configure httest to use this proxy, or the system's proxy configurations. Currently I am failing to run the 'Wikipedia' example, probably because of this (error 670008).
Thank you
Hi,
There is no direct proxy support.
Its a key feature of httest not do anything automaticaly. No automatich follow redirects, no cookie handling and no proxy support. So you can do any nasty stuff with it :)
In your case this isn't that helpfull I know. I take transparent proxy support on my TODO List.
_REQ <proxy-host> <proxy-port>
__GET http://<Your-Host>/<Your-URL> HTTP/1.1
__Host: <Your-Host>
__
_WAIT
So you connect to proxy and do the proxy protocol as specified.
kind regards
And here the wikipedia example through a local forward proxy listening on port 8080:
CLIENT
_REQ localhost 8080
__GET http://www . wikipedia . org HTTP /1.1
__Host : www . wikipedia . org
__
_EXPECT . "200 OK "
_EXPECT . " Wikipedia "
_WAIT
END
Thanks, using a local proxy solves it.
The same will sure work with any proxy :) just replace localhost with your proxy IP or name in the example above.