the easiest way is to add the cookie manager to the thread group. once the test starts, the cookie manager will do it's thing.
peter On 6/29/05, Anusha <[EMAIL PROTECTED]> wrote: > Hi! > > Would u be able to tell me how to manage the cookies. I read the manual, but > I don't quite get it. From my understanding, it can be managed automatically > or manually by adding the HTTP Cookie Manager > ----- Original Message ----- > From: "Michael Stover" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, June 29, 2005 9:03 PM > Subject: Re: File Upload Scenario replay fail > > > > "reason=Session Timeout" > > > > Did you forget to include a Cookie Manager in your test plan? > > > > -Mike > > > > > > On Wed, 2005-06-29 at 18:01 +0800, Anusha wrote: > > > Hi All > > > > > > > > > > > > > > > > > > My application uploads files (eg. word, excel) into my sql database. My > browser is IE 6. OS: Window 2000 server. I am using apache as my server. I > am using jakarta-jmeter-2.0.3 > > > > > > > > > > > > I am doing the recording locally on my pc. I successfully recorded the > file upload scenario. I recorded browsing for an excel file that is 1.84 MB > large and uploaded it successfully into the db. Then I replayed the > script, but the file won't upload at replay. > > > > > > > > > > > > I get this error when I choose to view results on tree: > > > > > > Load time: 594 > > > HTTP response code: 302 > > > HTTP response message: Found > > > > > > HTTP response headers: > > > HTTP/1.1 302 Found > > > Date: Mon, 27 Jun 2005 03:55:14 GMT > > > Server: IBM_HTTP_SERVER/1.3.19.6 Apache/1.3.20 (Unix) > > > location: > http://192.168.3.199/iteps/servlet/../bnm/jsp/frmErrMsgClose.jsp?reason=Session > Timeout.&title=Excel Upload Failed. > > > Content-Length: 0 > > > Keep-Alive: timeout=15, max=89 > > > Connection: Keep-Alive > > > Content-Type: text/html > > > Content-Language: en > > > > > > > > > > > > How come the excel file upload failed? It says that the reason is > session time out? What can I do about this? When I did the recording the > file was successfully saved into the db. Now when I replay, I get this > error. > > > > > > > > > > > > I have also tried with a smaller file, but I still get this error. > > > > > > > > > > > > Kindly provide me with some suggestions. I have downloaded the latest > Jmeter and I still face this problem. > > > > > > > > > > > > Thanks > > > > > > > > > > > > Regards, > > > > > > Anusha > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

