Current release (1.0.7) of pactester handles it correctly only if you
specify both URL and host like this:
./pacptester -p some_pac.wpad -u http://<FQDN>:9001/someurl.html -h FQDN
After your mail I realized that if you specify only URL, then
pactester considers everything between proto :// and / as hostname.
That means port part will go into hostname. This is not in conformance
with the PAC file standard:
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
Port number shouldn't be part of hostname. I have just submitted a fix
for it to SVN repository.
You can download modified script from
http://pactester.googlecode.com/svn/trunk/pactester.
I'll include this change in next release.
Thanks for asking for this :)
-Manu
--
Manu Garg
http://www.manugarg.com
"Journey is the destination of life."