Manually added cookies will be sent if they qualify; same as for cookies sent by the server.
However if you select "clear cookies each iteration" they will only be sent the first time through the main loop. Cookies can be seen in the Tree View Listener. On 13/03/07, robert lazarski <[EMAIL PROTECTED]> wrote:
Ahh, thanks. Is it true that manually added cookies should be sent to the server? Any guess on why they don't seem to be sent by my config as I tried to explain it ? Robert On 3/13/07, sebb <[EMAIL PROTECTED]> wrote: > The Cookie Manager does not show the cookies; only manually added > cookies appear on the screen. > > > On 13/03/07, robert lazarski <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm using JMeter again after a few years. I picked up my old test plan > > and am running 2.2 . For the life of me I can't get cookies to be sent > > to the server or get the cookies received from the login to be picked > > up. I used to be able to do that fine. What I did: > > > > 1) Added a thread group, and to that added the following: > > 2) Added a cookie manager. > > 3) Added a results tree. > > 4) Added an http request with all the right params to login, seems to > > work as I can see a cookie returned and debugging on the server shows > > all is ok. > > > > However, the cookie manager shows no cookies! So I disabled the first > > thread group and added a second. Repeated steps on 1-4, only now the > > http request assumes a login has performed and does a query for data. > > Also, I added the JSESSIONID returned from the first thread groups > > result tree manually to the cookie manager in the second thread group. > > First thread group has threads set to 0, also tried disabling. Using > > wireshark on linux, I can't see the manual cookie I set being sent! > > The request of course has an error, server debug shows no http session > > and the results tree shows a new cookie along with errors. > > > > I'm sure I'm doing something boneheaded, can a kind soul point the > > error of my ways ;-) ? > > > > Thanks, > > Robert > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- 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]

