I think Acegi can be configured to use either cookie based sessions or url rewriting, or both. I think my app used cookie based sessions.

I think you should add the "View results tree" listener to your test plan.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree
I always use that listener when I want to figure out why my test is not behaving as expected, since it allows me to see all the details of the request sent and the response received.

Regards
Alf Hogemark


Thts me wrote:
hi,

I retried it and it worked for logging into the SignIn page.
As you have pointed out, it does not keep the user logged in.

I have used the cookie manager.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Cookie_Manager
Profile = default.
Do I need to set some different parameters?
Does Acegi used cookies or URL rewriting? URL rewriting manager doesnt work
for me too.

Another major problem is: How do I debug JMeter? To find out whats blocking
JMeter from load testing the application correctly?
eg: In the Aggregate report I can see 100% Errors. I would like to explore
the cause of the error, etc.
Some reference link would help here.
Thanks in advance.



quote author="Alf Høgemark">
I have successfully used JMeter to test web app based on Spring and Acegi security.
JMeter does not care what third party library is used for security.

You just need to make sure that the correct user name and password is used for logging in, and that you use the cookie manager to keep the "user" logged in. I suggest you read more in the user manual, and if you still have problems, please give more details on the nature of your problems, and then maybe we can help.

Regards
Alf Hogemark

Thts me wrote:
hi,

I'm trying to load test my application with JMeter.
My application has: Spring framework with Acegi security & Tomcat v5.5
My aggregate report shows 100% errors.
I guess the problem is JMeter cannot understand Acegi encoding. I am using
Acegi JDBC Authenticaton.
How do you load test Acegi applications with JMeter or rather how do you
load test applications that have security enabled by third party
libraries?

Thanks in advance,
Thts me.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to