Sunday, July 29, 2012

java.io.IOException: Exceeeded maximum number of redirects: 5

java.io.IOException: Exceeeded maximum number of redirects: 5

at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPS
amplerBase.java:1326)

at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTP
SamplerBase.java:1373)

at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:5
28)

at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBas
e.java:1021)

at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBas
e.java:1007)

at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)

at java.lang.Thread.run(Unknown Source)

-----
Look at the request closely on view results tree listener on why is it redirecting that many times. There is a parameter in jmeter.properties called httpsampler.max_redirects which could be changed to increase the limit. However it wouldn't be recommended. The adequate redirect limit can be set to 20 (Firefox)

or

Try disabling follow redirects, and see what the first page says in the tree view listener.


Thursday, February 16, 2012

Throttle Internet Bandwidth on Windows


To throttle the network bandwidth for slow internet connections / emulate different bandwidths.


Throttling Bandwidth During Load Testing Using JMeter.
Charles: http://www.sujitnayak.com/?p=447


Throttle Internet Bandwidth on Windows
NetBalancer: http://geeknizer.com/windows-bandwidth-throttle/