Each page of your application may be able to lookup user data from the
session object, which is all occurring on the server side, but the
browser isn't that smart. It's just looking for a session identifier
key/value pair in a cookie or in the URL. I don't think you can use an
object for session management in that context. You must have some form
of session management enabled on your web or application server, so use
the variable provided by the server -- sessionid, jsessionid or similar
(whichever one works) in your HTTP URL Rewriter. I use jsessionid for
ColdFusion and JSP.

Glenn

-----Original Message-----
From: krupa [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 17, 2006 7:56 PM
To: [email protected]
Subject: RE: Can Jmeter do this?


How can a cookie manager help in this situation.

We are not using the cookies for session management. We are using the
URL rewriting mechanism. 

Only difference is instead of  adding every variable to the HTTPSession,
we have a object myuserdata which will hold all the data and every page
looks for a certain property in this object to validate the session.

I need a way to send this object as the HTP URL Rewriting modifier. That
didn't work.

Also I tried adding the cookie manager and that didn't work either.

Thanks,
Krupa

Aycock, Glenn W. (JSC-IS)[TES] wrote:
> 
> Try adding a Cookie Manager to your Test Plan. 
> 
> -----Original Message-----
> From: krupa [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 3:38 PM
> To: [email protected]
> Subject: Can Jmeter do this?
> 
> 
> I am trying to load test my web application using Jmeter.
> 
> In my web app, as soon as a user logs on we create an object called 
> myuserdata and store this object in the session. Every subsequent page

> looks for this object to validate the session.
> 
> In Jmeter, I tried to use HTTP URL rewriting , but that didn't work.
> 
> Is there a way I can tell JMeter to keep passing this object with the 
> every request.
> 
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/Can-Jmeter-do-this--tf2279785.html#a6332807
> Sent from the JMeter - User forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 
> 

--
View this message in context:
http://www.nabble.com/Can-Jmeter-do-this--tf2279785.html#a6356125
Sent from the JMeter - User forum at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to