Vishal Shah
Vishal Shah

Reputation: 47

How to record using jmeter Http proxy server with "Automatic proxy configuration URL" (i.e .pac file )in proxy in browser

In Jmeter, I am not able to record any external website from our company proxy server. I have to use option "Automatic proxy configuration URL" (i.e one .pac file )in to browser if I dont know how to configure it in Jmeter to do successful recording.

Any idea?

Upvotes: 1

Views: 8209

Answers (2)

Aliaksandr Belik
Aliaksandr Belik

Reputation: 12873

  1. Same question with solution in Jmeter mailing archive.
  2. Jmeter: Using a Proxy Server.

Upvotes: 1

Oliver Lloyd
Oliver Lloyd

Reputation: 5004

PAC fiels contain javascript which is executed by the browser to decide which proxy URL they want to use. JMeter is not a browser so it does not run this code. The solution is simply to resolve which proxy this script returns and input this value into JMeter directly, you can do this using the dev tools on most browsers, or just ask the IT dept. that maintains the thing to tell you the direct address.

Upvotes: 1

Related Questions