Hi,

Thanks for your quick response, I can't check now to let you know, but I
will post first thing tomorrow morning when I'm back in front of the code. 
Yeah, it sounds like I'll need that "View Results Tree Listener" in order to
view the cookies since my wireshark isn't working.


Thanks,
Walter

sebb-2-2 wrote:
> 
> On 09/04/2008, walterw <[EMAIL PROTECTED]> wrote:
>>
>>  Hi,
>>
>>  Thanks for your reply.  I believe we have cookies as when I use firefox,
>> I
>>  see cookies for the website.  I read a little on using the Regular
>>  Expression parser and attempted to set it up.  In the next request, I
>> setup
>>  a parameter:
>>
>>  name
>>  jsessionid
>>
>>  value
>>  ${sessionid}
>>
>>  where sessionid is the name I assigned in the regex.
>>
>>  Unfortunately, I do not have wireshark working on that machine entirely
>> to
>>  tell you what it is actually doing.
>>
>>  So, to sum it up again.  I basically can login just fine, but it appears
>>  every http request in the same thread group uses it's own session and
>> does
>>  not take the cookies issued by the server.
>>
> 
> If the server does any redirects, you may need to follow these in
> JMeter, rather than doing auto-redirect.
> 
> You can see what cookies are being sent by JMeter by adding a View
> Results Tree Listener.
> 
> See also:
> 
> http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
> 
>>  Walter
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > On 08/04/2008, walterw <[EMAIL PROTECTED]> wrote:
>>  >>
>>  >>  Hi all,
>>  >>
>>  >>  I am trying to perform a basic test which is very similar to what we
>>  >> have
>>  >>  setup in Selenium.
>>  >>
>>  >>  This is what I have setup so far:
>>  >>  Login
>>  >>   Assert (check that the user was correctly authenticated (Welcome
>> Fred))
>>  >>
>>  >>  Search
>>  >>   after authenticating, perform a basic search at another URL within
>> the
>>  >> site
>>  >>
>>  >>
>>  >>  I have a HTTP Cookie Manager in the thread group; however, it looks
>> like
>>  >> the
>>  >>  sessionid or cookie is not being persisted from the login to search. 
>> Is
>>  >>  there something I'm missing with the setup?
>>  >>
>>  >
>>  > Depends on how the application handles logins - it may not use
>> cookies.
>>  >
>>  > If it uses hidden fields, then you will need to use the Regex
>>  > Extractor to pick up the value, and then use it in the appropriate
>>  > parameter screen.
>>  >
>>  >>
>>  >>  Thanks,
>>  >>  Walter
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/login-and-perform-search-tp16560783p16560783.html
>>  >>  Sent from the JMeter - User mailing list archive 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/login-and-perform-search-tp16560783p16577129.html
>>
>> Sent from the JMeter - User mailing list archive 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/login-and-perform-search-tp16560783p16577624.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to