CAS Stress with JMeter

8 messages Options
Embed this post
Permalink
Daniel Cukier

CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Does anybody already did Stress Test with CAS using JMeter?
I'm trying to simulate 500 simultaneous logins, but isn't working.
I use the HttpRequest sampler using 
 - path: /login
 - protocol: https
 - port number: 443
 - Send parameter with request: 
     - username: test
     - password: teste
     - _eventId: submit

The html file returned is the normal 'login page' html

Does anybody know what Im doing wrong?

Thanks in advance

Daniel Cukier

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Andrew Feller

RE: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
RE: [cas-dev] CAS Stress with JMeter

Daniel,

Yes, I can help you there.  I use JMeter and have a couple of comprehensive tests, however I don't have any on me as I am out for the day.  Aside from sending you one of my own Monday, I will explain what is going on.  There are a couple of hidden form fields on the login form that you aren't capturing and retransmitting to the CAS server.  If you are using Firefox, you can download the Web Developer plugin and enable the "View Form Details" option and you can see them easily; otherwise you need to check out the source and look for "lt" and "_eventId".

If this isn't pressing, then please email me directly with a subject line like "Requesting copy of comprehensive JMeter stress test" and I will make sure to send you a copy Monday.

HTH,
A-

--
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400



-----Original Message-----
From: Daniel Cukier [[hidden email]]
Sent: Fri 6/19/2009 3:54 PM
To: [hidden email]
Subject: [cas-dev] CAS Stress with JMeter

Does anybody already did Stress Test with CAS using JMeter?I'm trying to
simulate 500 simultaneous logins, but isn't working.
I use the HttpRequest sampler using
 - path: /login
 - protocol: https
 - port number: 443
 - Send parameter with request:
     - username: test
     - password: teste
     - _eventId: submit

The html file returned is the normal 'login page' html

Does anybody know what Im doing wrong?

Thanks in advance

Daniel Cukier

--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Marvin Addison

Re: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
In reply to this post by Daniel Cukier
There's a JMeter test attached to http://www.ja-sig.org/issues/browse/CAS-782 
  that we use for load testing at Virginia Tech.  You could easily  
customize it for your environment.

M

--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Andrew Feller

RE: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
RE: [cas-dev] CAS Stress with JMeter

Hey Marvin,

Nice test; very much what I expected.  However it seems like you never handle logout as part of your test.  Am I right?  If so, is that intentional?

A-

--
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400



-----Original Message-----
From: Marvin S. Addison [[hidden email]]
Sent: Fri 6/19/2009 7:51 PM
To: [hidden email]
Subject: Re: [cas-dev] CAS Stress with JMeter

There's a JMeter test attached to http://www.ja-sig.org/issues/browse/CAS-782
  that we use for load testing at Virginia Tech.  You could easily 
customize it for your environment.

M

--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Scott Battaglia-2

Re: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Any chance we can create a load/stress testing page in Confluence with some version of the script?

Might be useful.  What do you think?

Cheers,
Scott


On Fri, Jun 19, 2009 at 9:23 PM, Andrew R Feller <[hidden email]> wrote:

Hey Marvin,

Nice test; very much what I expected.  However it seems like you never handle logout as part of your test.  Am I right?  If so, is that intentional?



A-

--
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400



-----Original Message-----
From: Marvin S. Addison [[hidden email]]
Sent: Fri 6/19/2009 7:51 PM
To: [hidden email]
Subject: Re: [cas-dev] CAS Stress with JMeter

There's a JMeter test attached to http://www.ja-sig.org/issues/browse/CAS-782
  that we use for load testing at Virginia Tech.  You could easily 
customize it for your environment.

M

--
You are currently subscribed to [hidden email] as: [hidden email]

To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Marvin Addison

Re: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andrew Feller
> However it seems like you never handle logout as part of your test.  
> Am I right?

That is correct.

> If so, is that intentional?


Yes.  I created the test to stress ticket creation and investigate the  
registry cleaner behavior, where leaving tickets around in the  
registry was a _good_ thing.  I realize that a generalized test could  
or should include logout.

I like Scott's suggestion of putting a Wiki page up with some JMeter  
tests attached, and possibly some general considerations for testing.  
I'll put up a page on CASUM in the next few days with the test from  
CAS-782 attached unless someone has a suggestion for a more  
appropriate place.

M

--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Andrew Feller

Re: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Marvin,

I have created a couple of pages for testing and Apache Jmeter.  I took the
liberty of including the JMX script you attached to the JIRA issue as well
as provide some basic content and links.

http://www.ja-sig.org/wiki/display/CASUM/Testing
http://www.ja-sig.org/wiki/display/CASUM/Apache+JMeter

I have also included one of our testing scripts.

On 6/20/09 6:56 AM, "Marvin S. Addison" <[hidden email]> wrote:

>> However it seems like you never handle logout as part of your test.
>> Am I right?
>
> That is correct.
>
>> If so, is that intentional?
>
>
> Yes.  I created the test to stress ticket creation and investigate the
> registry cleaner behavior, where leaving tickets around in the
> registry was a _good_ thing.  I realize that a generalized test could
> or should include logout.
>
> I like Scott's suggestion of putting a Wiki page up with some JMeter
> tests attached, and possibly some general considerations for testing.
> I'll put up a page on CASUM in the next few days with the test from
> CAS-782 attached unless someone has a suggestion for a more
> appropriate place.
>
> M

--
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400



--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
Daniel Cukier

Re: CAS Stress with JMeter

Reply Threaded More More options
Print post
Permalink
Thanks all! I'm using the jmx script on my server and it's working fine.
But I couldn't understand well what the test really tests. 
 - How many simultaneous users can I have acessing my servers?
 - How many page views / second?

You guys did a great job. Thanks!

2009/6/22 Andrew Feller <[hidden email]>
Marvin,

I have created a couple of pages for testing and Apache Jmeter.  I took the
liberty of including the JMX script you attached to the JIRA issue as well
as provide some basic content and links.

http://www.ja-sig.org/wiki/display/CASUM/Testing
http://www.ja-sig.org/wiki/display/CASUM/Apache+JMeter

I have also included one of our testing scripts.

On 6/20/09 6:56 AM, "Marvin S. Addison" <[hidden email]> wrote:

>> However it seems like you never handle logout as part of your test.
>> Am I right?
>
> That is correct.
>
>> If so, is that intentional?
>
>
> Yes.  I created the test to stress ticket creation and investigate the
> registry cleaner behavior, where leaving tickets around in the
> registry was a _good_ thing.  I realize that a generalized test could
> or should include logout.
>
> I like Scott's suggestion of putting a Wiki page up with some JMeter
> tests attached, and possibly some general considerations for testing.
> I'll put up a page on CASUM in the next few days with the test from
> CAS-782 attached unless someone has a suggestion for a more
> appropriate place.
>
> M

--
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400



--
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev