Example Proxy Server Functions

Sets the location of the proxy auto-configuration (PAC) script.


web.setPac( pacUrl );
Argument Description
pacUrl The URL of the proxy auto-configuration file. Do not use a local path-name.

Return Values

Not applicable


All input arguments can be parameterized using standard parameterization.

General Information

Proxy servers returned by PAC script evaluation may require authentication. Credentials set in the Run-Time Settings are ignored for these proxies.

Supply any required credentials for the proxy servers defined in the PAC with web.setUser steps. Add a setUser step for each proxy server that will be accessed. Place the setUser calls before the web.setPac step.

To submit HTTP requests without using the PAC, pass an empty string: web.setPac ( "" ).  


web.setPac( "http://myhost/pacfile.js");