On 22/02/2009, Mordechai <mr.happy.sna...@gmail.com> wrote: > > Hi, > > After recording several scripts in Jmeter against an in house application > that seems to set a cookie which contains the jsession id I'm unable to find > it in Jmeter script. After checking the headers, and the actual jmx file I > cannot find where Jmeter is passing or receiving the cookie. When I use > other proxy recorders such as fiddler, or httpwatch I can see where the > cookie is set and where its sent.
JMeter does not record cookies. When recording, the browser manages cookies. When replaying, you need to add a Cookie Manager to manage the cookies. You can see cookies in the Tree View Listener. > Though when I check these exact requests in Jmeter the values are not > captured or sent in the header. I'm using the cookie manager, I've tried > re-recording the script a few times, and I'm still not seeing the jessionid > captured. The script will work with up to 5 users and then will start > screwing up due to session issues. How does the application determine the session id? Do you need to log in? If so, are the logins unique? Note that the default Http Sampler may share connections between threads. The HttpClient Http Sampler will never do so. > If anyone has any idea or suggestions please let me know. > Thanks. > Mord > > P.S. I can see in httpwatch that its sent in a header as cookie but in > Jmeter it records it without the cookie being sent in the header or set at > all - am I missing something? How can I enter a cookie into the cookie > manager if I have no where to regex the jessionid from? > > -- > View this message in context: > http://www.nabble.com/Jmeter-proxy-recoring-not-showing-cookie-tp22150874p22150874.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org