• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMeter and JSF

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, btw, we are not using url rewriting, either.
 
Daniel Gonzalez
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic