02-12-2014 12:02 PM - edited 03-08-2019 05:35 PM
Is there an online tool somewhere that can validate the PAC file used for hosted config?
The last time TAC looked and they provided a line by line check of the file summary of necessary changes/errors, and I was wondering if we had something similar available to us.
JP
02-12-2014 12:11 PM
I personally never tried it but it could be what you are looking for. I will give it a try later this week.
http://www.manugarg.com/2007/01/google-code-introducing-pactester.html
Please share your comments after testing it.
Cheers,
-Valter
02-12-2014 01:03 PM
Thanks for that link. I'm running into problems running it.
https://code.google.com/p/pacparser/downloads/list
I'm running Win7 x64 and trying to get the application to run/or even to register. Copied the EXE and DLL into the Windows\System32 folder, runing the EXE fails because it can't find the DLL. Registering the DLL to windows "regsvr32 pacparser.dll" fails to load.
After some googling and I found this
Got the DLL loaded, but "entry-point DllRegisterServer was not found"
ugh
anyway, I'll keep trying and looking for solutions.
JP
edit:
C:\>pactester
pactester.c: You didn't specify the PAC file
Usage: pactester <-p pacfile> <-u url> [-h host] [-c client_ip] [-e]
pactester <-p pacfile> <-f urlslist> [-c client_ip] [-e]
Options:
-p pacfile : PAC file to test (specify '-' to read from standard input)
-u url : URL to test for
-h host : Host part of the URL
-c client_ip : client IP address (as returned by myIpAddres() function
in PAC files), defaults to IP address on which it is running.
-e : enable microsoft extensions (Ex functions)
-f urlslist : a file containing list of URLs to be tested.
-v : print version and exit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide