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:
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
I'll include this change in next release.
Thanks for asking for this :)
"Journey is the destination of life."