Have you tried to completely leave the Cookie Manager empty? don't add any
session id parameters.
I assume that you made the Cookie Manager a child of the thread group.

Also, if you add a View Results Tree listener, you should see the request
data for the second request sampler. Check the part that says 'Cookie Data'

Hope that helps,

-H

-----Original Message-----
From: Joe Rice [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 4:00 PM
To: [EMAIL PROTECTED]
Subject: JMeter with Session Scope Struts Actions


I want to create a JMeter test that submits a two part HTTP request.  The 
two part request is set up as two struts actions that share the same session

scope struts form.  The first request takes request parameters and stores 
them in the session.  The second request gets more parameters and uses the 
previous parameters by getting them from the session.  The first request 
works fine.  But I get null values for the values stored in the session for 
the second request.

I have a Cookie Manager in my Thread Group and in both HTTP Requests I pass 
in the parameter jsessionid with a value of .*

I also tried passing in SESSION_ID with a value of .* but neither seem to 
work.

It seems like it's a problem of the second request not seeing the session 
created in the first request.  But I don't know how to fix this.

Thanks,

Joe Rice

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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