1
votes

I am using JMeter 3.0 version to record HTTPS Web UI. Our corporate uses configfile.proxy.com file for proxy settings in autoconfig options which doesn't have any port specified. I am trying to invoke JMeter using these options, but without port it will not open, throwing error that port needs to be specified any suggestions?

jmeter -H configfile.proxy.com -P -u someusername -a someuserpassword -N localhost

Also, replaced configfile.proxy.com with ip address(it routes thru LB), didn't work.

1
Additional details: URL we are testing is local, so no proxy is required, however I cannot use localhost:XXXX in IE connection settings, as it will not work. Can we force JMeter to use no proxy settings? Any suggestions please?TechieStack

1 Answers

0
votes

Proxy Auto Config (PAC) files are slightly different beasts, you cannot use them with -H command line argument.

You can determine real proxy host and port using i.e. pacparser library.

Alternative option is recording your test scenario using JMeter Chrome Extension, Chrome automatically picks up system-wide proxy settings hence you won't have to worry about it (at least during recording).

If JMeter will need to go through proxy to reach the application under test - you will still need to go the "pacparser" way.