This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes JMeter and JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JMeter and JSF" Watch "JMeter and JSF" New topic
Author

JMeter and JSF

Daniel Gonzalez
Greenhorn

Joined: Jan 13, 2011
Posts: 3
Hello, I am trying to load test my web app. I have followed the instructions here:

http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter

as we are using JSF 2.0. I have also read quite a bit of the jmeter user manual:
http://jakarta.apache.org/jmeter/usermanual/index.html

Even after using the proxy server to record, cookie manager, and following the instructions above (esp. the regex at PerformanceTestingWithJMeter), I am unable to successfully post to any jsf page in my web app.

The error I am getting is the one the regex is supposed to stop:

javax.faces.application.ViewExpiredException: viewId:/faces/myPage.jsf - View /faces/myPage.jsf could not be restored.

I have tried adding the autocomplete string to the regex, as well, but to no avail.

Any thoughts?

Thank you in advance.
Daniel Gonzalez
Greenhorn

Joined: Jan 13, 2011
Posts: 3
Oh, btw, we are not using url rewriting, either.
Daniel Gonzalez
Greenhorn

Joined: Jan 13, 2011
Posts: 3
Never mind. I should have copied the regex base from my browser source instead of directly from wiki.apache.org/myfaces/PerformanceTestingWithJMeter. Works just fine now.
 
Consider Paul's rocket mass heater.
 
subject: JMeter and JSF
 
Similar Threads
Need Assistance Load Testing a JSF/Seam Application with JMeter
Startup problem with JSF1.2
How to send a file with jmeter and jsf
Login Application Configuration on JMeter
Load Testing Using Jmeter