You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by krupa <kr...@yahoo.com> on 2006/09/15 22:38:06 UTC

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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Can Jmeter do this?

Posted by "Aycock, Glenn W. (JSC-IS)[TES]" <gl...@nasa.gov>.
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:krupaeng@yahoo.com] 
Sent: Sunday, September 17, 2006 7:56 PM
To: jmeter-user@jakarta.apache.org
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:krupaeng@yahoo.com]
> Sent: Friday, September 15, 2006 3:38 PM
> To: jmeter-user@jakarta.apache.org
> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

--
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Can Jmeter do this?

Posted by krupa <kr...@yahoo.com>.
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:krupaeng@yahoo.com] 
> Sent: Friday, September 15, 2006 3:38 PM
> To: jmeter-user@jakarta.apache.org
> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Can Jmeter do this?

Posted by "Aycock, Glenn W. (JSC-IS)[TES]" <gl...@nasa.gov>.
Try adding a Cookie Manager to your Test Plan. 

-----Original Message-----
From: krupa [mailto:krupaeng@yahoo.com] 
Sent: Friday, September 15, 2006 3:38 PM
To: jmeter-user@jakarta.apache.org
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org