Hi,
I've done some testing on our JSF app with JMeter. My basic setup was
following:
- record my navigation through pages with HTTP Proxy
- move the first two requests (i.e. the welcome screen and subsequent
POST to the login page) inside an "Only Once Controller"
- add an "HTTP Cookie Manager" inside the Thread Group so it will
remember session id
- listeners and visualisers as needed
regards,
-- mirek
Yee CN wrote:
JMeter actually comes with a proxy server that can sniff and record
request parameters including cookies. I recorded a simple session and
tried playing back – but could not even get pass through the login page
yet. I will do a bit more digging tomorrow.
Regards,
Yee
------------------------------------------------------------------------
*From:* Mert Çalışkan [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 07, 2006 12:31 AM
*To:* MyFaces Discussion
*Subject:* Re: Load Testing JSF?
You can check out OpenSTA. It records the usage of a web app. and then
you can ramp up the virtual users for the load test.
Here are the first things that came up to my mind..
It has a scripting language. If you want to read username-password for
ex. from a file, you have to do some scripting.
It has nice graphical outputs.
It can do https..
Both the openSTA and jMeter doesn't support the simulation of fileupload.
Regards,
Mert
On 6/6/06, *Dennis Byrne* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
What part are you having trouble with? JMeter or JSF ;)
I would suggest using tcpmon to sniff the request parameters off the
wire. You can obtain this from the apache axis project. Then take the
request parameters and plug them in to JMeter. You'll also want to
configure JMeter for POST - this seems to have troubled me several times
before.
Dennis Byrne
-----Original Message-----
From: Yee CN [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>]
Sent: Tuesday, June 6, 2006 10:49 AM
To: ''MyFaces Discussion''
Subject: Load Testing JSF?
Hi,
I am trying out jMeter with JSF - but not having much success so far. I
would appreciate if anybody could share your experience regarding load
testing JSF applications so I don't have sweet blood to reinvent the wheel.
I promise I will compile a Wiki on this.
Many thanks in advance.
Regards,
Yee