Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

jmeter parameterization for jsf application

  Asked By: Gail    Date: Oct 06    Category: Java    Views: 1785
  

I'm trying to parameterize jmeter-2 to test my application for more than one
user.
I record my login-search-logout scenario from my application with proxy server
and add a "User Parameter" element that use __CSVRead function to read the user
defined parameters from a data file for JMeter.
all threads work well with all loaded users but when I want to call an action in
one page from h:commandlink, my backBean method call only once.

Is there a special config for jsf or jmeter?

What is the jsf_sequence value in request parameters?
(I add a regular expression extractor :
jsf_sequence
input\s*type="hidden"\s*name="jsf_sequence"\s*value="(.+?)"\s*
$1$
and replace all values with ${jsf_sequence}
)

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Dmitri Lukashenko     Answered On: Jan 05

I guess that you're missing JSESSIONID cookie.

You need to add HTTP Cookie Manager to automatically detect, store and amend cookies.

Reference material:

jmeter.apache.org/.../component_reference.html

blazemeter.com/.../using-http-cookie-manager-jmeter-not-cookie-jar

 
Didn't find what you were looking for? Find more on jmeter parameterization for jsf application Or get search suggestion and latest updates.