Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" 
for change notification.

The "JMeterFAQ" page has been changed by JMeterAdmin.
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ?action=diff&rev1=28&rev2=29

--------------------------------------------------

  
  == How do I ensure each http request for jsp is within one jsessionid ? ==
  
- Just insert a http cookie manager. It will automatically handle the session 
for all the request within the threadgroup treating it like one session. 
Without http cookie manager, each request is a new session as no session state 
is kept. jsessionid is only shown for the very first request, subsequent 
request will not see the jsessionid. to use a variable in jmeter is ${name of 
variable}. 
+ Just insert an HTTP Cookie Manager. This keeps track of all cookies for each 
thread within the thread group.
+ Without http cookie manager, each request is a new session as cookies are 
kept. 
+ jsessionid is only shown for the very first request, subsequent request will 
not see the jsessionid. to use a variable in jmeter is ${name of variable}. 
  
  This is very useful when dealing with jsp form logins, as the first request 
is to login to the system and subsequent request is to do load testing on the 
target page. This will prevent redirection back into login page. 
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to