You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Michael Scholz <mi...@uni-passau.de> on 2008/09/24 14:24:08 UTC
User Session
Hello,
i would like to test a web application. There in a first step i send an
http-request to with some parameters (which is working fine). One of
these parameters is stored as a session variable in the application. And
the application tries to read this session variable when the
http-request of the next step is arriving. Hence both http-request must
send from the same client (the same session). How can i model this? I
tried to use HTTP Request Client with keep alive flag, but it doesn't work.
Cheer,
Michael
RE: User Session
Posted by Matt Brown <ma...@vapps.com>.
You'll need to add a cookie manager to the thread group so that the
SESSIONID cookie is re-used in the subsequent requests.
http://jakarta.apache.org/jmeter/usermanual/build-web-test-plan.html#adding_
cookie_support
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Co
okie_Manager
-----Original Message-----
From: Michael Scholz [mailto:michael.scholz@uni-passau.de]
Sent: Wednesday, September 24, 2008 8:24 AM
To: jmeter-user@jakarta.apache.org
Subject: User Session
Hello,
i would like to test a web application. There in a first step i send an
http-request to with some parameters (which is working fine). One of these
parameters is stored as a session variable in the application. And the
application tries to read this session variable when the http-request of the
next step is arriving. Hence both http-request must send from the same
client (the same session). How can i model this? I tried to use HTTP Request
Client with keep alive flag, but it doesn't work.
Cheer,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org