1 Aug 2002 08:08
Problems with proxy server and redirection
MCMURTRIE, Dion <Dion.McMURTRIE <at> suncorp.com.au>
2002-08-01 06:08:18 GMT
2002-08-01 06:08:18 GMT
I'm trying to get jMeter to work in my work environment and having quite a bit of trouble. Firstly access to the web site that I wish to test using jMeter is behind a firewall via a proxy server. I saw that proxy server and port options could be specified to the jmeter.bat file and did that, but I received a 407 http error "Proxy authentication required". I could not find anywhere to put my proxy authentication information into jMeter so I hacked the class started by the jmeter.bat file just so that I could keep going until I found the right way to set the proxy authentication information. The thing that I added was a subclass of java.net.Authenticator that would authenticate to my proxy for me. That seemed to work for me, but does anyone know the correct jMeter way to set up proxy Authentication? Anyway that seemed to get me past the proxy authentication although a little hacky, and now I am getting the following exception whenever I request a url (for example http://www.mgcars.org.uk/index.html <http://www.mgcars.org.uk/index.html> ) - java.net.ProtocolException: Server redirected too many times (5) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:556) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnect ion.java:814) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.saveConnectionCookies(HT TPSampler.java:502)(Continue reading)
RSS Feed