Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: How can I configure SilkPerformer to use a PAC file during replay?

$
0
0
The release of SilkPerformer 2007 saw the introduction of automated support for the use of PAC files during replay. To take advantage of the new capability in SilkPerformer go to: SETTINGS | ACTIVE PROFILE | REPLAY | WEB | PROXY and enable the radio button named 'Automatic Proxy Configuration URI' before specifying the location of your PAC file. The location of the PAC file may be a web location like http://localhost:81/proxy.pac or it may be a file location like "C:\temp\proxy.pac". There is also a corresponding BDL function 'WebSetProxyAutoConfigFile' which provides the same capability (see the SilkPerformer Help for further details). If you are using an earlier version of SilkPerformer (a release prior to SilkPerformer 2007) then please refer to the information below: ---------------------------------- Note: There is an update available for SilkPerformer 7.3.1 (SP731_Patch_06_ProxyList) which enhances the WebSetProxy function with a domain parameter. For details please review the following resolution: How can I specify a domain parameter or a wildcard character in the WebSetProxy function? Browsers may use a Proxy Automatic Configuration script (PAC) for connection through specified proxy servers. This PAC file allows you to specify the location of many different proxy servers. For MS Internet Explorer this is specified in: TOOLS | INTERNET OPTIONS | CONNECTIONS | LAN SETTINGS | Use Automatic Configuration script. On record, the PAC script is accessed by the browser to find the proxy server required for each URL requested. Only the actual request is recorded by SilkPerformer. On replay, SilkPerformer does not read the PAC file to find the proxy server to use. Therefore the proxy server hostname and port must be specified in SilkPerformer, this can be done by going to: SETTINGS | ACTIVE PROFILE | REPLAY | WEB | PROXY then selecting the radio button "Connect simulated browsers through a proxy server" and entering the Hostname/IP address and Port Number of the proxy server to be used for replay. However please be aware that unlike the PAC file in the browser SilkPerformer only allows you to specify a single proxy server:port for each of the protocols. Alternatively, you could specify multiple proxy servers in the script using the function WebSetProxy to simulate the options provided in the PAC file. For example, if SERVER := "US" then WebSetProxy(WEB_PROXY_HTTP, "USProxy", 80); elseif SERVER := "Europe" then WebSetProxy(WEB_PROXY_HTTP, "EuroProxy", 80); end; You can use the PAC file to locate the proxy server required by the SilkPerformer Replay Engine. The PAC is normally a text file which can be edited with any text editor.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>