jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jax <>
Subject Another JSP Login problem
Date Tue, 01 Aug 2006 23:52:59 GMT

Hi Everyone,

I have trawled through this site (and others via google) and I can't the
answer I'm looking for so am posting this question here.

1) I have a jsp page called setup.jsp. This checks for a cookie called
'username'. If it can't find it, then it redirects to login.jsp.

2) login.jsp takes a username and password and submits to setup.jsp.  Before
the 'submit' occurs, a bit of javascript adds 'username' to the cookie with
the value of what is entered by the user.  Once submitted, setup.jsp will
redirect to home.jsp (which requires that there is a username cookie

I have setup a HTTP Request Defaults and a HTTP Cookie Manager.  
My HTTP Request  does a POST and has Redirect Automatically checked on and
Follow Redirects checked on also.

After Running the Thread Group, The Sampler Result contains:
Thread Name: Thread Group 1-1
Sample Start: Tue Aug 01 16:42:32 PDT 2006
Load time: 16
HTTP response code: 200
HTTP response message: OK

HTTP response headers:
HTTP/1.1 200 OK
Date: Tue, 01 Aug 2006 23:42:32 GMT
Server: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 with
Content-Length: 4009
Content-Type: text/html;charset=ISO-8859-1

And the Request contains
POST http://localhost:7001/RAVEmanage/rm_login.jsp

POST data:

[no cookies]

Request Headers:

AND I am redirected to the login.jsp page.  

Can someone please tell me what I am doing wrong?

Thanks in advance,


View this message in context:
Sent from the JMeter - User forum at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message