First off, I don't know how to really show you guys what exactly I'm working on nor can anyone actually hit the site because it's a private network where the website lives. Here is a screen shot of JMeter:
I'm just trying to login to our website but under the View Results Tree node for the "/common/j_security_check" it is failing. Below is the info from the tabs:
Sampler result:
Thread Name: Thread Group 1-1
Sample Start: 2011-08-18 16:59:26 PDT
Load time: 0
Latency: 0
Size in bytes: 795
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.lang.IllegalArgumentException
Response message: Non HTTP response message: Entity enclosing requests cannot be redirected without user intervention
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Request:
POST https://DELETED BY ME (SORRY)
POST data:
[no cookies]
Request Headers:
Response data:
ava.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without user intervention
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.setFollowRedirects(EntityEnclosingMethod.java:225)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:623)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:890)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:951)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:348)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
Thanks for any help.
Try switching from Redirect automatically
to Follow Redirects
.
It looks like it's trying to redirect for authentication, which means you probably need a cookie manager
as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With