Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I ensure each http request for jsp is within one jsessionid ?

ensure http jsessionid JSP request
0
Posted

How do I ensure each http request for jsp is within one jsessionid ?

0

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}. 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123